Removed repetition
Browse files
app.py
CHANGED
@@ -135,14 +135,14 @@ df["Timestamp"] = pd.to_datetime(df["Timestamp"])
|
|
135 |
* Frequency of data is daily.
|
136 |
* Number of stations in a city is determined by finding the unique stations in the dataset along with their city
|
137 |
* `pollution` generally means `PM2.5`.
|
138 |
-
* `pollution` generally means `PM2.5`.
|
139 |
* PM2.5 guidelines: India: 60, WHO: 25.
|
140 |
* PM10 guidelines: India: 100, WHO: 50.
|
141 |
* You already have df, so don't read the csv file
|
142 |
* Don't print, but save result in a variable `answer` and make it global.
|
|
|
143 |
* If result is a plot make it in tight layout, save it and save path in `answer`. Example: `answer='plot.png'`
|
144 |
* If result is not a plot, save it as a string in `answer`. Example: `answer='The city is Mumbai'`
|
145 |
-
* If
|
146 |
* If result is a plot, show the India and WHO guidelines in the plot.
|
147 |
* Whenever you do an aggregation, do it via mean and report the standard deviation and standard error, report the number of data points.
|
148 |
* Whenever you're reporting a floating point number, round it to 2 decimal places.
|
|
|
135 |
* Frequency of data is daily.
|
136 |
* Number of stations in a city is determined by finding the unique stations in the dataset along with their city
|
137 |
* `pollution` generally means `PM2.5`.
|
|
|
138 |
* PM2.5 guidelines: India: 60, WHO: 25.
|
139 |
* PM10 guidelines: India: 100, WHO: 50.
|
140 |
* You already have df, so don't read the csv file
|
141 |
* Don't print, but save result in a variable `answer` and make it global.
|
142 |
+
* Unless explicitly mentioned, don't consider the result as a plot.
|
143 |
* If result is a plot make it in tight layout, save it and save path in `answer`. Example: `answer='plot.png'`
|
144 |
* If result is not a plot, save it as a string in `answer`. Example: `answer='The city is Mumbai'`
|
145 |
+
* If result is not a plot, return a csv file containing the data and the corresponding answer, as well as the data samples used
|
146 |
* If result is a plot, show the India and WHO guidelines in the plot.
|
147 |
* Whenever you do an aggregation, do it via mean and report the standard deviation and standard error, report the number of data points.
|
148 |
* Whenever you're reporting a floating point number, round it to 2 decimal places.
|