Spaces:
Sleeping
Sleeping
| def true_code(): | |
| import pandas as pd | |
| df = pd.read_csv("raw_data/main_data.csv") | |
| df['Timestamp'] = pd.to_datetime(df['Timestamp']) | |
| data = df[(df['Timestamp'].dt.month == 6) & (df['Timestamp'].dt.day == 5) & (df['Timestamp'].dt.year == 2020)].groupby('station')['PM2.5'].min().idxmin() | |
| print(data) | |
| true_code() |