Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select_by: snake_case and typehints (refer issue #53) #60

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Adding visualization using plotly
Tanvi-Jain01 committed Jun 30, 2023

Verified

This commit was signed with the committer’s verified signature.
commit d7d2e6bdfaacfa2b4e12b772fecaa701403eb497
2 changes: 1 addition & 1 deletion vayu/timePlot.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ def timePlot(df, year, pollutants=["pm25", "pm10"]):
import matplotlib as mpl
import matplotlib.pyplot as plt
import plotly.graph_objects as go

# Cuts the df down to the month specified
df.index = pd.to_datetime(df.date)
df_n_1 = df[(df.index.year == int(year))]