Adds requirements.txt

This commit is contained in:
procrastimax 2023-06-18 15:03:41 +02:00
parent 2c50cc9b72
commit 2684b4b8c7
2 changed files with 7 additions and 1 deletions

View file

@ -20,7 +20,7 @@ count_tweets = tweets_all_combined["tweet_id"].value_counts().shape[0]
count_police_accounts = tweets_all_combined["user_id"].value_counts().shape[0]
date_first_tweet = datetime.strptime(tweets_all_combined['created_at'].min(), date_format_str)
date_last_tweet = datetime.strptime(tweets_all_combined['created_at'].max(), date_format_str)
day_diff = (date_last_tweet-date_first_tweet).days
day_diff = (date_last_tweet - date_first_tweet).days
def hr_func(ts):