Skip to content
Snippets Groups Projects
Commit c2d4491b authored by Oliver's avatar Oliver
Browse files

AQ files to PM10

parent faa80268
Branches
No related tags found
No related merge requests found
File moved
File moved
File moved
......@@ -19,10 +19,10 @@ air_quality_readings['value'] = air_quality_readings['value'].astype(float)
air_quality_readings = air_quality_readings.set_index(["sample_datetime"])
max_readings = air_quality_readings.groupby(['sp_name']).max()
max_readings.to_csv(path_or_buf = "2016_MAX_1HR_READING.csv")
max_readings.to_csv(path_or_buf = "PM10_MAX_1HR_READING.csv")
max_24HR = air_quality_readings.groupby(["sp_name"]).resample("D").mean().groupby(["sp_name"]).max()
max_24HR.to_csv(path_or_buf = "2016_MAX_24HR_READING.csv")
max_24HR.to_csv(path_or_buf = "PM10_MAX_24HR_READING.csv")
average = air_quality_readings.groupby(["sp_name"]).mean()
average.to_csv(path_or_buf = "2016_AV_READING.csv")
\ No newline at end of file
average.to_csv(path_or_buf = "PM10_AV_READING.csv")
\ No newline at end of file
sp_name,LGA_CODE
sp_name,LGA_CODE_2011
Alphington,21890
Brooklyn,23110
Dandenong,22670
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment