ruff: enable ICN and PD rules

This commit is contained in:
Dima Gerasimov 2024-08-28 03:09:32 +01:00
parent bf96ca7d38
commit caa72aadf1
3 changed files with 7 additions and 3 deletions

View file

@ -83,7 +83,7 @@ def make_dataframe(data: Iterator[Result]):
}
df = pd.DataFrame(it())
df.set_index('dt', inplace=True)
df = df.set_index('dt')
# TODO not sure about UTC??
df.index = pd.to_datetime(df.index, utc=True)
return df