Skip to content

Instantly share code, notes, and snippets.

@andrea-dagostino
Created October 8, 2022 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrea-dagostino/930e70a90b367c2dfcb0560827bec39a to your computer and use it in GitHub Desktop.
Save andrea-dagostino/930e70a90b367c2dfcb0560827bec39a to your computer and use it in GitHub Desktop.
fuzzy_logic_tagging
# upload the dataset and isolate posts
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