fixes #4 - adds modular analyses system using plugins
This commit is contained in:
@@ -135,8 +135,4 @@ class Scraper:
|
||||
|
||||
def stop_scraping(self):
|
||||
self.scraping_active = False
|
||||
logger.debug("Scraping stopped by user")
|
||||
|
||||
def generate_statistics(df):
|
||||
df['hour'] = df['timestamp'].dt.hour # No need to convert timestamp again
|
||||
return df.groupby('hour').size() # Activity by hour
|
||||
logger.debug("Scraping stopped by user")
|
||||
Reference in New Issue
Block a user