GuglielmoTor commited on
Commit
b04a538
·
verified ·
1 Parent(s): 24e158f

Update data_processing/clickable_plot_module.py

Browse files
data_processing/clickable_plot_module.py CHANGED
@@ -100,7 +100,7 @@ def generate_impressions_scatter_plot_data(df, date_column='published_at', value
100
 
101
 
102
  # Select only the columns needed for the gr.ScatterPlot component
103
- scatter_df = df_copy[['date', 'impressions', 'label']]
104
 
105
  logging.info(f"Generated scatter plot data with {len(scatter_df)} points and a map with {len(post_details_map)} entries.")
106
  return scatter_df, post_details_map
 
100
 
101
 
102
  # Select only the columns needed for the gr.ScatterPlot component
103
+ scatter_df = df_copy[['date', 'impressions']]
104
 
105
  logging.info(f"Generated scatter plot data with {len(scatter_df)} points and a map with {len(post_details_map)} entries.")
106
  return scatter_df, post_details_map