Skip to content

Instantly share code, notes, and snippets.

@andrea-dagostino
Created October 8, 2022 13:40
Show Gist options
  • Save andrea-dagostino/e36fa89f9f562c4c84592f329ba1ed88 to your computer and use it in GitHub Desktop.
Save andrea-dagostino/e36fa89f9f562c4c84592f329ba1ed88 to your computer and use it in GitHub Desktop.
fuzzy_logic_tagging
# carichiamo un dataset e isoliamo i post
df = pd.read_csv('dataset.csv')
posts = df[df.url.str.contains('post')]
posts.reset_index(inplace=True, drop=True)
articles = list(posts.article)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment