,question,train_code
0,Determine which city was granted the 4th lowest NCAP funding considering its average PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1,Report the station that had the highest average PM10 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2,Which state possessed the 2nd lowest 75th percentile for PM2.5 in the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
3,"Identify the station with the second-highest average PM10 concentration on January 5, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
4,"In May 2022, report the station with the highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
5,How many times did Chandigarh go above 45 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
6,Which city with NCAP funding shows the 3rd lowest PM10 concentration?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
7,"For November 2020 compared to November 2019, which city registered the highest increase in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
8,"Comparing December 2018 to October 2018, which state showed the third least significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
9,"Taking all years into account, which September was associated with the third-highest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
10,How many stations in Tamil Nadu went above 75 µg/m³ of PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
11,Identify the station that registered the second highest median PM10 level overall.,"
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
12,What number of Odisha stations surpassed 90 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
13,Determine the station exhibiting the 2nd highest average PM2.5 over the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
14,"In December 2023, which state registered the highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
15,Identify the station that showed the second lowest 25th percentile of PM2.5 during the Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
16,Which state with NCAP funding exhibits the 2nd highest PM10 concentration?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
17,"Which station showed the highest 75th percentile for PM10 on March 31, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
18,Report the station that had the 3rd lowest 25th percentile of PM2.5 in April 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
19,Which city had the 2nd highest average PM2.5 in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
20,"Considering all years, which March had the highest 25th percentile for PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
21,How many times did Madhya Pradesh go above the Indian guideline for PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
22,How many times did Bangalore city exceed 30 µg/m³ of PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
23,"On January 5, 2019, which city experienced the third-highest average PM10 reading?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
24,Report the state with the 3rd lowest average PM2.5 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
25,Determine the city with the lowest average PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
26,Which city registered the 2nd lowest 75th percentile of PM10 during November 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
27,How many times did Maihar city exceed 75 µg/m³ of PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
28,Report the state with the 2nd highest average PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
29,Determine the state that recorded the 2nd most minimal 25th percentile of PM2.5 over the Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
30,Which city had the 3rd lowest 75th percentile of PM10 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
31,"In May 2023, identify the city with the 2nd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
32,Which station noted the 3rd minimum 25th percentile of PM2.5 during the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
33,"Report the union territory having the second largest population among the top 4 most polluted union territories, when pollution is measured by standard deviation of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
34,Which station recorded the 3rd lowest 75th percentile of PM10 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
35,Which state displayed the 3rd highest average PM2.5 in September 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
36,Which weekday in 2020 was linked to the third-highest average PM10 pollution levels?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
37,Report the station with the lowest average PM10 in April 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
38,Identify the state that recorded the second highest 25th percentile of PM2.5 during the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
39,Which state registered the peak median PM2.5 in the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
40,How many times did Karnataka surpass the WHO guideline for PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
41,Which state ranked as the least polluted regarding per capita PM10 exposure in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
42,Report the state having the 5th highest NCAP funding considering its median PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
43,"In January 2020, which city exhibited the 3rd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
44,Identify the state with the 2nd highest median PM10 for May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
45,Name the state with the lowest 25th percentile for PM2.5 in March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
46,Report the state with the 2nd lowest average PM2.5 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
47,"On March 31, 2019, which city recorded the second-highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
48,Determine the state exhibiting the 3rd most minimal average PM2.5 over the Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
49,"Which state showed the second-lowest 75th percentile for PM2.5 on March 31, 2023?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
50,"In July 2020, identify the station with the highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
51,Which state registered the 3rd maximum average PM10 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
52,Report which state possessed the peak average PM2.5 throughout the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
53,"For May 2020 compared to May 2019, which city registered the highest increase in the 75th percentile of PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
54,Determine the city with the 3rd highest median PM10 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
55,Which city had the lowest average PM10 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
56,Which station recorded the 3rd highest average PM10 in January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
57,Which station registered the 2nd highest 25th percentile of PM10 during December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
58,Report which state possessed the third highest 25th percentile of PM2.5 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
59,Identify the city with the 3rd lowest 75th percentile of PM10 for March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
60,Which station displayed the lowest average PM2.5 in April 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
61,Which state registered the minimum 25th percentile of PM2.5 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
62,Which station had the 2nd lowest 75th percentile of PM10 in May 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
63,Report which station registered the most minimal median PM10 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
64,"In 2024, which station ranked with the second smallest decrease in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
65,"Identify the station that recorded the second highest PM2.5 level on January 27, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
66,Identify the station with the 3rd lowest average PM10 in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
67,"In 2018, which state ranked with the second largest decrease in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
68,"In 2024, which state will rank with the smallest reduction in median PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
69,"For the period October to December 2020, which city had the second smallest decrease in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
70,Find a week exhibiting Parbhani's 3rd minimum PM10 levels for all specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Parbhani'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
71,"Which city showed the second-highest median PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
72,How many times did Sangli city surpass the Indian guideline for PM10 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
73,"For April 2020 compared to April 2019, which station registered the highest increase in its 25th percentile PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
74,Determine the station with the 2nd highest 75th percentile of PM10 in April 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
75,Identify the station that showed the highest rise in median PM10 levels from November 2019 to November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
76,Report which city experienced the 2nd most minimal median PM10 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
77,Which city experienced the highest median for PM10 in the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
78,Identify the city that recorded the highest average PM2.5 value in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
79,Identify the city with the 2nd highest 25th percentile of PM2.5 for February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
80,Report the city with the 3rd highest average PM2.5 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
81,Identify the state with the 3rd highest median PM2.5 for April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
82,Which station had the highest median PM2.5 in May 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
83,Determine the city exhibiting the 2nd lowest average PM10 in October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
84,Report the station with the lowest 25th percentile of PM10 in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
85,Report the city with the 2nd highest 25th percentile of PM2.5 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
86,"On March 31, 2019, which station had the minimum median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
87,"In November 2023, report the city with the 3rd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
88,Which station registered the 3rd lowest 75th percentile of PM10 during April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
89,Determine the station exhibiting the 3rd lowest 75th percentile of PM2.5 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
90,Determine the city that recorded the 3rd highest 25th percentile of PM10 over the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
91,Identify the state that saw the third least significant fall in 75th percentile PM10 levels when comparing December 2022 to October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
92,Identify the weekday in 2022 that registered the highest 25th percentile of PM10 pollution levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
93,"Which state (excluding UTs) possesses the 2nd largest population within the top 5 most polluted states, determined by variance of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
94,Report the city with the 3rd lowest median PM10 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
95,"Identify the state with the highest 75th percentile for PM10 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
96,Identify the union territory possessing the 3rd lowest 75th percentile of PM10 concentration when considering population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
97,Report the state with the 3rd highest 75th percentile of PM10 in September 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
98,Identify the state with the lowest 25th percentile of PM2.5 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
99,"In January 2019, identify the state with the 2nd lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
100,"Considering 2020, what week number displayed the lowest average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
101,"For the year 2020, which week had the third-lowest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
102,"In May 2020, report the city with the 2nd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
103,"Which station experienced the second-highest PM2.5 values on January 14, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
104,"Which state registered the third-highest average PM2.5 reading on January 5, 2023?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
105,"Considering all years, which October showed the minimum median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
106,Determine the station with the third-lowest median PM2.5 in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
107,Identify the state with the highest average PM10 for October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
108,"Which station showed the second-highest average PM2.5 on March 31, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
109,"In January 2023, identify the station with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
110,"In December 2020, which city registered the lowest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
111,Identify the city that registered the second most minimal PM2.5 level on 27 January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
112,"In May 2024, report the city with the 3rd highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
113,What count of Kerala stations went above the Indian guideline for PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
114,"For 2018, identify the season (Winter, Summer, Monsoon, Post-Monsoon) with the second-highest median PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
115,Which state registered the 3rd highest 75th percentile of PM10 during June 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
116,"Which union territory possesses the highest land area among the top 4 most polluted union territories, based on median PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
117,How many times did Mira-Bhayandar city exceed 75 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
118,"On March 31, 2023, which state had the second-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
119,"In 2023, which state will rank with the third largest reduction in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
120,Which station recorded the minimum 75th percentile of PM2.5 during the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
121,How many times did Bangalore city go above 45 µg/m³ of PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
122,Which city recorded the highest 75th percentile for PM10 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
123,"In 2021, which season (Winter, Summer, Monsoon, Post-Monsoon) was associated with the minimum 25th percentile of PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'season'}}]
"
124,Identify the state that recorded the 2nd highest 75th percentile of PM10 value in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
125,Identify the state possessing the highest 25th percentile of PM2.5 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
126,Identify the station that saw the second most significant fall in average PM2.5 levels when comparing December 2021 to October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
127,Which city had the 3rd lowest average PM10 in January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
128,"Taking all years into account, which March was associated with the maximum average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
129,Report the city that had the 3rd highest average PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
130,Determine the station with the 3rd lowest median PM2.5 in November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
131,Which station showed the second-highest median PM2.5 in July 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
132,Report the state that had the 3rd lowest 75th percentile of PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
133,"On March 31, 2024, which station had the second-lowest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
134,How many times did Suakati city go above the WHO guideline for PM10 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
135,Identify the city with the lowest 75th percentile of PM2.5 for June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
136,Report which city registered the third lowest PM2.5 level on 27 January 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
137,Which city possessed the 2nd lowest median for PM10 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
138,Determine the station with the highest 75th percentile of PM10 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
139,"On January 5, 2023, which state showed the minimum average PM10 reading?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
140,Which city showed the 3rd highest average for PM10 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
141,Name the city that was second in terms of highest 75th percentile for PM10 in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
142,Determine the city exhibiting the 2nd highest 75th percentile of PM10 over the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
143,Which station had the third-lowest average PM2.5 in December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
144,"In October 2019, identify the state with the 2nd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
145,Which city experienced the highest median for PM10 in the Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
146,Identify the city with the 3rd lowest 25th percentile of PM10 for June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
147,What date over the last three years noted Chhal's highest PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
148,Report the state with the highest 75th percentile of PM2.5 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
149,Identify the station that recorded the 2nd lowest average PM10 value in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
150,Report the station with the 3rd lowest average PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
151,Report the state with the 2nd highest average PM2.5 in May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
152,Which state had the 2nd highest 75th percentile of PM10 in September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
153,"On January 27, 2023, which city had the peak PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
154,Which state exhibited the second smallest decrease in its 25th percentile PM2.5 levels between October and December of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
155,Which station registered the lowest median PM10 during October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
156,Which city had the 3rd highest median PM2.5 in October 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
157,Which state showed the 2nd highest median for PM10 in the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
158,Identify the city that recorded the lowest 25th percentile of PM2.5 value in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
159,Which city got the 5th highest NCAP funding considering its 25th percentile of PM10 concentration in 2022 (FY 2021-22)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
160,Identify the state with the 2nd lowest average PM10 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
161,Report the city with the lowest 75th percentile of PM2.5 in April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
162,Determine the state that recorded the maximum average PM2.5 across all time.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
163,Identify the state that saw the least significant fall in average PM10 levels when comparing December 2019 to October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
164,On which date in the last two years did Chennai record its 3rd highest PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
165,"Which state (excluding Union Territories) possesses the 3rd largest land area among the top 10 most polluted states, based on total PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
166,"In 2020, which state will rank with the smallest reduction in 25th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
167,Determine the station exhibiting the peak 25th percentile of PM2.5 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
168,Which station possessed the 2nd lowest 75th percentile for PM2.5 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
169,"Amidst the COVID-19 lockdown in April 2020, which city showed the second-lowest PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
170,How many times did Kerala surpass 75 µg/m³ of PM2.5 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
171,Identify a year in which Durgapur experienced its best air quality from 2018-2024.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
172,Report the city with the 3rd lowest average PM2.5 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
173,Which state had the lowest 25th percentile of PM10 in January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
174,"In February 2018, identify the station with the highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
175,Which state had the highest median PM2.5 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
176,"On January 27, 2021, which city had the second most minimal PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
177,On which date in the previous five years did Palwal record its 3rd minimum PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
178,How many times did Naharlagun city exceed the WHO guideline for PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
179,Which city possessed the 3rd highest average for PM10 in the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
180,Which state registered the 2nd highest 75th percentile of PM2.5 during May 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
181,"Identify the city that experienced the lowest PM10 measurements on January 14, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
182,"In 2022, which weekday was associated with the second-highest median PM10 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
183,"On March 31, 2023, which station recorded the second-lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
184,Identify the state that registered the third highest median PM2.5 during the Winter season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
185,Identify the city with the 3rd lowest median PM2.5 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
186,How many stations in Kashipur exceeded 30 µg/m³ of PM10 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
187,"For the period October to December 2020, which city had the second smallest decrease in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
188,Which state registered the 2nd lowest average PM2.5 during November 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
189,Report which state possessed the 2nd highest 75th percentile of PM10 throughout the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
190,"On March 31, 2022, which state recorded the third-lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
191,"Over all years, which December had the third-lowest average PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
192,Which station displayed the lowest 25th percentile of PM10 in August 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
193,Report the state that had the highest 75th percentile of PM2.5 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
194,"During 2022, determine the week number that showed the second-highest median PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
195,Identify the state with the lowest median PM2.5 for December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
196,Which city showed the second highest median PM2.5 level historically?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
197,Determine the state that showed the 3rd highest 75th percentile of PM2.5 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
198,Identify the state that registered the peak median PM10 during the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
199,Determine the station with the lowest median PM2.5 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
200,Identify the city with the lowest median PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
201,Report which state possessed the third highest median PM10 throughout the Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
202,"Which union territory has the largest land area among the top 2 most polluted union territories, according to the standard deviation of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
203,Identify the state that recorded the 3rd highest median PM10 value in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
204,"On March 31, 2023, which city recorded the second-highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
205,Report the city with the 2nd highest NCAP funding considering the variance of its PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
206,Determine which city got the 2nd lowest NCAP funding with respect to its 75th percentile of PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
207,"Which city had the peak PM2.5 measurements on January 14, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
208,Which city registered the 2nd minimum 25th percentile of PM10 during the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
209,Determine the state exhibiting the 2nd lowest median PM2.5 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
210,Identify the city that received the 2nd lowest NCAP funding relative to the standard deviation of its PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
211,Identify the state exhibiting the peak median PM10 during the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
212,"During 2024, which weekday saw the third-highest 75th percentile of PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
213,"On March 31, 2018, which city recorded the third-lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
214,Identify the city with the 3rd highest 75th percentile of PM2.5 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
215,"In 2021, which day of the week corresponded to the third-lowest average PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
216,Determine the station that recorded the 3rd lowest median PM10 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
217,Identify the city that received the 2nd lowest NCAP funding relative to its 25th percentile of PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
218,"Comparing December 2022 to October 2022, which state showed the second most significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
219,Which state exhibited the highest 25th percentile for PM10 during August 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
220,"In 2022, which city will rank with the smallest reduction in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
221,Report the state with the 5th highest NCAP funding considering the standard deviation of its PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
222,"On August 15, 2019, which city registered the third-highest PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
223,"In 2018, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the second-lowest median PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
224,"Considering all years, which January had the third-lowest median PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
225,Which city registered the peak median PM10 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
226,Identify a week showing Kurukshetra's 3rd maximum PM2.5 levels across the specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kurukshetra'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
227,"Comparing August 2019 with August 2020, which state showed the largest increase in its 25th percentile PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
228,Report the state that had the 2nd highest 25th percentile of PM2.5 in April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
229,Which state showed the 2nd highest 25th percentile for PM10 in the Winter season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
230,Calculate the average PM2.5 level on Fridays in Andhra Pradesh.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}}]
"
231,"Comparing December 2021 to October 2021, which state showed the most significant drop in median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
232,Determine the city with the 2nd highest 75th percentile of PM2.5 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
233,Report the state exhibiting the 5th lowest average PM2.5 concentration normalized by population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
234,"Which union territory with a land area greater than 1,000 km² shows the 2nd lowest PM2.5 level, based on its standard deviation of PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
235,"Identify the city that recorded the third most minimal PM10 level on January 27, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
236,Report which station possessed the lowest median PM2.5 throughout the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
237,"Which state (excluding Union Territories) has the largest land area among the top 5 most polluted states, according to the 75th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
238,Determine which city got the 3rd lowest NCAP funding with respect to its average PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
239,"Over all years, which May was associated with the second-highest median PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
240,Which city noted the 3rd maximum average PM10 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
241,Identify the station exhibiting the third highest 75th percentile of PM2.5 during the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
242,Report the station that had the lowest 75th percentile of PM2.5 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
243,"Identify the state that showed the second-highest PM2.5 readings on January 14, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
244,"Which state with a land area below 50,000 km² shows the 5th highest PM10 level, according to its 25th percentile PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
245,Which station had the 3rd highest 75th percentile of PM10 in April 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
246,Determine the city that recorded the maximum 75th percentile for PM2.5 ever.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
247,Identify the weekday in 2019 that registered the third-lowest average PM2.5 pollution levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
248,How many times did Mandideep city go above 30 µg/m³ of PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
249,Report the city with the 2nd highest median PM10 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
250,Report the station with the highest median PM2.5 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
251,Which station experienced the third most significant drop in its 75th percentile PM10 levels between October and December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
252,"Considering all years, which March experienced the third-highest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
253,Which city had the 2nd lowest average PM10 in January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
254,Find the state with the third-lowest average PM2.5 reading for June 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
255,How many times did Uttar Pradesh surpass 45 µg/m³ of PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
256,"Across all recorded years, which September was associated with the third-highest 75th percentile of PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
257,Report the city with the 3rd lowest NCAP funding considering its 25th percentile of PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
258,"In February 2020, identify the state with the 2nd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
259,Report which city possessed the third highest average PM2.5 throughout the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
260,Identify the state with the 3rd lowest 25th percentile of PM10 for March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
261,Which state had the highest average PM2.5 in March 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
262,Report the station with the 2nd lowest median PM2.5 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
263,"Over the past five years in Bilaspur, on which date was the PM2.5 level the third lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
264,How many times did Madhya Pradesh exceed the WHO guideline for PM2.5 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
265,Which state recorded the 2nd highest 75th percentile of PM10 in June 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
266,Which station registered the highest median PM10 during September 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
267,Report the city that had the 3rd lowest 75th percentile of PM10 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
268,"Considering 2020, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the second-lowest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
269,Identify the city that recorded the 2nd highest average PM2.5 value in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
270,Which station registered the 3rd highest 75th percentile of PM2.5 during October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
271,Determine the station that showed the 2nd highest 25th percentile of PM10 over the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
272,Determine the city showing the highest 75th percentile of PM10 for April 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
273,Which city displayed the lowest 25th percentile of PM2.5 in October 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
274,Find a week exhibiting Jalore's maximum PM2.5 levels for all specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jalore'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
275,Identify the station that showed the second highest average PM10 during the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
276,Which state had the highest average PM10 in June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
277,Which city recorded the lowest 25th percentile of PM2.5 in August 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
278,Report the state ranking 3rd highest in pollution from per capita PM10 exposure for 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
279,Determine the station exhibiting the highest 25th percentile of PM2.5 in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
280,Identify the station that saw the third least significant fall in 25th percentile PM10 levels when comparing December 2024 to October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
281,Report which city possessed the peak median PM10 throughout the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
282,"Which state with a land area below 50,000 km² shows the minimum PM2.5 level, according to its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
283,Which city had the highest median PM10 in September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
284,"Which union territory possesses the smallest land area among the top 4 most polluted union territories, based on the variance of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
285,Name the city that was second in terms of highest average PM2.5 for June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
286,Identify the city that registered the second highest 25th percentile for PM2.5 across all time.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
287,Identify the station with the 3rd highest median PM2.5 for August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
288,Determine the station with the minimum 25th percentile for PM2.5 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
289,Identify the station with the lowest 75th percentile of PM10 for July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
290,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the second-highest 25th percentile of PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
291,"Which state (excluding Union Territories) has the 3rd highest land area among the top 3 most polluted states, according to median PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
292,Identify the city that recorded the 3rd highest median PM2.5 value in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
293,"On January 27, 2018, which state showed the third highest PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
294,How many times did Gujarat exceed the Indian guideline for PM2.5 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
295,"Report which station had the third lowest PM10 level on January 27, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
296,Identify the city with the 2nd lowest median PM2.5 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
297,Report the state with the lowest median PM10 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
298,Which station recorded the 3rd lowest 75th percentile of PM10 in the Winter season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
299,Determine the city showing the second highest PM2.5 level on 27 January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
300,Report which city possessed the 2nd most minimal 75th percentile of PM10 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
301,Which state registered the 3rd minimum 25th percentile of PM10 during the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
302,Report the city that had the 3rd highest average PM2.5 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
303,"In March 2018, which station exhibited the 2nd lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
304,Report the city with the 2nd lowest median PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
305,"On August 15, 2021, which state experienced the minimum PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
306,Determine the state with the 2nd lowest median PM2.5 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
307,Which state recorded the minimum 25th percentile of PM10 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
308,Identify the city that recorded the third highest 75th percentile of PM2.5 during the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
309,Identify the state with the lowest 75th percentile of PM10 for February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
310,How many times did Latur city exceed 30 µg/m³ of PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
311,Report the city that had the 2nd lowest average PM2.5 in September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
312,"On March 31, 2021, which state recorded the second-lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
313,Which station recorded the 3rd lowest average PM10 in April 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
314,"In August 2020, identify the station with the 3rd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
315,Which year is linked to the highest recorded average PM10 level?,"
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
316,Which station had the 2nd highest 75th percentile of PM2.5 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
317,Report which state possessed the third lowest median PM10 throughout the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
318,How many times did Ernakulam city go above the WHO guideline for PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
319,Determine the station with the lowest 25th percentile of PM10 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
320,"Identify the season in 2021 (Winter, Summer, Monsoon, Post-Monsoon) that registered the third-highest median PM10 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'season'}}]
"
321,"Which season in 2024 (Winter, Summer, Monsoon, Post-Monsoon) was linked to the third-lowest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
322,Which station exhibited the second smallest decrease in its average PM10 levels between October and December of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
323,Which station experienced the highest 25th percentile for PM10 in the Winter season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
324,"In July 2023, identify the station with the lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
325,How many stations in Mizoram went above 30 µg/m³ of PM10 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
326,Identify the city that received the 2nd highest NCAP funding relative to its total PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
327,Report the state that had the lowest average PM2.5 in May 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
328,"In October 2021, which state registered the 3rd highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
329,"In October 2018, which city registered the 3rd lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
330,"Comparing December 2020 to October 2020, which city showed the second most significant drop in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
331,Determine the city exhibiting the 2nd most minimal median PM10 over the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
332,Report the station with the 2nd lowest average PM10 in July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
333,Identify the state with the 3rd highest 75th percentile of PM2.5 for September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
334,"Identify the city with the third-lowest 25th percentile for PM10 on March 31, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
335,"On January 5, 2023, which state recorded the second-highest average PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
336,Which state possessed the lowest 75th percentile for PM10 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
337,Determine the state that was second in terms of highest average PM10 for March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
338,"In January 2018, report the state with the 3rd lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
339,"Report which state documented the second highest PM2.5 level on January 27, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
340,"On March 31, 2019, which station had the third-highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
341,Which station had the 2nd highest 25th percentile of PM2.5 in April 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
342,"In September 2023, identify the state with the 2nd highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
343,Report which city experienced the third highest average PM2.5 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
344,Determine the station that showed the 2nd lowest average PM10 over the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
345,Which station registered the minimum 75th percentile of PM10 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
346,"In July 2019, which city registered the highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
347,Identify the city which received the 4th highest NCAP funding amount.,"
[]
"
348,"Which state showed the third-lowest average PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
349,Identify the city with the 2nd lowest 75th percentile of PM2.5 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
350,Report the station that had the lowest 75th percentile of PM10 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
351,Report the state that had the lowest average PM2.5 in February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
352,Which station experienced the lowest 75th percentile for PM2.5 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
353,"Which union territory exhibits the 3rd lowest PM10 concentration per square kilometer, based on the variance of PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
354,Report the station that had the 3rd lowest 25th percentile of PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
355,Which state had the 3rd lowest median PM10 in March 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
356,Identify the station with the 3rd lowest 75th percentile of PM10 in October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
357,Identify the city that recorded the 2nd highest 25th percentile of PM10 value in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
358,Identify the city exhibiting the peak average PM2.5 during the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
359,"Identify the state (excluding UTs) with the 3rd smallest population among the top 10 most polluted states, based on average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
360,"Which city recorded the third-lowest average PM10 concentration on January 5, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
361,Determine the state with the highest 75th percentile PM2.5 value in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
362,"In 2024, which city will rank with the largest reduction in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
363,Identify the state that registered the second most minimal average PM10 historically.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
364,Determine the station exhibiting the lowest median PM2.5 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
365,"Report the state (excluding UTs) having the 3rd largest population within the top 5 most polluted states, when pollution is measured by median PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
366,"In August 2022, which city registered the highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
367,Determine the city exhibiting the 3rd highest median PM10 over the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
368,Determine which station exhibited the 2nd lowest 75th percentile of PM10 over the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
369,"On January 5, 2024, which city had the second-highest average PM10 reading?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
370,Report the state that had the 2nd lowest average PM10 in July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
371,Determine the station exhibiting the 2nd highest median PM10 over the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
372,"Taking all years into account, which November was associated with the third-highest 75th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
373,Identify the city that saw the most significant fall in median PM10 levels when comparing December 2022 to October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
374,Identify the state that registered the third most minimal PM2.5 level on 27 January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
375,"On March 31, 2020, which station had the second-lowest 75th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
376,Identify the state that registered the third lowest median PM10 during the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
377,"On January 14, 2023, which city experienced the second-highest PM10 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
378,Determine the station exhibiting the highest 25th percentile of PM10 in June 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
379,Determine the state which was granted the lowest NCAP funding considering its median PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
380,Which city registered the 3rd lowest median PM10 during February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
381,"For Cuttack, what date in the last two years had the third-highest PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
382,Find the state with the third-most minimal 25th percentile of PM2.5 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
383,"In August 2019, report the city with the 3rd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
384,Which city had the lowest 75th percentile of PM10 in March 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
385,Determine the state exhibiting the 3rd lowest 25th percentile of PM10 over the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
386,"Considering all years, which September was associated with the third-lowest average PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
387,Determine the least polluted union territory concerning per capita PM10 exposure in 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
388,Report the city with the 4th lowest NCAP funding relative to the variance of its PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
389,Identify the city exhibiting the 2nd lowest 25th percentile of PM2.5 during the Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
390,Which station registered the 2nd maximum 25th percentile of PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
391,Which station had the lowest 75th percentile of PM10 in January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
392,Which station recorded the peak average PM2.5 during the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
393,"Identify the station with the second-lowest 75th percentile for PM2.5 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
394,"Which state (excluding Union Territories) has the 2nd minimum land area among the top 5 most polluted states, according to the 75th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
395,"In 2018, which week of the year corresponded to the third-lowest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
396,"In 2024, which day of the week corresponded to the second-highest median PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
397,Which city had the second-lowest mean PM10 reading for November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
398,"On March 31, 2024, which state recorded the minimum median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
399,Identify the station that registered the second-highest average PM2.5 in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
400,Determine the state exhibiting the 3rd highest median PM2.5 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
401,"In March 2018, which city recorded the 3rd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
402,Which city shows the 5th smallest difference between allocated NCAP funding and its actual use by June 2022?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'Difference'}}, {'op': 'SORT', 'params': {'col': 'Difference', 'ascending': True}}]
"
403,"For the period October to December 2022, which station had the third largest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
404,How many stations in Andhra Pradesh exceeded 75 µg/m³ of PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
405,Which station had the 2nd highest median PM10 in May 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
406,How many times did Barrackpore city go above 30 µg/m³ of PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
407,"During 2024, which week saw the second-highest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
408,Which state received the 2nd lowest NCAP funding relative to the standard deviation of its PM10 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
409,"In Hubballi, which date in the previous five years showed the second-lowest PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
410,Determine the station with the 2nd lowest average PM2.5 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
411,How many times did Sonipat city surpass the WHO guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
412,Which state recorded the 3rd lowest 25th percentile of PM10 in July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
413,Identify the city that recorded the 3rd lowest 25th percentile of PM10 value in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
414,What date during the last four years showed Baghpat's 2nd highest PM10 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
415,Which city recorded the peak 75th percentile of PM10 during the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
416,Report which state documented the third lowest average PM2.5 of all time.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
417,Report which state possessed the 2nd highest 25th percentile of PM2.5 throughout the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
418,Determine the city that showed the 3rd highest 75th percentile of PM10 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
419,"In May 2024, report the state with the 2nd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
420,"Which state showed the second-lowest average PM10 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
421,Which station had the 3rd highest median PM10 in July 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
422,Which state got the 4th lowest NCAP funding considering its 75th percentile of PM10 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
423,Which city recorded the lowest average PM2.5 value in February 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
424,Which state recorded the highest average PM10 concentration for April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
425,"In July 2018, identify the station with the 3rd highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
426,Determine the city that showed the lowest 75th percentile of PM10 over the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
427,Identify the city that registered the most minimal 25th percentile of PM10 during the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
428,Which city recorded the peak 25th percentile of PM10 during the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
429,Determine a week with Gwalior's 2nd lowest PM2.5 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
430,Identify the city that received the 4th lowest NCAP funding relative to the variance of its PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
431,Which state recorded the 2nd lowest 25th percentile of PM10 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
432,Determine the state with the 3rd lowest 75th percentile of PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
433,Which city registered the 3rd lowest 75th percentile of PM10 during the Winter season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
434,"Which state (excluding Union Territories) exhibits the 3rd maximum PM10 concentration per square kilometer, based on 25th percentile PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
435,Report which station experienced the 2nd highest 25th percentile of PM10 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
436,What number of Chhattisgarh stations exceeded 30 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
437,Identify the city that recorded the absolute highest PM2.5 levels on any New Year's Eve.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
438,Determine the city exhibiting the lowest 25th percentile of PM2.5 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
439,Which city noted the 2nd maximum 25th percentile of PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
440,Determine the station exhibiting the highest average PM10 in June 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
441,Identify the state with the 2nd lowest 25th percentile of PM10 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
442,Report the state that had the 2nd lowest median PM10 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
443,"Which station showed the second-highest 25th percentile for PM2.5 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
444,Which state had the 2nd lowest 75th percentile of PM2.5 in January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
445,"Which station recorded the highest PM2.5 readings on January 14, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
446,Report the state that was granted the 2nd highest NCAP funding with respect to its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
447,Identify the city that recorded the 3rd lowest average PM10 value in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
448,Which state recorded the 3rd highest median PM10 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
449,"Which city showed the second-highest median PM10 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
450,Report the city with the lowest NCAP funding considering its total PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
451,Identify the city with the highest 75th percentile of PM2.5 for November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
452,Determine the station with the 3rd lowest 25th percentile of PM10 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
453,Report which city experienced the third lowest 25th percentile of PM2.5 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
454,Which station showed the 3rd highest median PM10 in June 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
455,"On August 15, 2021, which city registered the second-lowest PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
456,Which station had the 2nd highest 25th percentile of PM2.5 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
457,Which station had the lowest median PM2.5 in March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
458,In which year was the 75th percentile of PM2.5 recorded at its lowest point?,"
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
459,"In November 2021, identify the state with the 2nd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
460,Identify the weekday in 2018 that registered the second-lowest 75th percentile of PM2.5 pollution levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
461,Which state showed the highest 75th percentile for PM2.5 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
462,"In June 2020, report the city with the 3rd lowest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
463,Identify the station that registered the second lowest 25th percentile for PM10 during the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
464,Determine the state exhibiting the lowest average PM10 in August 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
465,Which state recorded the highest 25th percentile for PM10 in the Post-Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
466,Determine the city exhibiting the most minimal average PM2.5 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
467,Determine the city that showed the 3rd lowest 75th percentile of PM2.5 over the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
468,Identify the state with the highest 25th percentile of PM2.5 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
469,Determine the station with the 2nd lowest average PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
470,Which city had the 2nd lowest median PM2.5 in June 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
471,Which city was second in terms of highest average PM2.5 for December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
472,Identify the city with the 2nd highest median PM10 in July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
473,Report the station with the 2nd lowest median PM2.5 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
474,"In July 2020, which city registered the lowest 75th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
475,"Considering 2018, what weekday displayed the second-highest average PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
476,"Identify the union territory with the largest population among the top 2 most polluted union territories, based on 75th percentile of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
477,Which station registered the 3rd highest 25th percentile of PM10 during July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
478,"On January 27, 2018, which city had the second most minimal PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
479,Report the state with the 2nd highest average PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
480,"In February 2022, report the city with the 2nd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
481,Which city possessed the 3rd highest 25th percentile for PM10 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
482,Report the state with the 3rd lowest 75th percentile of PM10 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
483,"Which union territory has the largest land area among the top 2 most polluted union territories, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
484,Report the city that had the lowest 25th percentile of PM10 in September 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
485,Which city noted the 2nd minimum 75th percentile of PM10 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
486,"Identify the state that recorded the third most minimal PM10 level on January 27, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
487,How many times did Assam go above the Indian guideline for PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
488,"Which state (excluding Union Territories) has the largest land area among the top 3 most polluted states, according to the variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
489,Which station registered the 2nd minimum average PM2.5 during the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
490,Which state had the 2nd highest 75th percentile of PM10 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
491,"In October 2018, report the state with the highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
492,Determine the state that has the 4th lowest 25th percentile of PM10 concentration in relation to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
493,Which station showed the third-highest 75th percentile for PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
494,Name the state with the highest median PM10 value in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
495,Which city recorded the 2nd lowest average PM2.5 in the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
496,"In 2019, which week experienced the minimum 25th percentile for PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
497,Which city received the lowest NCAP funding relative to its total PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
498,"Which state (excluding Union Territories) possesses the 2nd smallest land area among the top 10 most polluted states, based on the standard deviation of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
499,"On March 31, 2024, which state recorded the highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
500,Which station had the 2nd lowest 25th percentile of PM10 in February 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
501,Report the city that was granted the 4th highest NCAP funding with respect to its total PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
502,"In 2020, which city ranked third for the smallest decrease in 25th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
503,"Considering 2024, what day of the week had the highest 75th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
504,Report the state with the highest median PM2.5 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
505,Report which city registered the maximum PM2.5 level on 27 January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
506,Which state had the highest 25th percentile of PM2.5 in February 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
507,Which state had the 5th lowest NCAP funding with respect to its average PM2.5 concentration in 2022 (FY 2021-22)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
508,Report which state registered the 2nd highest 75th percentile of PM10 throughout the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
509,Which state had the highest 75th percentile of PM10 in December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
510,"In February 2024, report the station with the 2nd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
511,"In May 2019, identify the state with the 2nd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
512,"In March 2024, report the station with the 3rd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
513,Which station registered the 3rd maximum 25th percentile of PM10 during the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
514,Identify the city exhibiting the lowest 25th percentile of PM10 during the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
515,Report the station with the 3rd lowest average PM10 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
516,Identify the state with the 3rd lowest average PM10 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
517,Identify the city with the 2nd highest 25th percentile of PM2.5 for January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
518,Determine the city with the 2nd lowest median PM10 in May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
519,Identify the city with the 2nd lowest 75th percentile of PM2.5 for May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
520,How many times did Jhunjhunu city surpass the Indian guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
521,Which state exhibited the third smallest decrease in its 75th percentile PM10 levels between October and December of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
522,"In April 2021, which city registered the 2nd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
523,"In the year 2024, which weekday recorded the second-highest 25th percentile for PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
524,"In 2022, which city ranked with the third largest decrease in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
525,Identify the station that registered the third lowest average for PM2.5 during the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
526,Identify the state that showed the second lowest 25th percentile of PM2.5 during the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
527,"Taking all years into account, which June experienced the lowest 75th percentile for PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
528,Identify the city that registered the third lowest median PM10 during the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
529,"In 2022, what was the peak PM2.5 concentration observed?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
530,Which station had the 3rd lowest average PM2.5 in August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
531,"Which season in 2018 (Winter, Summer, Monsoon, Post-Monsoon) was linked to the highest 75th percentile of PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
532,Which state had the highest median PM10 in December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
533,"Considering 2021, what week number had the third-highest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
534,Report the state with the highest 75th percentile PM10 reading for June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
535,Which city had the highest median PM2.5 in November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
536,How many times did Bangalore city go above 75 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
537,"Across all recorded years, which April showed the second-lowest average PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
538,Which city had the 3rd lowest average PM10 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
539,Report the state that had the 2nd highest average PM10 in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
540,Which station had the highest average PM10 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
541,"Which state (excluding Union Territories) possesses the minimum land area among the top 10 most polluted states, based on median PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
542,"In 2018, which state ranked with the third largest decrease in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
543,"Determine which union territory has the second smallest population within the top 4 most polluted union territories, based on variance of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
544,Identify the state that registered the third highest 25th percentile of PM2.5 during the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
545,What count of Jharkhand stations surpassed 45 µg/m³ of PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
546,"In January 2023, identify the station with the 2nd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
547,"Considering all years, which May experienced the third-lowest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
548,"Which state with a land area greater than 50,000 km² shows the maximum PM10 level, according to its standard deviation of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
549,Which station registered the 2nd highest 25th percentile of PM10 during October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
550,Identify the station with the 3rd lowest average PM2.5 in May 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
551,Report the state with the 4th highest NCAP funding relative to its average PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
552,Which city exhibited the third largest decrease in its 75th percentile PM2.5 levels between October and December of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
553,"For the period October to December 2018, which station had the third smallest decrease in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
554,"On January 27, 2022, which station showed the minimum PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
555,Which state exhibited the third-most minimal 25th percentile of PM10 in July 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
556,Determine the average PM10 level on Wednesdays in Chandigarh.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}}]
"
557,"Which state (excluding Union Territories) possesses the smallest land area among the top 3 most polluted states, based on the 75th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
558,How many times did Chandigarh city exceed the WHO guideline for PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
559,Identify the city with the 3rd lowest NCAP funding considering its 75th percentile of PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
560,Which station had the 3rd highest 75th percentile of PM2.5 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
561,Which station showed the lowest 75th percentile of PM10 in June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
562,Which state recorded the 2nd highest 75th percentile of PM2.5 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
563,Report the station with the 3rd highest 25th percentile of PM2.5 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
564,Determine the city with the 2nd highest 75th percentile of PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
565,"On March 31, 2024, which station recorded the second-highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
566,What is the mean PM10 value on Fridays in Manipur?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Manipur'}}]
"
567,"In March 2020, which city recorded the highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
568,Which city registered the 2nd lowest 25th percentile of PM2.5 during October 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
569,Determine the station exhibiting the 3rd lowest 25th percentile of PM2.5 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
570,"In 2018, which week experienced the second-lowest median PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
571,"In 2019, which station will rank third for the smallest reduction in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
572,Report the state that had the highest 75th percentile of PM2.5 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
573,"For Agartala, what date in the last five years registered the second-lowest PM10 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
574,Which station recorded the peak median PM10 in the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
575,"Report which union territory, from those with populations exceeding the median, obtains the highest per capita NCAP funding.","
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': False}}]
"
576,Which state experienced the second most significant drop in its average PM2.5 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
577,"In August 2019, which city recorded the 3rd lowest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
578,"In 2022, which week of the year was associated with the second-lowest 75th percentile for PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
579,Report the union territory that received the maximum NCAP funding relative to its land area on a per-square basis.,"
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_sqkm', 'numerator': 'total_fund', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'funding_per_sqkm', 'ascending': False}}]
"
580,"On January 27, 2020, which station documented the third lowest PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
581,Which state registered the lowest median PM10 during April 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
582,Which station recorded the 3rd lowest 25th percentile for PM10 in the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
583,"In 2024, which state will rank with the second largest reduction in median PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
584,Identify the city with the second lowest PM2.5 level on 27 January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
585,Report which city registered the 2nd most minimal median for PM2.5 throughout the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
586,"Which state having a land area less than 50,000 km² registers the 3rd minimum PM10 level, based on its standard deviation of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
587,Report the station with the 3rd lowest 75th percentile of PM10 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
588,"Comparing December 2024 to October 2024, which state showed the third most significant drop in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
589,Which station recorded the 3rd lowest 75th percentile of PM10 in December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
590,Identify the city that experienced the largest increase in funding between FY 2019-20 and FY 2020-21.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'change'}}, {'op': 'SORT', 'params': {'col': 'change', 'ascending': True}}]
"
591,Which city recorded the 3rd lowest median for PM10 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
592,Determine the city exhibiting the highest 75th percentile of PM10 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
593,Which week in 2020 was linked to the third-highest average PM10 levels?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
594,How many times did Jodhpur city exceed 30 µg/m³ of PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
595,Determine the station that recorded the third most minimal PM2.5 level on 27 January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
596,"Which state with a land area greater than 50,000 km² shows the 3rd lowest PM10 level, according to its 75th percentile PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
597,"Which city showed the second-highest average PM10 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
598,Identify the state with the highest average PM2.5 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
599,Which state had the 3rd highest 25th percentile of PM10 in May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
600,"Identify the city with the second-lowest median PM10 on March 31, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
601,"Which state showed the second-lowest PM2.5 measurements on January 14, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
602,Identify the state with the 2nd lowest 25th percentile of PM10 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
603,Which station experienced the second most significant drop in its 75th percentile PM2.5 levels between October and December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
604,How many times did Eloor city surpass the WHO guideline for PM2.5 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
605,Which state had the 2nd highest average PM2.5 in September 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
606,"Comparing December 2020 to October 2020, which state showed the least significant drop in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
607,Report which station possessed the third highest 25th percentile of PM2.5 throughout the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
608,"Comparing December 2019 to October 2019, which station showed the third most significant drop in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
609,Determine the state exhibiting the highest average PM10 in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
610,Report the city that had the 2nd lowest 75th percentile of PM10 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
611,"Identify the city with the third-highest PM2.5 levels on August 15, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
612,Which city registered the 2nd maximum 25th percentile of PM10 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
613,Report the station with the 3rd lowest 25th percentile of PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
614,"In January 2022, report the city with the highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
615,Identify the state with the 3rd lowest 75th percentile of PM2.5 in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
616,Which city had the 3rd lowest 25th percentile of PM2.5 in November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
617,Report the state that had the 3rd highest 75th percentile of PM2.5 in January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
618,"Identify the station with the second-lowest median PM10 on March 31, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
619,"For the year 2018, which week had the third-lowest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
620,"In February 2018, report the station with the 2nd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
621,Which state experienced the highest rise in median PM2.5 levels between January 2019 and January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
622,"Which state having a land area exceeding 50,000 km² registers the 3rd maximum PM10 level, based on its total PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
623,"Which union territory has the highest PM2.5 concentration per square kilometer, based on the variance of PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
624,Which city showed the second highest 75th percentile of PM2.5 of all time?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
625,"Which state (excluding Union Territories) has the 3rd minimum land area among the top 10 most polluted states, according to median PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
626,Determine the city exhibiting the 3rd lowest average PM2.5 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
627,Determine the state exhibiting the 2nd most minimal average PM2.5 over the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
628,Which state registered the lowest average PM2.5 during January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
629,Which state noted the 2nd maximum median PM2.5 during the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
630,"Which state (excluding Union Territories) possesses the 3rd smallest land area among the top 3 most polluted states, based on the standard deviation of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
631,"Which state having a land area less than 50,000 km² registers the 2nd maximum PM2.5 level, based on its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
632,Which Indian station recorded the minimum PM2.5 levels for a single day in the past decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
633,Which city had the lowest average PM2.5 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
634,Which station had the highest 25th percentile of PM2.5 in September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
635,"In 2019, which week experienced the second-highest 25th percentile for PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
636,Identify the city that recorded the most minimal average PM2.5 during the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
637,Which city recorded the 2nd lowest 75th percentile of PM2.5 in January 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
638,"Identify the state with the highest median PM10 on March 31, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
639,"In November 2022, identify the state with the 3rd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
640,Identify the city that recorded the highest average PM2.5 value in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
641,Which state noted the 3rd lowest average PM10 in the Winter season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
642,"For the period October to December 2020, which city had the third smallest decrease in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
643,Which state registered the 2nd maximum average PM2.5 in the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
644,Which state registered the 3rd minimum average PM2.5 during the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
645,Identify the city with the 3rd highest median PM2.5 for May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
646,Identify the state where the 75th percentile of PM10 levels rose most significantly from September 2019 to September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
647,"In 2023, which city will rank with the second largest reduction in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
648,Report the state that had the lowest median PM2.5 in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
649,Which city recorded the 3rd highest 25th percentile of PM10 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
650,"In 2018, what season (Winter, Summer, Monsoon, Post-Monsoon) was linked to the third-lowest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
651,Identify the station with the 3rd lowest 75th percentile of PM2.5 in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
652,Report the state that had the 2nd highest 25th percentile of PM10 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
653,Identify the city with the lowest median PM2.5 in October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
654,"On January 14, 2023, which state had the highest PM10 readings?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
655,Which state had the 3rd highest 25th percentile of PM2.5 in January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
656,Report the state with the lowest median PM2.5 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
657,Report the city with the highest median PM2.5 in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
658,"In Sikkim, what is the median PM10 concentration on Thursdays?","
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Sikkim'}}]
"
659,Which state registered the highest median PM10 during May 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
660,Which city had the 2nd lowest 75th percentile of PM10 in January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
661,What count of Gujarat stations surpassed the Indian guideline for PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
662,On which date in the last five years did Chikkamagaluru record its 3rd peak PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
663,"In 2021, which season (Winter, Summer, Monsoon, Post-Monsoon) was associated with the second-lowest 25th percentile of PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
664,Identify the city with the 5th highest NCAP funding considering the standard deviation of its PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
665,"In Mizoram, what is the median PM10 concentration on Saturdays?","
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}}]
"
666,Which station had the 3rd lowest 25th percentile of PM10 in July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
667,"In October 2021, identify the station with the lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
668,"Determine which union territory has the smallest population within the top 2 most polluted union territories, based on total PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
669,Identify the state with the highest average PM10 for March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
670,"Across all recorded years, which August experienced the second-highest 25th percentile for PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
671,Which state recorded the highest 25th percentile of PM10 in July 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
672,"In Narnaul, which date in the previous two years showed the highest PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
673,Which station possessed the 3rd highest 75th percentile for PM10 in the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
674,Determine which state had the 5th lowest NCAP funding relative to its total PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
675,"Which state having a land area less than 50,000 km² registers the 2nd minimum PM10 level, based on its 25th percentile PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
676,"During 2022, determine the weekday that showed the second-highest median PM2.5 pollution levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
677,Which city possessed the 3rd lowest average for PM10 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
678,Determine a week with Bahadurgarh's 2nd highest PM2.5 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bahadurgarh'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
679,Which state recorded the peak 75th percentile of PM10 during the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
680,Which city experienced the 3rd lowest median for PM10 in the Post-Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
681,"In August 2018, report the city with the 2nd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
682,"In December 2022, report the city with the highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
683,Determine the station exhibiting the 3rd highest 25th percentile of PM2.5 in November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
684,What number of Uttarakhand stations exceeded 45 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
685,Which city registered the 2nd minimum median PM10 in the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
686,Determine the station exhibiting the highest average PM10 in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
687,Determine the city with the 3rd lowest 25th percentile of PM2.5 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
688,"In November 2020, identify the state with the 3rd lowest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
689,"Identify the state with the third-highest average PM10 level on January 5, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
690,Report which state experienced the third lowest median PM10 throughout the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
691,"Across all recorded years, which January registered the second-lowest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
692,Determine the city with the highest 75th percentile of PM10 in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
693,Find the station with the highest median PM10 value in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
694,Which station had the 3rd lowest 25th percentile of PM2.5 in February 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
695,Report the state that had the 3rd lowest median PM10 in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
696,"For the period October to December 2018, which state had the smallest decrease in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
697,Which state received the 4th lowest NCAP funding relative to its total PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
698,Which city was second in terms of highest median PM10 for August 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
699,"In October 2018, report the station with the 3rd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
700,Report the city that was granted the 2nd highest NCAP funding with respect to its 75th percentile of PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
701,Determine the city exhibiting the 2nd highest median PM10 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
702,Which state recorded the highest 75th percentile of PM10 in May 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
703,"Identify the state with the third-highest median PM10 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
704,Determine the station that showed the peak median PM10 over the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
705,"On January 14, 2018, which station showed the highest PM10 values?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
706,Which state registered the 3rd highest median PM2.5 during June 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
707,Which state recorded the 2nd highest median PM10 in February 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
708,What date during the last five years noted Pali's 3rd maximum PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
709,Identify the state that recorded the 3rd highest 25th percentile of PM2.5 value in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
710,Report the city with the highest median PM10 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
711,"During 2023, determine the weekday that showed the second-lowest 25th percentile of PM2.5 pollution levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
712,How many times did Haryana exceed 75 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
713,Report the city that was granted the 5th highest NCAP funding with respect to its median PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
714,"For the period October to December 2020, which city had the third largest decrease in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
715,Which city registered the highest 75th percentile of PM10 in March 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
716,"Which state (excluding Union Territories) has the 2nd highest land area among the top 5 most polluted states, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
717,Report the state with the lowest 25th percentile of PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
718,Identify the city that received the 3rd lowest NCAP funding with respect to its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
719,"In 2019, which state will rank with the second smallest reduction in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
720,Determine the city exhibiting the lowest 75th percentile of PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
721,Which state registered the 3rd highest average PM10 during January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
722,Identify the station with the highest 25th percentile of PM2.5 for December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
723,Which state showed the maximum average PM10 level of all time?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
724,What is the count of cities having only six stations?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'nunique', 'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
725,Identify the state with NCAP funding having the 4th lowest PM10 concentration.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
726,"Comparing December 2018 to October 2018, which state showed the second least significant drop in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
727,"In 2019, which state will rank with the second largest reduction in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
728,Which state registered the peak average PM10 in the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
729,"In the year 2021, which weekday recorded the third-lowest average PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
730,"On March 31, 2018, which city had the second-highest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
731,"Identify the state with the minimum average PM2.5 on March 31, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
732,Which station had the 3rd lowest median PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
733,"Identify the state (excluding UTs) with the largest population among the top 10 most polluted states, based on total PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
734,Which union territory exhibits the 4th highest total PM10 concentration when considering population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
735,Find the state with the third-lowest median PM2.5 concentration in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
736,Which city experienced the second least significant drop in its average PM10 levels between October and December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
737,What date during the past two years showed Jaisalmer's 2nd highest PM10 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
738,How many times did Byrnihat city go above the WHO guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
739,"Identify the union territory with the second smallest population among the top 2 most polluted union territories, based on variance of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
740,Which state recorded the highest median PM10 in September 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
741,How many times did Bangalore city go above the WHO guideline for PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
742,"In March 2018, which station exhibited the 2nd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
743,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) was associated with the second-lowest average PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
744,Which state had the lowest average PM2.5 in December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
745,"Identify the city with the third-highest median PM10 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
746,Identify the state with the 2nd highest 75th percentile of PM2.5 for November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
747,Which city had the 2nd lowest median PM10 in June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
748,How many times did Bangalore city surpass 90 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
749,"In 2020, which station ranked third for the most substantial fall in average PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
750,"Between October 2019 and October 2020, which state saw the largest upsurge in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
751,Which state possessed the highest median for PM2.5 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
752,Report the city that saw the second smallest reduction in funding from FY 2019-20 to FY 2020-21.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'change'}}, {'op': 'SORT', 'params': {'col': 'change', 'ascending': False}}]
"
753,Which state recorded the 3rd lowest 75th percentile of PM10 during the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
754,Identify the station with the minimum average PM2.5 level in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
755,Identify the city with the lowest 25th percentile of PM2.5 in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
756,"On March 31, 2024, which state had the second-lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
757,What count of Rajasthan stations surpassed the WHO guideline for PM10 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
758,Which state registered the highest median PM2.5 during February 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
759,Which station recorded the 3rd highest 75th percentile of PM10 in October 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
760,Determine the state that has the 5th lowest average PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
761,Identify the state exhibiting the third highest 25th percentile of PM10 during the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
762,"Identify the state that registered the third-lowest PM10 levels on August 15, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
763,"Which state (excluding Union Territories) has the 2nd highest PM10 concentration per square kilometer, based on total PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
764,Which city recorded the 2nd lowest average PM2.5 in January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
765,Which city had the highest 75th percentile of PM2.5 in November 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
766,"In November 2022, identify the station with the 3rd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
767,"In November 2018, report the station with the 3rd lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
768,How many times did Punjab city surpass 90 µg/m³ of PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
769,Which station had the 3rd highest median PM2.5 in November 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
770,"Report which state, among those with a population exceeding the median, receives the 2nd highest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': False}}]
"
771,Identify the city that received the 2nd lowest NCAP funding with respect to the standard deviation of its PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
772,Which state exhibits the 2nd highest 75th percentile of PM10 concentration when considering population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
773,"During April 2020's COVID-19 lockdown, which station documented the third-lowest PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
774,"In 2019, which week of the year corresponded to the third-highest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
775,Report which station possessed the 2nd highest median PM2.5 throughout the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
776,Determine the state with the third-lowest median PM2.5 concentration in February 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
777,Which state recorded the highest 75th percentile of PM2.5 in March 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
778,Which city had the 2nd lowest average PM10 in October 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
779,Which state had the lowest average PM10 in April 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
780,Which city received the 3rd highest NCAP funding relative to the standard deviation of its PM2.5 concentration in 2021 (FY 2020-21)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
781,Identify the week in 2018 that registered the second-lowest 75th percentile for PM2.5 levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
782,Which station showed the highest average PM2.5 in August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
783,Identify the state with the 2nd highest 75th percentile of PM10 for November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
784,"In 2020, which weekday experienced the maximum median PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
785,How many times did Siliguri city go above the Indian guideline for PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
786,Find a week exhibiting Kunjemura's minimum PM10 levels for all specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kunjemura'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
787,Which station had the 2nd lowest 25th percentile of PM2.5 in January 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
788,"Which union territory has the 2nd minimum land area among the top 2 most polluted union territories, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
789,Determine the state exhibiting the 2nd most minimal 25th percentile of PM10 over the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
790,Identify the station that registered the maximum average PM2.5 ever.,"
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
791,Identify the state that recorded the 2nd highest 25th percentile of PM10 value in April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
792,"Determine which state (excluding UTs) has the 3rd largest population within the top 3 most polluted states, based on standard deviation of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
793,"On March 31, 2023, which state recorded the second-highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
794,"Identify the state (excluding UTs) with the 2nd smallest population among the top 5 most polluted states, based on 25th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
795,How many times did Udupi city go above 90 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
796,Report which city possessed the 2nd highest 25th percentile of PM10 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
797,Which city had the lowest 25th percentile of PM10 in August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
798,"On March 31, 2021, which city had the third-lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
799,How many times did Gaya city go above the WHO guideline for PM10 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
800,Identify the city that recorded the 2nd lowest median PM10 value in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
801,Which city recorded the lowest 25th percentile PM2.5 value in June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
802,"Report the state (excluding UTs) having the 2nd smallest population among the top 10 most polluted states, when pollution is measured by average PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
803,Which city displayed the 3rd lowest 75th percentile of PM10 in June 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
804,"Comparing December 2019 to October 2019, which station showed the most significant drop in 75th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
805,Which city had the 3rd lowest average PM2.5 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
806,How many times did Nagaland surpass 30 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
807,Which station had the 3rd lowest 25th percentile of PM2.5 in June 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
808,Determine the state with the 2nd lowest median PM2.5 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
809,Which union territory demonstrates the 2nd highest standard deviation of PM2.5 concentration in relation to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
810,Which city experienced the second least significant drop in its average PM10 levels between October and December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
811,Which station exhibited the highest median PM10 during December 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
812,Determine the city exhibiting the 2nd highest 75th percentile of PM10 over the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
813,"In March 2021, identify the station with the highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
814,"On March 31, 2019, which state had the second-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
815,Which station registered the lowest 25th percentile of PM2.5 during June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
816,Report the station that had the 2nd lowest average PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
817,Determine the station with the minimum 25th percentile for PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
818,What number of Nagaland stations surpassed 75 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
819,Which station experienced the second least significant drop in its 25th percentile PM2.5 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
820,Identify the state that recorded the second highest 75th percentile of PM2.5 during the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
821,Determine the state with the second-most minimal median PM10 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
822,Determine the city that recorded the most minimal average for PM10 over the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
823,Find the city with the third-lowest mean PM10 concentration in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
824,"In May 2024, report the city with the highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
825,Determine the state that recorded the maximum PM2.5 level on 27 January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
826,Report which city possessed the 2nd highest median PM2.5 throughout the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
827,Determine the state exhibiting the 3rd lowest 25th percentile of PM2.5 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
828,Find the station with the third-lowest 75th percentile for PM10 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
829,Report which state registered the 2nd most minimal 75th percentile of PM2.5 throughout the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
830,Which state recorded the third-most minimal 25th percentile of PM2.5 in February 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
831,Determine the station with the highest 75th percentile of PM10 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
832,Identify the station with the 2nd highest 75th percentile of PM2.5 for July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
833,Report the city with the 2nd lowest median PM10 in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
834,"On August 15, 2022, which city experienced the minimum PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
835,Which state recorded the 3rd highest 75th percentile of PM10 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
836,"Taking all years into account, which July registered the maximum median PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
837,"Comparing December 2019 to October 2019, which city showed the least significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
838,"Report which state, from those with populations above the 75th percentile, secures the 3rd lowest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
839,Which station possessed the 2nd highest average for PM10 in the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
840,Identify the week in 2022 that experienced the minimum 25th percentile for PM2.5 levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
841,Which state had the highest 75th percentile of PM10 in February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
842,Which station displayed the lowest 75th percentile of PM10 in May 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
843,"On March 31, 2019, which station had the second-lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
844,Which state showed the second lowest average PM2.5 level historically?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
845,"During 2020, which weekday saw the lowest 25th percentile of PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
846,Which state registered the 2nd lowest average PM2.5 during December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
847,Which union territory exhibits the 2nd lowest median PM10 concentration when considering population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
848,"In June 2022, identify the state with the highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
849,Identify the station that registered the most minimal median PM10 during the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
850,Which station reported the second-highest PM2.5 readings on any New Year's Eve to date?,"
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
851,"Over the past two years in Dehradun, on which date was the PM10 level the third lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
852,"Which state showed the third-lowest median PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
853,Which state displayed the highest average PM2.5 in May 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
854,Report the state that was granted the 3rd highest NCAP funding with respect to its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
855,Determine the state exhibiting the highest average PM2.5 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
856,"Over all years, which December showed the highest 25th percentile for PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
857,Which station exhibited the third smallest decrease in its median PM10 levels between October and December of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
858,Which state possessed the highest 25th percentile for PM10 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
859,"In February 2023, report the station with the 2nd lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
860,Identify the state with the 5th lowest NCAP funding considering its 25th percentile of PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
861,Identify the city that saw the least significant fall in 25th percentile PM10 levels when comparing December 2019 to October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
862,Which city recorded the 2nd highest median PM10 in the Winter season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
863,Which station had the 2nd lowest 25th percentile of PM10 in December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
864,"Considering 2021, what week number displayed the third-lowest 25th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
865,How many times did Ahmedabad exceed 75 µg/m³ of PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
866,Report the station that had the lowest 75th percentile of PM10 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
867,"In April 2018, which station exhibited the 2nd highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
868,"On January 27, 2021, which state showed the second lowest PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
869,Which state had the second-lowest average PM2.5 reading for January 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
870,Report the state that had the 3rd highest median PM10 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
871,Which state observed the most significant increase in median PM10 levels when comparing October 2019 to October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
872,"Which state experienced the second-highest PM2.5 measurements on January 14, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
873,Determine the state exhibiting the 2nd highest 75th percentile of PM2.5 over the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
874,Which state recorded the 2nd lowest 25th percentile of PM10 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
875,"Taking all years into account, which September was associated with the minimum 75th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
876,Which city had the highest median PM2.5 in August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
877,Which city was second in terms of highest 75th percentile for PM10 in November 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
878,"Over all years, which September showed the third-lowest 25th percentile of PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
879,Determine the state with the 2nd highest median PM10 in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
880,"On any New Year's Eve in the records, which city experienced the third-highest PM2.5 concentrations?","
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
881,"Report the union territory having the second smallest population among the top 4 most polluted union territories, when pollution is measured by standard deviation of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
882,"Throughout all New Year's Eves, which state registered the second-lowest PM2.5 concentrations?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
883,"Taking all years into account, which August had the second-lowest 25th percentile for PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
884,Which station had the 2nd highest average PM2.5 in October 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
885,Determine the station exhibiting the 2nd lowest 75th percentile of PM10 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
886,"On March 31, 2019, which station recorded the third-lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
887,Determine a week with Kurukshetra 's 3rd highest PM10 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kurukshetra '}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
888,"Identify the season in 2018 (Winter, Summer, Monsoon, Post-Monsoon) that registered the second-highest 75th percentile of PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
889,Which station registered the 3rd highest 75th percentile of PM2.5 during November 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
890,Which city noted the peak median PM10 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
891,"In September 2021, which city exhibited the highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
892,Which state recorded the second-highest 75th percentile of PM10 for May 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
893,How many times did Bangalore city go above the Indian guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
894,Determine which state exhibits the 4th highest 75th percentile of PM10 concentration normalized by population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
895,"On March 31, 2022, which city had the second-highest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
896,"Considering all years, which August registered the second-highest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
897,Determine the city with the highest average PM10 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
898,Report which city experienced the most minimal 25th percentile of PM2.5 throughout the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
899,Identify the state exhibiting the second highest average PM2.5 during the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
900,"In May 2021, which state recorded the highest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
901,Report the state with the highest median PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
902,Report the state with the 3rd highest 25th percentile of PM2.5 in March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
903,"Comparing December 2024 to October 2024, which station showed the third most significant drop in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
904,"Considering 2020, what season (Winter, Summer, Monsoon, Post-Monsoon) had the second-lowest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
905,Identify the state with the third-highest median PM2.5 during February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
906,How many times did Mysuru city surpass 30 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
907,Determine which state had the lowest NCAP funding relative to its 25th percentile of PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
908,"Taking all years into account, which June experienced the third-highest median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
909,Determine the city that ranks third for the highest median PM2.5 in July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
910,Determine the state with the 3rd lowest 25th percentile of PM2.5 in September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
911,"On January 14, 2020, which station recorded the third-lowest PM10 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
912,Which union territory shows the 3rd lowest 25th percentile of PM10 concentration in relation to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
913,Determine the state exhibiting the 3rd lowest 75th percentile of PM10 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
914,Determine the city having the 5th highest NCAP funding relative to its 75th percentile of PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
915,What count of Tamil Nadu stations went above 45 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
916,Determine the station with the 2nd lowest 75th percentile of PM2.5 in February 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
917,Identify the station exhibiting the second lowest average PM2.5 during the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
918,Identify the city with the 3rd highest NCAP funding considering its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
919,Which station had the 2nd highest 25th percentile of PM2.5 in November 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
920,"Considering all years, which January was associated with the second-lowest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
921,"Which city showed the second-lowest 25th percentile for PM10 on March 31, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
922,Report the city that had the 2nd highest 25th percentile of PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
923,Report the state that had the highest 75th percentile of PM2.5 in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
924,Determine the station exhibiting the most minimal median PM10 over the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
925,"Which state (excluding Union Territories) has the 2nd minimum land area among the top 10 most polluted states, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
926,Which state exhibited the third largest decrease in its average PM10 levels between October and December of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
927,Identify the state with the 2nd lowest 25th percentile of PM10 for November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
928,Identify the station exhibiting the third most minimal median PM10 during the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
929,Which state noted the 2nd minimum 25th percentile of PM10 during the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
930,Determine the city with the lowest median PM10 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
931,Which station displayed the 3rd highest average PM2.5 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
932,Report the state that had the highest median PM10 in February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
933,Determine the station with the 3rd highest 25th percentile of PM2.5 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
934,"Determine which state (excluding UTs) has the smallest population among the top 10 most polluted states, based on 25th percentile of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
935,Which city had the lowest 75th percentile of PM2.5 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
936,Which state demonstrates the 4th highest standard deviation of PM10 concentration relative to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
937,Determine a week with Jhalawar's 3rd highest PM10 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jhalawar'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
938,Report the city with the 2nd lowest 25th percentile of PM10 in July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
939,Which city recorded the peak 75th percentile of PM2.5 during the Winter season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
940,"On March 31, 2024, which state recorded the lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
941,Identify the state exhibiting the peak median PM2.5 during the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
942,"On January 14, 2023, which city experienced the highest PM10 values?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
943,Report which station possessed the third highest 25th percentile of PM10 throughout the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
944,Identify the state that received the 5th lowest NCAP funding relative to its median PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
945,"For the period October to December 2020, which state had the largest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
946,"Which state showed the third-lowest average PM2.5 on March 31, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
947,Which city recorded the 2nd highest average PM10 in September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
948,"Comparing December 2021 to October 2021, which station showed the second least significant drop in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
949,Identify the station with the 3rd lowest average PM10 in October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
950,Which state recorded the third-lowest average PM10 reading for September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
951,Which station showed the 2nd lowest median PM2.5 in August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
952,Which city got the 5th lowest NCAP funding considering its total PM10 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
953,"In Hosur, which date in the previous four years registered the third-highest PM2.5 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
954,Determine the state exhibiting the lowest 25th percentile of PM10 in October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
955,"On March 31, 2020, which city recorded the minimum median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
956,Identify the station that recorded the most minimal average PM2.5 during the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
957,"In 2018, which state will rank with the largest reduction in average PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
958,"Identify the city that recorded the third highest PM2.5 level on January 27, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
959,Which state noted the 3rd maximum 25th percentile of PM10 during the Winter season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
960,Which station showed the 2nd lowest median PM10 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
961,Determine the city exhibiting the 3rd lowest average PM10 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
962,Report the union territory exhibiting the 3rd highest standard deviation of PM2.5 concentration when considering population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
963,Report the state with the 3rd highest average PM10 in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
964,Determine the station with the third-highest 25th percentile of PM2.5 for August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
965,Which station noted the 3rd highest 75th percentile of PM2.5 in the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
966,Report the station with the 2nd highest 75th percentile of PM10 in January 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
967,Identify the station with the second-lowest 75th percentile for PM2.5 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
968,How many times did Punjab city go above 75 µg/m³ of PM2.5 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
969,Determine which state got the 3rd highest NCAP funding with respect to its 25th percentile of PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
970,Which state recorded the 2nd lowest 25th percentile of PM2.5 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
971,"In April 2020, amidst the COVID-19 lockdown, which city recorded the highest PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
972,"On March 31, 2018, which state recorded the second-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
973,Which city registered the 2nd minimum average PM10 during the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
974,"On March 31, 2021, which city recorded the second-highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
975,Which Indian state recorded the 2nd lowest PM2.5 levels for a single day in the past decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
976,"For the period October to December 2020, which city had the largest decrease in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
977,Which city experienced the third most significant drop in its average PM10 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
978,Which state had the 2nd highest median PM10 in October 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
979,Which state recorded the peak 75th percentile of PM10 during the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
980,Report the state with the highest average PM2.5 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
981,Which city noted the maximum average PM10 level?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
982,Which state possessed the 3rd highest median for PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
983,Determine the state exhibiting the 2nd highest 75th percentile of PM10 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
984,Determine the state with the third-highest median PM10 concentration in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
985,Identify the state with the lowest median PM2.5 for February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
986,Find the state with the third-highest mean PM10 concentration in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
987,Which Indian city registered the 3rd maximum PM10 levels for a single day in the previous decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'eq_rank', 'rank': -3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
988,Report the city that obtained the 5th lowest NCAP funding.,"
[]
"
989,"Over the past two years in Kohima, on which date was the PM2.5 level the lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
990,Which station experienced the second least significant drop in its average PM2.5 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
991,Which city recorded the 3rd lowest median PM10 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
992,Determine which city had the 5th lowest NCAP funding relative to its 25th percentile of PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
993,On which date in the last three years did Palkalaiperur register its peak PM10 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
994,Which station displayed the 2nd highest median PM2.5 in August 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
995,"Which state (excluding UTs) possesses the 2nd smallest population among the top 3 most polluted states, determined by variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
996,How many times did Bangalore city exceed 30 µg/m³ of PM2.5 in the year 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
997,Which station showed the third-lowest average PM10 in October 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
998,What is the mean PM10 value on Thursdays in Tripura?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}}]
"
999,How many times did Mangalore city go above 30 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1000,"In May 2023, report the city with the 2nd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1001,Find a week exhibiting Thrissur's 2nd minimum PM2.5 levels for all specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thrissur'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
1002,"Over all years, which August experienced the maximum median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1003,"Which state registered the third-highest PM10 values on January 14, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1004,Which station had the highest average PM2.5 in December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1005,Identify the station that recorded the peak 25th percentile of PM2.5 during the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1006,Which station had the lowest 75th percentile of PM10 in January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1007,"For Nandesari, what date in the last three years showed the lowest PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1008,Which station registered the 3rd highest 25th percentile of PM10 during December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1009,"Across all recorded years, which June experienced the second-highest 25th percentile for PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1010,Identify the state that recorded the 2nd lowest median PM2.5 value in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1011,Report which station registered the 2nd highest 25th percentile of PM2.5 throughout the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1012,Report which state possessed the lowest 25th percentile of PM10 throughout the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1013,"Which union territory having a land area less than 1,000 km² registers the 2nd minimum PM2.5 level, according to its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1014,Identify the city with the second-lowest 75th percentile for PM10 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1015,Which station showed the highest average PM2.5 value in December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1016,Identify the station exhibiting the third highest average PM10 during the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1017,"Comparing December 2022 to October 2022, which station showed the third least significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1018,Determine the city exhibiting the most minimal median PM2.5 over the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1019,Which state had the 3rd highest average PM2.5 in October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1020,Find the station that registered the second-highest average PM10 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1021,Name the state with the lowest 75th percentile for PM2.5 in December 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1022,How many times did Faridabad city go above 45 µg/m³ of PM2.5 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1023,Which state demonstrates the highest median PM10 concentration in relation to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1024,Which state recorded the 2nd highest median PM2.5 in September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1025,Report which state documented the third lowest median PM10 level ever.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1026,How many times did Kadapa city exceed the Indian guideline for PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1027,Which city noted the 3rd lowest average PM10 in the Winter season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1028,"In January 2020, identify the state with the highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1029,Determine the median PM2.5 level on Saturdays in Arunachal Pradesh.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Arunachal Pradesh'}}]
"
1030,Determine which state had the highest NCAP funding relative to the variance of its PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1031,Which state showed the 3rd lowest average for PM2.5 in the Post-Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1032,"Considering 2021, what week number displayed the second-lowest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
1033,"On January 27, 2019, which station registered the third lowest PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1034,Determine the city exhibiting the highest 75th percentile of PM10 in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1035,Determine the state that recorded the third highest PM10 level on 27 January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1036,"Taking all years into account, which February was associated with the minimum 25th percentile of PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1037,Identify the station that recorded the 3rd highest 25th percentile of PM10 value in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1038,Identify the state with the second-lowest average PM2.5 reading for July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1039,Identify the state with the 2nd highest 25th percentile of PM2.5 for April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1040,Report the state with the 2nd highest 25th percentile of PM10 in August 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1041,Report which state possessed the lowest 25th percentile of PM10 throughout the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1042,Determine the state with the third-highest 25th percentile for PM10 during October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1043,"Which union territory with a land area greater than 1,000 km² shows the 2nd highest PM10 level, based on its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1044,Identify the station that recorded the 2nd highest 75th percentile of PM10 value in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1045,Report the city with the 3rd lowest median PM10 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1046,Which city experienced the least significant drop in its average PM10 levels between October and December 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1047,Which state experienced the third least significant drop in its average PM10 levels between October and December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1048,"Which station showed the minimum 25th percentile for PM10 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1049,Identify the state with the 2nd highest 25th percentile of PM2.5 in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1050,"Determine the union territory, from those with populations exceeding the 25th percentile, which is allocated the lowest per capita NCAP funding.","
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
1051,Identify the city that recorded the highest 25th percentile of PM2.5 value in September 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1052,How many times did Assam exceed the WHO guideline for PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1053,Determine the city showing the highest 75th percentile of PM10 for October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1054,"For 2021, identify the season (Winter, Summer, Monsoon, Post-Monsoon) with the second-lowest median PM10 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
1055,How many stations in Bihar exceeded 30 µg/m³ of PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1056,"Identify the state (excluding UTs) with the 2nd smallest population among the top 10 most polluted states, based on average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1057,Determine the state with the third-highest 75th percentile for PM10 in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1058,Which state recorded the 2nd lowest 75th percentile of PM10 during the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1059,"In November 2020, which station exhibited the lowest 75th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1060,Which city recorded the highest average PM2.5 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1061,During which year was the 75th percentile of PM10 the second highest?,"
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1062,Which state possessed the 2nd lowest median for PM10 in the Summer season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1063,"For the period October to December 2021, which station had the second smallest decrease in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1064,"Identify the city with the minimum median PM2.5 on March 31, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1065,Which state recorded the 2nd highest 75th percentile of PM2.5 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1066,Identify the city with the 5th highest NCAP funding considering the standard deviation of its PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1067,Which station recorded the 2nd lowest median PM2.5 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1068,Which state registered the 2nd minimum median PM10 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1069,Identify the state that registered the minimum PM2.5 level on 27 January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1070,Report the station with the 3rd highest median PM2.5 in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1071,Determine the station exhibiting the lowest 25th percentile of PM10 in November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1072,Which station possessed the 2nd lowest 25th percentile for PM10 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1073,"In 2022, which weekday experienced the third-highest median PM10 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1074,"Considering 2024, which season (Winter, Summer, Monsoon, Post-Monsoon) registered the second-highest PM10 levels on average?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
1075,Which state recorded the minimum median PM10 during the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1076,Report the state exhibiting the 5th lowest median PM2.5 concentration when considering population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1077,Which station possessed the 2nd lowest median for PM10 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1078,"On March 31, 2019, which state had the lowest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1079,"In April 2019, report the city with the 2nd highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1080,Identify the station with the 2nd lowest median PM2.5 for June 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1081,Name the city showing the highest 75th percentile of PM10 for December 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1082,Identify the state that recorded the highest 75th percentile of PM2.5 value in April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1083,"In April 2020, identify the state with the highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1084,Which station possessed the 3rd lowest 75th percentile for PM10 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1085,"Considering 2019, what day of the week had the third-highest average PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1086,"Report the union territory having the largest population among the top 2 most polluted union territories, when pollution is measured by average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
1087,Determine the city with the 3rd highest median PM10 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1088,"On March 31, 2018, which state had the third-lowest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1089,What is the mean PM10 value on Thursdays in Haryana?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}}]
"
1090,"In December 2023, report the state with the lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1091,Report which state experienced the third lowest average PM10 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1092,Determine the state exhibiting the 2nd highest 25th percentile of PM2.5 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1093,"Considering 2019, what week number displayed the second-highest 75th percentile for PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1094,Which station had the most substantial increase in average PM10 levels between March 2019 and March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1095,"On January 5, 2019, which city recorded the second-lowest average PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1096,Identify the state with the 2nd highest 75th percentile of PM10 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1097,Which station recorded the 3rd highest average PM2.5 in November 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1098,Report which city possessed the peak 25th percentile of PM2.5 throughout the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1099,Which city noted the 2nd minimum average PM2.5 during the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1100,Which city recorded the 3rd highest 75th percentile of PM2.5 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1101,"Considering 2021, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the second-lowest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
1102,"On January 5, 2020, which station showed the third-highest average PM2.5 concentration?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1103,Report the state with the 3rd highest average PM2.5 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1104,"Taking all years into account, which January registered the third-lowest 25th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1105,Name the state with the third-lowest median PM2.5 concentration in August 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1106,Determine the state exhibiting the highest 75th percentile of PM10 over the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1107,Identify the state with the lowest 75th percentile of PM10 in December 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1108,"In January 2022, which state registered the 3rd highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1109,Identify the city that recorded the 3rd highest median PM2.5 value in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1110,"Which state having a land area less than 50,000 km² registers the 2nd maximum PM10 level, based on its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1111,Which city had the 2nd lowest median PM10 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1112,"Across all recorded years, which September showed the second-highest average PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1113,Identify the state with the 2nd highest median PM2.5 for August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1114,"Considering all years, which September was associated with the minimum 25th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1115,Which city recorded the 3rd highest 25th percentile of PM10 in August 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1116,"Which city showed the highest median PM10 on March 31, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1117,"Over all years, which June showed the maximum average PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1118,"In August 2023, identify the city with the 3rd lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1119,Identify the city that recorded the 2nd highest 75th percentile of PM2.5 value in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1120,"In February 2023, report the state with the 3rd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1121,How many times did Bangalore city surpass 75 µg/m³ of PM2.5 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1122,Which station showed the third-lowest 25th percentile for PM2.5 in April 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1123,How many times did Sikkim go above 30 µg/m³ of PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1124,Determine a week with Sagar's 2nd lowest PM2.5 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Sagar'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
1125,Which city recorded the 3rd lowest average for PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1126,Which city possessed the 2nd lowest 25th percentile for PM2.5 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1127,How many times did Odisha exceed the Indian guideline for PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1128,"Over all years, which March was associated with the third-highest 25th percentile of PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1129,Which city exhibited the 3rd lowest average PM2.5 in September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1130,Report which station possessed the third lowest 75th percentile of PM2.5 throughout the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1131,During which year was the median PM2.5 level at its second-lowest?,"
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1132,Which station had the 2nd highest average PM2.5 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1133,"Which state (excluding Union Territories) possesses the 2nd largest land area among the top 10 most polluted states, based on the variance of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1134,Which station recorded the 3rd highest median PM10 in January 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1135,Which station had the third-lowest PM10 readings during the April 2020 COVID-19 lockdown?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1136,"Identify the city with the highest 25th percentile for PM2.5 on March 31, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1137,Report the city with the 3rd lowest median PM2.5 in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1138,Identify the city that recorded the 2nd highest median PM10 value in April 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1139,"Identify the state with the minimum 75th percentile for PM2.5 on March 31, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1140,How many times did Meghalaya exceed 75 µg/m³ of PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1141,Which state showed the 2nd lowest average for PM10 in the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1142,Which city possessed the 2nd lowest average for PM2.5 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1143,Which city registered the highest 75th percentile of PM2.5 in January 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1144,Which station recorded the 2nd lowest median PM2.5 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1145,Which city registered the peak 75th percentile of PM10 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1146,"Within the last three years in Kishanganj, on what date was the PM10 level the second lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1147,"In December 2021, identify the city with the 3rd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1148,Report the state that had the highest median PM10 in November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1149,Determine the station exhibiting the 2nd highest average PM10 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1150,How many times did Bihar go above 90 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1151,Which city recorded the highest 75th percentile of PM10 in April 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1152,Identify the station with the 2nd lowest 25th percentile of PM10 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1153,"Which state, from those with populations exceeding the average, is allocated the highest per capita NCAP funding?","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': False}}]
"
1154,Which state registered the minimum 75th percentile of PM2.5 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1155,Which station displayed the lowest 25th percentile of PM2.5 in April 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1156,"Identify the season in 2020 (Winter, Summer, Monsoon, Post-Monsoon) that registered the highest 25th percentile of PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
1157,Which station showed the 2nd highest 25th percentile of PM2.5 in August 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1158,"Which state (excluding Union Territories) possesses the 2nd largest land area among the top 10 most polluted states, based on total PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1159,Which city registered the 2nd highest average PM2.5 during March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1160,Find the station with the second-minimum 25th percentile for PM2.5 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1161,Which state registered the 3rd highest 25th percentile of PM10 during July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1162,Which station showed the 2nd highest average PM2.5 in June 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1163,"In Puducherry, what is the median PM2.5 concentration on Wednesdays?","
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}}]
"
1164,How many times did Bangalore city exceed 75 µg/m³ of PM10 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1165,Which city experienced the third most significant drop in its average PM2.5 levels between October and December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1166,Find the state with the lowest 75th percentile for PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1167,Which state possessed the 3rd highest average for PM10 in the Winter season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1168,What count of Puducherry stations went above the WHO guideline for PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1169,Determine the city exhibiting the 3rd lowest 75th percentile of PM10 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1170,Which station had the 3rd lowest 25th percentile of PM2.5 in November 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1171,Identify the state that recorded the 2nd lowest 25th percentile of PM2.5 value in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1172,Which Indian city noted the maximum PM10 levels for a single day over the last decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'eq_rank', 'rank': -1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1173,How many times did Bangalore city surpass 30 µg/m³ of PM2.5 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1174,Identify the state with the 2nd highest 25th percentile of PM10 for August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1175,Which station registered the 3rd lowest 75th percentile of PM10 during April 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1176,Determine the average PM10 level on Wednesdays in Puducherry.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}}]
"
1177,Identify the station that recorded the 2nd highest average PM10 value in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1178,"Which city showed the second-highest average PM10 on March 31, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1179,Which state ranked as the 3rd least polluted based on per capita PM10 exposure during 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
1180,Determine the city exhibiting the lowest average PM2.5 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1181,"Which state experienced the third-lowest average PM10 concentration on January 5, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1182,Which state exhibited the third-highest 75th percentile for PM10 during November 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1183,Determine the station with the 2nd lowest median PM2.5 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1184,Report the state with the 2nd lowest 75th percentile of PM10 in March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1185,Report the state with the 2nd lowest 25th percentile of PM10 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1186,Which city registered the 2nd highest median PM2.5 during December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1187,"In 2022, which of the defined seasons (Winter, Summer, Monsoon, Post-Monsoon) showed the second-highest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
1188,How many times did Thane city exceed 30 µg/m³ of PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1189,"Identify the state that had the second-lowest PM10 concentrations on August 15, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1190,Which city had the highest average PM10 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1191,Which state recorded the 2nd highest 75th percentile of PM10 in July 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1192,Identify the city that recorded the 3rd lowest average PM10 value in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1193,Which state experienced the second most significant drop in its 25th percentile PM2.5 levels between October and December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1194,"In June 2019, identify the city with the lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1195,Which state registered the 2nd highest average PM2.5 during March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1196,Report the station that had the 2nd lowest average PM10 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1197,"Identify the state, among those with a population below the average, that secures the 2nd highest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': False}}]
"
1198,Which city registered the highest 25th percentile of PM10 during December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1199,Which state noted the 2nd minimum average PM2.5 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1200,Which state had the lowest 75th percentile of PM2.5 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1201,Which state received the 4th lowest NCAP funding relative to its median PM10 concentration in 2021 (FY 2020-21)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1202,Determine which state was granted the 4th highest NCAP funding considering the standard deviation of its PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1203,Identify the city with the third-lowest average PM2.5 value in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1204,"Identify the season in 2019 (Winter, Summer, Monsoon, Post-Monsoon) that registered the third-highest 75th percentile of PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'season'}}]
"
1205,Which city recorded the highest 75th percentile of PM10 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1206,Which city recorded the 3rd highest average PM10 in August 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1207,Identify the station that recorded the 2nd lowest median PM2.5 value in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1208,Identify the city with the lowest NCAP funding considering its average PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1209,"In July 2021, which state recorded the lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1210,"In March 2020, which state exhibited the 2nd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1211,"Identify the city that showed the third-highest average PM2.5 concentration on January 5, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1212,Identify the year that recorded the second-lowest 75th percentile of PM10.,"
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1213,Which state experienced the second most significant drop in its average PM2.5 levels between October and December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1214,"Identify the season in 2022 (Winter, Summer, Monsoon, Post-Monsoon) that registered the highest average PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
1215,Identify the state that registered the third highest 25th percentile for PM2.5 during the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1216,Identify the city that recorded the 2nd highest 75th percentile of PM10 value in August 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1217,Report the city with the 3rd highest 25th percentile of PM2.5 in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1218,Which state experienced the second most significant drop in its 25th percentile PM2.5 levels between October and December 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1219,Identify the city with the lowest 25th percentile of PM2.5 for January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1220,"Report which station documented the second most minimal PM10 level on January 27, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1221,"Identify the state with the second-highest PM10 measurements on January 14, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1222,"On January 14, 2021, which station experienced the second-lowest PM10 readings?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1223,"Considering all years, which July was associated with the highest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1224,Determine the city exhibiting the 3rd highest median PM10 in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1225,Determine the city that showed the peak median PM10 over the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1226,Which state had the lowest 25th percentile of PM10 in May 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1227,Determine which city was granted the 2nd lowest NCAP funding considering its 75th percentile of PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1228,"Identify the state, from those with a population less than the 25th percentile, which receives the lowest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
1229,"Over all years, which March registered the minimum 25th percentile for PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1230,"In January 2022, report the station with the 2nd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1231,Determine the state exhibiting the 2nd lowest 75th percentile of PM2.5 over the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1232,Which station possessed the 3rd lowest average for PM2.5 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1233,Identify the station that recorded the 3rd highest median PM10 value in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1234,"During 2024, which week saw the third-highest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
1235,"In October 2019, report the state with the 3rd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1236,Which station registered the 2nd highest average PM2.5 during July 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1237,"In February 2019, identify the state with the 2nd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1238,"During 2024, which weekday saw the third-highest median PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1239,Report the state with the 3rd highest median PM10 in October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1240,Which station experienced the second most significant drop in its 75th percentile PM10 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1241,"In July 2024, which state displayed the 3rd highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1242,Report the city that had the 2nd highest median PM2.5 in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1243,Which city had the 2nd lowest 75th percentile of PM10 in February 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1244,Determine the station exhibiting the 3rd highest median PM10 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1245,Which city had the 3rd lowest 25th percentile of PM2.5 in August 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1246,"In the year 2022, which week recorded the second-highest 75th percentile for PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1247,Which station registered the second-highest average PM10 in March 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1248,Identify the station with the 2nd highest 25th percentile of PM10 for October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1249,Which state got the lowest NCAP funding considering its 75th percentile of PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1250,Which city recorded the 2nd highest median PM2.5 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1251,Which state recorded the third-highest median PM2.5 concentration in December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1252,Which state recorded the 3rd lowest 25th percentile of PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1253,Report which station possessed the lowest median PM2.5 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1254,Identify the state with the 2nd highest average PM2.5 for February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1255,Report the city with the 2nd highest 25th percentile of PM10 in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1256,Determine the city exhibiting the highest average PM2.5 in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1257,Which state recorded the lowest median PM2.5 figure in April 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1258,Which state registered the 3rd highest 75th percentile of PM2.5 in the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1259,Determine the city exhibiting the 2nd highest 25th percentile of PM2.5 over the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1260,Report the state that had the 3rd highest average PM2.5 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1261,Which city recorded the 3rd highest 25th percentile of PM2.5 in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1262,Determine the city exhibiting the 3rd lowest 75th percentile of PM2.5 in November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1263,Which state recorded the peak 75th percentile of PM10 during the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1264,"Comparing December 2023 to October 2023, which station showed the second least significant drop in 75th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1265,Identify the city with the second-most minimal median PM2.5 in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1266,"In July 2023, which city exhibited the 2nd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1267,Which city registered the 3rd highest average PM10 during February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1268,"Comparing December 2023 to October 2023, which city showed the least significant drop in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1269,Report which city possessed the 2nd most minimal average PM10 throughout the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1270,Identify the state with the lowest 75th percentile of PM2.5 in June 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1271,Determine the state with the third-lowest median PM10 reading for October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1272,Which state recorded the lowest median PM10 in June 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1273,Determine the state with the lowest 25th percentile of PM2.5 in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1274,Which state showed the highest 25th percentile of PM10 in June 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1275,"On March 31, 2019, which city had the second-lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1276,What city holds the position of third-lowest for the 25th percentile of PM2.5 in January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1277,Report the state with the highest NCAP funding considering its 75th percentile of PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1278,What number of Telangana stations surpassed 30 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1279,Report the state with the 3rd lowest average PM10 in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1280,Identify the station with the 2nd lowest 75th percentile of PM2.5 for June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1281,"In January 2021, report the station with the 3rd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1282,Report the state that had the second least increment in funding between FY 2019-20 and FY 2020-21.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'change'}}, {'op': 'SORT', 'params': {'col': 'change', 'ascending': True}}]
"
1283,"Which state showed the second-lowest 25th percentile for PM2.5 on March 31, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1284,"Which city experienced the minimum PM10 concentrations on August 15, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1285,"Determine which state (excluding UTs) has the largest population among the top 5 most polluted states, based on 75th percentile of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1286,Which city showed the 2nd lowest median for PM10 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1287,Which station experienced the least significant drop in its median PM10 levels between October and December 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1288,On which date in the past four years did Dewas record its minimum PM10 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1289,Determine the station with the highest average PM10 in February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1290,Which city noted the minimum 25th percentile of PM10 during the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1291,Determine the state with the 2nd highest 25th percentile of PM10 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1292,"On January 5, 2024, which city showed the second-highest average PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1293,"Identify the station with the third-highest 75th percentile for PM2.5 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1294,"Considering 2021, what weekday displayed the third-lowest 75th percentile for PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1295,Which state recorded the 3rd highest 75th percentile of PM10 during the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1296,"For the period October to December 2019, which city had the second smallest decrease in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1297,"In September 2019, identify the station with the lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1298,"Over all years, which October showed the third-highest median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1299,"In January 2019, report the city with the 3rd highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1300,Which station showed the 3rd highest 75th percentile of PM2.5 in August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1301,Report the city that had the 2nd highest median PM2.5 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1302,"Over all years, which January experienced the maximum 25th percentile for PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1303,Identify the city that recorded the absolute highest PM2.5 levels during the April 2020 COVID-19 lockdown.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1304,"Which station showed the second-lowest average PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1305,Which state registered the 2nd minimum average PM10 during the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1306,Which station recorded the 3rd highest average for PM10 in the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1307,Report the city that had the lowest 75th percentile of PM10 in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1308,What count of Andhra Pradesh stations surpassed 45 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1309,"Considering 2018, which day of the week had the third-highest average PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1310,Determine the city exhibiting the 2nd highest average PM10 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1311,How many times did Bhopal city surpass the WHO guideline for PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1312,Identify the station that recorded the 2nd highest 75th percentile of PM10 value in October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1313,Which city had the 3rd lowest average PM2.5 in February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1314,"Between May 2019 and May 2020, which state saw the largest upswing in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1315,Report the city that had the lowest average PM10 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1316,"In September 2020, which state recorded the 3rd highest 75th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1317,Identify the station that recorded the second highest median PM2.5 during the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1318,"For the year 2019, which weekday had the second-highest average PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1319,"On March 31, 2021, which state recorded the third-highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1320,Identify the station with the second-lowest 75th percentile for PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1321,Identify the station that recorded the 3rd highest average PM2.5 value in August 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1322,Determine the city exhibiting the 3rd highest average PM10 over the Winter season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1323,"Which state having a land area exceeding 50,000 km² registers the 3rd minimum PM10 level, based on its standard deviation of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
1324,Which state had the 2nd lowest 75th percentile of PM10 in July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1325,Which state showed the 2nd lowest average PM2.5 in June 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1326,Name the station with the third-lowest 75th percentile for PM2.5 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1327,Which city had the 3rd lowest average PM10 in February 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1328,What date over the last four years showed Kolkata's 3rd lowest PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1329,Determine which state shows the lowest variance of PM2.5 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1330,"In November 2022, identify the city with the 2nd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1331,Which city showed the lowest 75th percentile of PM2.5 in July 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1332,Identify the station with the highest average PM10 in September 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1333,Which state recorded the 2nd highest average for PM2.5 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1334,Determine the state exhibiting the 3rd highest 25th percentile of PM10 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1335,How many times did Manipur exceed 45 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1336,Identify the state that recorded the third lowest median PM10 during the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1337,Report which state registered the 3rd most minimal 75th percentile of PM2.5 throughout the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1338,Identify the city with the highest median PM2.5 for November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1339,Determine the state exhibiting the lowest 25th percentile of PM10 in June 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1340,Identify the station that registered the second-highest average PM2.5 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1341,"Identify the state with the highest average PM2.5 concentration on January 5, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1342,Determine the state exhibiting the 2nd most minimal median PM10 over the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1343,"Which union territory having a land area less than 1,000 km² registers the maximum PM10 level, according to its average PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1344,How many stations in Tamil Nadu went above 30 µg/m³ of PM10 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1345,Identify the station that recorded the lowest median PM2.5 value in October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1346,"For the period October to December 2021, which state had the third smallest decrease in 75th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1347,Determine the city exhibiting the 2nd lowest median PM10 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1348,"In August 2020, which station exhibited the highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1349,Determine the station with the 3rd lowest 25th percentile of PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1350,"In June 2018, identify the city with the 2nd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1351,Determine the station exhibiting the 3rd lowest average PM2.5 over the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1352,Name the state with the second-highest 75th percentile for PM2.5 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1353,During which financial year was the total NCAP funding release the 3rd smallest among cities?,"
[]
"
1354,On which date in the past four years did Dhanbad register its 3rd minimum PM10 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1355,Which station had the highest 25th percentile of PM10 in November 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1356,"For the period October to December 2024, which city had the third smallest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1357,Which station had the 3rd lowest average PM10 in September 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1358,Report the city with the 2nd highest 25th percentile of PM2.5 in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1359,Report the city with the 5th highest NCAP funding relative to its median PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1360,"During the past two years in Ankleshwar, on which date was the PM2.5 level the second lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1361,Determine which city got the 5th lowest NCAP funding with respect to the standard deviation of its PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1362,"Identify the station with the minimum 75th percentile for PM2.5 on March 31, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1363,Determine the station exhibiting the highest median PM2.5 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1364,How many stations in Odisha surpassed 75 µg/m³ of PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1365,How many times did Haryana go above 90 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1366,How many times did Odisha go above 30 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1367,Determine the city exhibiting the lowest 25th percentile of PM2.5 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1368,Identify the city exhibiting the 2nd highest average PM10 during the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1369,"Which state (excluding Union Territories) shows the minimum PM10 concentration per square kilometer, using the variance of PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
1370,Identify the state with the lowest median PM2.5 for April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1371,"In November 2020, identify the city with the 3rd highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1372,How many times did Chandigarh surpass 45 µg/m³ of PM2.5 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1373,"In 2022, which week of the year was associated with the second-highest median PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1374,Determine the city with the 3rd lowest median PM10 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1375,"Which state experienced the highest average PM10 concentration on January 5, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1376,Determine the state that recorded the 2nd highest average PM2.5 over the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1377,Which city recorded the 3rd lowest 25th percentile of PM2.5 in April 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1378,Determine the city with the lowest median PM10 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1379,"In June 2024, report the state with the lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1380,"In January 2021, identify the city with the 2nd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1381,Report which state possessed the third highest average PM2.5 throughout the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1382,"Which state with a land area below 50,000 km² shows the highest PM2.5 level, according to its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
1383,Which city had the 3rd highest 25th percentile of PM2.5 in July 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1384,How many times did Bihar surpass 90 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1385,"In March 2024, which station recorded the 2nd highest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1386,Report the city that had the 2nd lowest median PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1387,Report the state with the 4th lowest NCAP funding considering its total PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1388,"Across all recorded years, which March showed the third-lowest average PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1389,Report the city with the lowest median PM10 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1390,Determine the state with the 2nd lowest 75th percentile of PM2.5 in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1391,Report the state with the 2nd lowest 25th percentile of PM10 in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1392,"Within the last five years in Nanded, on what date was the PM2.5 level the second highest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1393,Determine the union territory that has the 4th lowest average PM10 concentration relative to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1394,Determine the state exhibiting the 2nd lowest average PM10 over the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1395,How many times did Haldia city exceed the Indian guideline for PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1396,Identify the state that saw the least significant fall in median PM2.5 levels when comparing December 2018 to October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1397,Report the station with the 3rd lowest 75th percentile of PM10 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1398,"For 2019, which weekday experienced the second-lowest average PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1399,Which station had the 2nd lowest average PM10 in March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1400,"On August 15, 2018, which city showed the third-lowest PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1401,During which financial year was the variance in NCAP funding release the smallest among cities?,"
[]
"
1402,Identify the state showing the highest 75th percentile of PM10 concentration in relation to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1403,How many times did Ghaziabad city go above 30 µg/m³ of PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1404,"Identify the city with the lowest PM2.5 measurements on January 14, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1405,How many times did Anantapur city go above the WHO guideline for PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1406,Identify the state with the 3rd lowest median PM10 for October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1407,Identify the city with the 2nd lowest 75th percentile of PM10 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1408,"On January 14, 2019, which station recorded the lowest PM2.5 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1409,How many times did Karnataka city go above the WHO guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1410,Determine the state exhibiting the 3rd highest 75th percentile of PM2.5 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1411,Which state showed the 3rd lowest 75th percentile of PM2.5 in the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1412,Which state registered the peak 25th percentile of PM10 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1413,Report the state with the 2nd highest median PM10 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1414,"In April 2022, report the state with the highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1415,"In April 2021, which state exhibited the 3rd lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1416,"Considering all years, which September experienced the lowest 75th percentile for PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1417,Determine the third-highest PM2.5 value recorded in 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1418,Which station had the highest median PM10 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1419,Which station recorded the 2nd lowest 75th percentile of PM2.5 in June 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1420,Which state experienced the third least significant drop in its average PM10 levels between October and December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1421,"Which city had the lowest PM10 readings on January 14, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1422,Identify the station that recorded the lowest median PM10 value in March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1423,Which station experienced the highest median for PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1424,Which state possessed the highest 75th percentile for PM10 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1425,Which city had the 3rd lowest NCAP funding with respect to its median PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1426,Determine the state that showed the 3rd highest average PM2.5 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1427,Which state registered the minimum 25th percentile of PM10 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1428,Which Indian station recorded the 3rd lowest PM10 levels for a single day in the past decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'eq_rank', 'rank': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1429,Determine the station that recorded the 3rd highest average PM10 over the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1430,Determine the station with the 2nd lowest 75th percentile of PM2.5 in June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1431,"Which union territory exhibits the 3rd maximum PM10 concentration per square kilometer, based on 25th percentile PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
1432,Identify the city with the 3rd highest median PM10 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1433,Name the station showing the second-highest median PM10 for August 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1434,Report the state that was granted the 3rd highest NCAP funding with respect to the variance of its PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1435,Identify the city with the 3rd highest percentage utilization of its allocated NCAP funds as of June 2022.,"
[{'op': 'SORT', 'params': {'col': 'utilisation_percent', 'ascending': False}}]
"
1436,Report the station that had the 2nd highest 75th percentile of PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1437,Determine which city was granted the 4th lowest NCAP funding considering its 25th percentile of PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1438,Which city had the 2nd lowest 75th percentile of PM10 in January 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1439,Which city recorded the 3rd highest 75th percentile of PM10 in August 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1440,Identify the city exhibiting the third highest 25th percentile of PM2.5 during the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1441,Report which state experienced the third lowest 25th percentile of PM2.5 throughout the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1442,Which city registered the highest average PM2.5 during December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1443,"In July 2019, report the city with the 3rd highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1444,"In August 2021, which city exhibited the 3rd lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1445,Which state registered the 2nd highest average PM2.5 during February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1446,What count of Andhra Pradesh stations went above the Indian guideline for PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1447,"Report which state, from those with populations above the 25th percentile, receives the 3rd lowest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
1448,Identify the city that recorded the 2nd lowest average PM10 value in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1449,How many stations in Kerala surpassed 30 µg/m³ of PM2.5 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1450,Which state registered the peak median PM10 during the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1451,Name the station with the absolute lowest average PM10 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1452,Identify the city that recorded the 2nd lowest 25th percentile of PM2.5 value in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1453,Which station exhibited the largest decrease in its 75th percentile PM2.5 levels between October and December of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1454,"Across all recorded years, which December was associated with the second-lowest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1455,Which city recorded the 3rd lowest 25th percentile of PM2.5 in October 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1456,"In the COVID-19 lockdown period of April 2020, which city experienced the third-highest PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1457,Identify the state with the lowest 75th percentile for PM10 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1458,"On March 31, 2021, which state recorded the minimum average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1459,Which union territory was the 2nd most polluted based on per capita PM10 exposure during 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
1460,"On March 31, 2020, which city recorded the second-highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1461,Which station showed the 3rd lowest 25th percentile of PM10 in the Winter season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1462,"Which state (excluding UTs) possesses the 3rd smallest population among the top 10 most polluted states, determined by median PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1463,Name the state with the second-highest 25th percentile for PM10 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1464,Report the station with the 3rd highest average PM2.5 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1465,"In August 2022, identify the station with the 2nd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1466,"In 2023, which state showed the second largest decrease in its average PM2.5 levels comparing December to October?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1467,"Across all recorded years, which May experienced the third-lowest average PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1468,Which station registered the second-highest PM2.5 levels during the COVID-19 lockdown in April 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1469,Find the city with the second-lowest mean PM10 reading for September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1470,"In October 2019, which state registered the highest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1471,Report the state with the 2nd highest NCAP funding considering its 75th percentile of PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1472,Identify the city with the 3rd highest average PM2.5 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1473,Identify the city with the lowest 75th percentile of PM2.5 for January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1474,Which station recorded the minimum 25th percentile for PM2.5 in November 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1475,"Comparing December 2019 to October 2019, which state showed the second most significant drop in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1476,"On August 15, 2023, which city recorded the minimum PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1477,Which state recorded the 3rd highest 75th percentile of PM2.5 in January 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1478,Report which station documented the second most minimal stable PM10 level.,"
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'std', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1479,Identify the state with the 2nd highest average PM2.5 for October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1480,Identify the state that showed the second highest 75th percentile of PM2.5 during the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1481,"Comparing July 2019 with July 2020, which state experienced the largest increase in its 75th percentile PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1482,Report the station that had the highest 75th percentile of PM2.5 in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1483,"On March 31, 2019, which station recorded the second-highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1484,Which city had the 3rd lowest average PM10 in November 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1485,"Considering 2020, what week number displayed the second-lowest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
1486,Which city recorded the 2nd lowest average for PM2.5 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1487,Which station noted the 3rd maximum 25th percentile of PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1488,"Considering 2018, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the third-highest 25th percentile for PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'season'}}]
"
1489,"In 2019, which week experienced the maximum median PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
1490,Report the city with the lowest median PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1491,How many times did Bangalore city exceed the Indian guideline for PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1492,Which city got the 2nd highest NCAP funding considering the standard deviation of its PM10 concentration in 2022 (FY 2021-22)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1493,Identify the station with the 2nd lowest median PM10 in August 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1494,Identify the city with the highest median PM10 for July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1495,How many times did Muzaffarpur city exceed 90 µg/m³ of PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1496,"In January 2018, report the state with the 2nd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1497,Which state registered the 2nd lowest 25th percentile of PM2.5 during January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1498,Which state noted the 2nd highest 25th percentile of PM10 in the Winter season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1499,Which station recorded the 3rd lowest median PM2.5 in the Winter season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1500,Identify the station with the highest median PM10 in September 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1501,Which city registered the minimum 75th percentile of PM10 during the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1502,Report the city that had the 3rd lowest median PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1503,Identify the state with the highest average PM10 concentration for May 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1504,"In December 2023, which state recorded the 2nd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1505,Which station registered the 3rd highest median PM10 during September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1506,Which station possessed the highest 25th percentile for PM2.5 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1507,"Which city showed the third-highest PM2.5 levels on August 15, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1508,"Which state (excluding Union Territories) has the 3rd minimum land area among the top 10 most polluted states, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1509,Which station showed the 2nd highest 75th percentile for PM2.5 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1510,Report which state experienced the most minimal median PM2.5 throughout the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1511,Name the city with the highest median PM10 value in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1512,Which station had the lowest 25th percentile of PM2.5 in November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1513,"Which union territory has the 2nd maximum PM10 concentration per square kilometer, based on median PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
1514,Determine the station exhibiting the lowest 25th percentile of PM10 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1515,Which station recorded the peak 75th percentile of PM2.5 during the Winter season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1516,Which state received the lowest NCAP funding relative to the standard deviation of its PM2.5 concentration in 2021 (FY 2020-21)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1517,Which state experienced the 2nd highest average PM2.5 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1518,Report which city registered the peak median PM10 throughout the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1519,Determine the city exhibiting the 3rd most minimal 25th percentile of PM2.5 over the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1520,Determine the station with the highest 75th percentile of PM2.5 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1521,Which state registered the peak median PM2.5 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1522,"Which state (excluding UTs) possesses the 3rd smallest population among the top 3 most polluted states, determined by total PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1523,Identify the city that recorded the highest 25th percentile of PM10 value in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1524,Report the city with the highest 75th percentile of PM2.5 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1525,"On August 15, 2021, which station registered the second-lowest PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1526,Identify the station that showed the second lowest average PM10 during the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1527,"In August 2022, report the state with the 2nd lowest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1528,Identify the state that recorded the 2nd highest median PM2.5 value in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1529,"Considering all years, which March registered the maximum 75th percentile for PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1530,Determine the 2nd most polluted union territory concerning per capita PM10 exposure in 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
1531,Report which station possessed the third lowest 25th percentile of PM2.5 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1532,Identify the city that recorded the peak 75th percentile of PM2.5 during the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1533,Determine the station with the 3rd highest median PM2.5 in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1534,"In July 2022, identify the station with the lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1535,"In August 2023, identify the state with the 3rd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1536,"For 2019, which weekday experienced the highest 25th percentile of PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1537,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the minimum 25th percentile of PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'season'}}]
"
1538,"Which state (excluding Union Territories) possesses the 3rd smallest land area among the top 3 most polluted states, based on the 25th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1539,Report the state that had the 3rd lowest 25th percentile of PM10 in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1540,Which state recorded the peak median PM2.5 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1541,"In October 2019, which station registered the lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1542,Identify the state with the 3rd highest 25th percentile of PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1543,Report the state with the 5th highest NCAP funding considering its 25th percentile of PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1544,Identify the state with the 3rd highest average PM2.5 for September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1545,"Identify the state (excluding UTs) with the 3rd smallest population among the top 3 most polluted states, based on median PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1546,"On March 31, 2020, which state had the third-lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1547,"In 2021, which station will rank with the largest reduction in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1548,Identify the state that registered the second highest 25th percentile for PM10 historically.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1549,Which station showed the 3rd lowest average for PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1550,"Identify the state with the minimum median PM10 on March 31, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1551,Report which state possessed the 2nd highest 25th percentile of PM10 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1552,Which state recorded the 3rd highest 25th percentile of PM10 in February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1553,Identify the station that recorded the 3rd highest 25th percentile of PM10 value in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1554,"Considering all years, which January was associated with the second-lowest 25th percentile of PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1555,"Identify the city with the second-highest average PM2.5 level on January 5, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1556,How many times did Raichur city go above the WHO guideline for PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1557,Report which state experienced the 2nd most minimal median PM2.5 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1558,Which state had the highest average PM2.5 in July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1559,Which city displayed the 3rd highest average PM10 in August 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1560,"Report the state (excluding UTs) having the 3rd largest population among the top 3 most polluted states, when pollution is measured by 25th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1561,Which station showed the 2nd lowest 25th percentile for PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1562,Identify the most polluted state concerning per capita PM10 exposure in 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
1563,Report which city experienced the 2nd most minimal 75th percentile of PM2.5 throughout the Post-Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1564,"Considering all years, which February showed the third-highest median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1565,Report the city with the 3rd lowest median PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1566,Which state registered the lowest 25th percentile of PM2.5 during June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1567,Identify the state that experienced the second highest drop in average PM10 levels when comparing December 2021 to October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1568,Determine the city exhibiting the 2nd highest 75th percentile of PM2.5 over the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1569,Which city was second in terms of highest average PM10 for September 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1570,"Identify the state with the maximum PM10 level on January 27, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1571,Which city registered the 3rd highest 75th percentile of PM2.5 during September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1572,Which union territory in India has the lowest count of monitoring stations when considering its population?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'nunique', 'col': 'station'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'stations_per_million', 'numerator': 'station', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'stations_per_million', 'ascending': True}}]
"
1573,Report the city with the highest 75th percentile of PM10 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1574,"Which state with a land area below 50,000 km² shows the 3rd highest PM10 level, according to its median PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1575,Which city registered the 3rd lowest 25th percentile of PM10 during January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1576,"Taking all years into account, which May had the second-highest 25th percentile for PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1577,How many times did Malegaon city surpass 75 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1578,"On March 31, 2018, which station had the third-lowest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1579,Which city recorded the minimum 75th percentile of PM10 during the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1580,Identify the city that recorded the 3rd highest 25th percentile of PM10 value in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1581,Which station had the highest 75th percentile of PM10 in October 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1582,"In September 2020, identify the state with the lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1583,"In 2022, which season (Winter, Summer, Monsoon, Post-Monsoon) was associated with the second-lowest 75th percentile of PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
1584,Determine the state with the 2nd lowest median PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1585,Identify the station with the 3rd highest median PM2.5 in January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1586,Which state registered the 2nd lowest 25th percentile of PM2.5 during November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1587,Identify the state that registered the peak median PM10 during the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1588,"Which union territory with a land area greater than 1,000 km² shows the lowest PM2.5 level, based on its average PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1589,Which station had the 2nd highest 75th percentile of PM10 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1590,Report which station registered the 2nd highest average PM2.5 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1591,Which state registered the highest 75th percentile of PM10 during April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1592,Identify the state that recorded the highest median PM2.5 value in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1593,"In July 2020, which station exhibited the 2nd highest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1594,"In October 2024, identify the station with the 3rd highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1595,Which station had the highest 25th percentile of PM2.5 in April 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1596,"Identify the state (excluding UTs) with the 3rd smallest population among the top 5 most polluted states, based on median PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1597,What was the third-lowest PM2.5 level measured in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1598,Which station had the 2nd highest average PM2.5 in December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1599,Report which state experienced the 2nd highest 75th percentile of PM10 throughout the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1600,Report the state with the 2nd lowest 25th percentile of PM2.5 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1601,"For November 2020 relative to November 2019, which station had the most substantial increase in its 75th percentile PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1602,"In March 2021, which city displayed the 3rd highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1603,How many stations in Mizoram went above the Indian guideline for PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1604,Report the station with the 3rd highest 75th percentile of PM10 in October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1605,Which station recorded the highest 75th percentile of PM10 in November 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1606,Report the city that had the 3rd lowest median PM10 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1607,"Report the state (excluding UTs) having the smallest population among the top 10 most polluted states, when pollution is measured by median PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1608,Report the state receiving NCAP funding that shows the 2nd lowest PM10 levels.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
1609,"For 2018, identify the week of the year with the second-highest median PM2.5 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1610,Determine the city exhibiting the 2nd most minimal 25th percentile of PM10 over the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1611,Report which station registered the 2nd highest median PM10 throughout the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1612,"Identify the state that had the second-lowest PM10 concentrations on August 15, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1613,How many times did Singrauli city go above 30 µg/m³ of PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1614,"For August 2020 relative to August 2019, which state had the most substantial increase in its 75th percentile PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1615,"Comparing April 2019 with April 2020, which state experienced the largest increase in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1616,Report which state documented the second highest average PM2.5 of all time.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1617,Identify the city that recorded the 3rd highest median PM10 value in October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1618,Which city recorded the highest 75th percentile of PM2.5 in April 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1619,"In 2023, which weekday experienced the maximum 25th percentile of PM2.5 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1620,"Over the past three years in Darbhanga, on which date was the PM10 level the lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1621,Identify the state with the 3rd highest 75th percentile of PM2.5 in March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1622,Which state noted the peak 25th percentile of PM10 in the Winter season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1623,Determine the state that showed the 2nd lowest 75th percentile of PM2.5 over the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1624,"In April 2020, report the station with the 2nd lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1625,Identify the state with the 5th highest standard deviation of PM10 concentration in relation to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1626,Which station had the 2nd lowest 75th percentile of PM10 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1627,Which station noted the 2nd maximum 75th percentile of PM2.5 during the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1628,How many times did Kerala exceed 45 µg/m³ of PM2.5 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1629,"Determine which union territory has the smallest population among the top 2 most polluted union territories, based on average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
1630,Determine the station exhibiting the 2nd highest 25th percentile of PM10 over the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1631,"In August 2022, identify the state with the 3rd lowest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1632,Determine the city with the 2nd highest 75th percentile of PM2.5 in January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1633,Report the city that had the 2nd highest 75th percentile of PM10 in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1634,Report which state registered the 3rd most minimal 25th percentile of PM10 throughout the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1635,How many stations in Madhya Pradesh went above 45 µg/m³ of PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1636,Report the city that was granted the highest NCAP funding with respect to its total PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1637,How many times did Sri Ganganagar city go above the Indian guideline for PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1638,Report which station registered the 3rd highest average PM2.5 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1639,Identify the state that showed the second lowest median PM2.5 during the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1640,How many times did Haryana exceed the WHO guideline for PM2.5 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1641,"On March 31, 2022, which city had the second-highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1642,Identify the station with the 2nd highest 75th percentile of PM10 in October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1643,Report the union territory with the highest median PM2.5 concentration when considering population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1644,"Which state (excluding Union Territories) exhibits the 2nd lowest PM2.5 concentration per square kilometer, based on the standard deviation of PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
1645,Report the city with the 2nd highest median PM10 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1646,Report which city experienced the 2nd highest average PM10 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1647,"Which city recorded the second-lowest PM10 values on January 14, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1648,Name the city that was second in terms of highest median PM2.5 for September 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1649,"In May 2021, identify the state with the highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1650,Identify the station that recorded the highest median PM2.5 value in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1651,What count of Assam stations went above the Indian guideline for PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1652,Identify the state that saw the third most significant fall in average PM2.5 levels when comparing December 2023 to October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1653,"Identify the city that experienced the second-highest PM10 levels on August 15, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1654,How many times did Prayagraj city exceed 75 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1655,Which city had the 3rd highest 25th percentile of PM2.5 in September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1656,Which city noted the 2nd minimum median PM2.5 during the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1657,Report the station that had the 2nd highest median PM10 in January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1658,Which station recorded the highest average PM2.5 in March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1659,Determine the station with the 2nd highest 25th percentile of PM10 in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1660,Identify the state with the highest median PM2.5 in September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1661,"Which state (excluding Union Territories) has the 2nd lowest PM2.5 concentration per square kilometer, based on average PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
1662,How many stations in Punjab surpassed the WHO guideline for PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1663,Which station recorded the 3rd highest median PM2.5 in January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1664,"Which state (excluding Union Territories) possesses the 2nd smallest land area among the top 5 most polluted states, based on the standard deviation of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1665,Which city got the 5th highest NCAP funding considering its average PM10 concentration in 2021 (FY 2020-21)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1666,Identify the station with the 3rd lowest 75th percentile of PM10 in August 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1667,Determine the state exhibiting the highest 75th percentile of PM10 over the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1668,Report the state with the 3rd lowest 25th percentile of PM2.5 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1669,Identify the station that recorded the highest 75th percentile of PM10 value in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1670,Which state recorded the 2nd highest median PM10 in September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1671,Name the city with the lowest 25th percentile for PM2.5 in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1672,Which city recorded the minimum 75th percentile of PM10 in the Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1673,How many times did Telangana surpass 45 µg/m³ of PM2.5 in the year 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1674,Identify the station that showed the second highest median PM2.5 during the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1675,Determine the state with the highest 25th percentile of PM10 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1676,Report the state that had the 3rd lowest 75th percentile of PM10 in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1677,Which city had the lowest average PM10 in September 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1678,"Which state having a land area exceeding 50,000 km² registers the 2nd minimum PM2.5 level, based on its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1679,Report which city possessed the peak average PM10 throughout the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1680,Determine which state exhibits the 2nd lowest variance of PM10 concentration normalized by population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1681,Which city had the highest median PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1682,Which state had the 3rd lowest 75th percentile of PM10 in July 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1683,"Considering 2020, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the lowest average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'season'}}]
"
1684,Report the state that had the highest 75th percentile of PM2.5 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1685,"Which state (excluding Union Territories) has the 2nd minimum land area among the top 3 most polluted states, according to the 75th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1686,Determine the station with the lowest average PM2.5 in July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1687,Report the state with the 3rd highest 25th percentile of PM10 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1688,Which city experienced the most significant drop in its 25th percentile PM2.5 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1689,"Report the union territory having the second smallest population among the top 4 most polluted union territories, when pollution is measured by 25th percentile of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
1690,How many times did Gujarat surpass the WHO guideline for PM10 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1691,Report the state with the 2nd lowest 25th percentile of PM10 concentration in relation to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1692,"On January 5, 2021, which state registered the second-highest average PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1693,"In 2019, which station ranked second for the smallest decrease in median PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1694,Identify the state with the 2nd highest 75th percentile of PM10 for April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1695,Determine the city exhibiting the 2nd highest average PM10 over the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1696,Determine the 2nd most polluted state based on per capita PM10 exposure during 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
1697,"Among union territories with a population below the average, identify the one that receives the lowest per capita NCAP funding.","
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
1698,Determine the state exhibiting the 2nd highest average PM2.5 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1699,Identify the state with the 2nd lowest average PM2.5 in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1700,"Identify the city with the third-highest 75th percentile for PM10 on March 31, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1701,"On March 31, 2024, which station had the second-highest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1702,"Which station showed the second-highest 75th percentile for PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1703,Identify the state with the 3rd highest 75th percentile of PM10 for November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1704,Which state had the 3rd lowest 25th percentile of PM10 in December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1705,"Over all years, which July registered the maximum average PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1706,Which station registered the 2nd highest median PM2.5 during September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1707,Determine a week with Tiruchirappalli's 2nd highest PM10 levels over all these years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Tiruchirappalli'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1708,Which city had the 3rd lowest average PM10 in January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1709,Which state had the 3rd lowest 25th percentile of PM10 in June 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1710,Report the city with the highest NCAP funding considering its 25th percentile of PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1711,Which station had the highest 75th percentile of PM2.5 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1712,Determine the second-lowest PM2.5 reading from 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1713,Report the station that had the highest 25th percentile of PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1714,Identify the city that ranks third for the highest 75th percentile of PM10 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1715,Which city had the lowest 75th percentile of PM10 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1716,Determine the city with the 2nd lowest 25th percentile of PM10 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1717,"In 2018, which week of the year was associated with the third-highest 75th percentile for PM10 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
1718,Which station experienced the 3rd highest average for PM2.5 in the Summer season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1719,"In July 2022, which state registered the 3rd highest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1720,"Over the past four years in Aurangabad, on which date was the PM10 level the third highest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1721,Which state exhibited the second-highest 25th percentile for PM2.5 during July 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1722,Calculate the average PM2.5 level on Mondays in Delhi.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}}]
"
1723,"For 2018, which weekday experienced the third-lowest 25th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1724,"Within the last three years in Araria, on what date was the PM2.5 level the second highest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1725,Which city recorded the minimum 75th percentile of PM10 in the Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1726,Which city recorded the minimum 75th percentile for PM10 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1727,Which state had the second-most minimal 25th percentile of PM10 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1728,Report which state possessed the third highest 25th percentile of PM10 throughout the Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1729,What number of Rajasthan stations exceeded 45 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1730,Which station noted the 2nd minimum 25th percentile of PM2.5 during the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1731,Identify the city that received the 5th highest NCAP funding with respect to its average PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1732,"In December 2022, report the city with the 3rd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1733,Determine the state with the lowest 25th percentile for PM10 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1734,Determine the state exhibiting the 2nd lowest 75th percentile of PM2.5 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1735,Which station displayed the highest 25th percentile of PM2.5 in August 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1736,"In 2024, which state ranked with the third largest decrease in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1737,Which state showed the 2nd lowest 25th percentile of PM10 in February 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1738,"During March 31, 2021, which station exhibited the second-lowest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1739,Which state experienced the highest 25th percentile for PM2.5 in the Winter season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1740,"For the period October to December 2019, which state had the largest decrease in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1741,"Comparing December 2019 to October 2019, which state showed the most significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1742,"On January 14, 2022, which station had the third-lowest PM10 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1743,Which station noted the peak 75th percentile of PM10 during the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1744,Report the station with the 2nd lowest 75th percentile of PM2.5 in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1745,Identify the state that was the 3rd most polluted concerning per capita PM2.5 exposure in 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
1746,How many times did Kanchipuram city exceed the WHO guideline for PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1747,"On August 15, 2019, which station had the third-most elevated PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1748,"Which union territory has the 2nd minimum land area among the top 4 most polluted union territories, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
1749,Identify the city that recorded the 2nd highest 25th percentile of PM2.5 value in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1750,"Identify the state (excluding UTs) with the 2nd largest population among the top 10 most polluted states, based on 75th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1751,Identify the station with the 3rd highest 75th percentile of PM10 for December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1752,"On August 15, 2018, which state showed the third-highest PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1753,"For the year 2023, which season (Winter, Summer, Monsoon, Post-Monsoon) had the second-highest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
1754,"In September 2024, which state registered the 3rd lowest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1755,Determine the city with the 2nd highest median PM10 in September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1756,On which date in the previous two years did Hyderabad register its 2nd minimum PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1757,"Identify the state (excluding UTs) with the 2nd smallest population among the top 3 most polluted states, based on median PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1758,"In December 2018, identify the station with the 2nd lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1759,Determine the state with the 2nd highest 25th percentile of PM2.5 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1760,Which state had the highest average PM2.5 in September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1761,How many times did Puducherry city exceed 75 µg/m³ of PM2.5 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1762,"Which union territory with a land area below 1,000 km² shows the 2nd highest PM10 level, based on its total PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1763,"In July 2020, report the state with the lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1764,Which station registered the 2nd maximum 25th percentile of PM2.5 in the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1765,"For the year 2022, which weekday had the third-highest 25th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1766,"Comparing December 2023 to October 2023, which state showed the third least significant drop in 25th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1767,Report the state that had the lowest 25th percentile of PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1768,Determine the station exhibiting the 3rd lowest 75th percentile of PM2.5 in September 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1769,Identify the year when the average PM2.5 level was at its minimum.,"
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1770,Which station showed the 2nd highest 75th percentile for PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1771,Determine the station that recorded the most minimal median PM2.5 over the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1772,"Which union territory has the minimum land area among the top 2 most polluted union territories, according to the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
1773,"On January 27, 2018, which station documented the second highest PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1774,On which date in the past five years did Badlapur record its 2nd peak PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1775,Which city had the 3rd lowest median PM2.5 in January 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1776,Determine the station exhibiting the 2nd highest average PM10 over the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1777,"On March 31, 2021, which city recorded the third-highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1778,Which state registered the lowest 25th percentile of PM2.5 during January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1779,On which date in the last three years did Kollam record its 2nd highest PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
1780,What count of Uttar Pradesh stations surpassed 90 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1781,Determine the station exhibiting the highest average PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1782,Report the station with the 3rd highest 75th percentile of PM10 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1783,Identify the state that saw the least significant fall in 75th percentile PM10 levels when comparing December 2018 to October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1784,"On January 5, 2020, which state had the second-lowest average PM10 reading?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1785,Report the city that had the highest 25th percentile of PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1786,Identify the city with the second-lowest 75th percentile for PM10 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1787,Determine the state that showed the lowest 75th percentile of PM10 over the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1788,"In February 2018, which city displayed the 2nd lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1789,Identify the city with the 2nd highest average PM2.5 in June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1790,"Report the state (excluding UTs) having the smallest population among the top 5 most polluted states, when pollution is measured by average PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1791,Which city had the 2nd highest median PM10 in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1792,How many times did Nagaland go above the Indian guideline for PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1793,"In March 2018, which state recorded the highest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1794,"Identify the city that registered the highest PM10 levels on August 15, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1795,"Over all years, which March experienced the second-lowest 75th percentile for PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1796,"On August 15, 2019, which city experienced the third-highest PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1797,"Which state with a land area below 50,000 km² shows the 2nd lowest PM2.5 level, according to its variance of PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
1798,Identify the state that recorded the 2nd lowest median PM10 value in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1799,"Considering 2021, what day of the week had the third-highest 75th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
1800,Determine the state that showed the second highest 75th percentile of PM10 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1801,"On March 31, 2019, which city had the third-lowest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1802,Which city recorded the 3rd lowest 25th percentile of PM2.5 in May 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1803,"Which union territory possesses the 2nd largest land area among the top 2 most polluted union territories, based on the standard deviation of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
1804,"Within the last five years in Dausa, on what date was the PM2.5 level the third lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1805,"In May 2018, which city displayed the 3rd highest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1806,Which station registered the 3rd highest 25th percentile of PM10 during February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1807,"Considering all years, which February registered the minimum median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1808,Which state showed the highest 75th percentile of PM10 in August 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1809,"Considering all years, which April showed the highest 75th percentile for PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1810,Which state experienced the 3rd highest median for PM10 in the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1811,Identify the state with the third highest PM2.5 level on 27 January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1812,"In April 2024, report the state with the highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1813,"Report which state documented the minimum PM10 level on January 27, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1814,Identify the state with the 2nd lowest average PM2.5 in September 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1815,Which station noted the peak average PM2.5 during the Winter season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1816,Which station showed the 3rd highest 75th percentile for PM10 in the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1817,What date over the last four years noted Kota's highest PM10 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
1818,"In 2021, which week of the year corresponded to the second-highest average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
1819,Determine the station with the 3rd lowest average PM10 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1820,Which year corresponds to the third-lowest average PM2.5 concentration?,"
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
1821,Which city showed the 2nd highest 25th percentile for PM2.5 in the Summer season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1822,Determine the state that recorded the minimum 25th percentile for PM2.5 ever.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1823,Report the state that had the 3rd lowest 25th percentile of PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1824,Identify the city with the 3rd highest average PM2.5 for May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1825,"For the period October to December 2020, which station had the third smallest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1826,Which city had the third-highest mean PM10 concentration in February 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1827,"Which union territory possesses the 2nd smallest land area among the top 2 most polluted union territories, based on the 75th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
1828,What number of Jharkhand stations went above the WHO guideline for PM2.5 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1829,"Which union territory with a land area greater than 1,000 km² shows the 2nd highest PM2.5 level, based on its standard deviation of PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
1830,Report the city with the 3rd lowest 25th percentile of PM10 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1831,"In 2022, which city will rank second for the smallest reduction in 25th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1832,"Identify the city with the third-lowest 75th percentile for PM2.5 on March 31, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1833,How many times did Gujarat go above 75 µg/m³ of PM10 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1834,Report which station registered the most minimal 25th percentile of PM10 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1835,Identify the station with the minimum average PM10 reading for March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1836,Name the station with the highest 25th percentile for PM2.5 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1837,How many times did Samastipur city exceed 30 µg/m³ of PM10 in the year 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1838,What is the median PM10 level on Thursdays in Karauli?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karauli'}}]
"
1839,Which state showed the 2nd highest 25th percentile for PM2.5 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1840,"Which union territory exhibits the 3rd maximum PM2.5 concentration per square kilometer, based on average PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
1841,Which station noted the 2nd maximum 25th percentile of PM2.5 in the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1842,Report the station with the 2nd lowest median PM10 in July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1843,"In June 2022, which station exhibited the lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1844,Which city registered the lowest 75th percentile of PM10 during August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1845,Report which city possessed the 2nd most minimal 75th percentile of PM10 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1846,Report the city that had the lowest median PM10 in June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1847,Determine the state with the 3rd highest 25th percentile of PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1848,Which city experienced the 2nd highest 75th percentile for PM10 in the Winter season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1849,Which state exhibited the highest median PM2.5 during April 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1850,Report the city with the 3rd lowest median PM2.5 in March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1851,Determine which city had the 3rd highest NCAP funding considering its 75th percentile of PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1852,Identify the station that saw the second least significant fall in median PM2.5 levels when comparing December 2023 to October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1853,"On March 31, 2020, which state recorded the second-lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1854,Identify the state that showed the highest rise in its 75th percentile PM2.5 level from June 2019 to June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1855,Which station noted the peak 75th percentile of PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1856,"Within the last four years in Coimbatore, on what date was the PM2.5 level the second lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1857,Determine which state got the 2nd highest NCAP funding with respect to its average PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1858,Determine the state with the 3rd highest 25th percentile of PM2.5 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1859,Which state exhibited the highest 25th percentile for PM10 during August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1860,How many times did Bundi city go above 75 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1861,Determine the city with the 3rd lowest median PM10 in June 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1862,Report which city registered the second highest PM2.5 level on 27 January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1863,"Which state (excluding Union Territories) has the 3rd minimum land area among the top 5 most polluted states, according to the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1864,Report the station that had the highest 75th percentile of PM2.5 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1865,Which state noted the 2nd minimum median PM2.5 during the Winter season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1866,"Report the state (excluding UTs) having the 3rd largest population among the top 5 most polluted states, when pollution is measured by variance of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1867,How many times did Sikar city go above 30 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1868,Report the state with the 2nd lowest NCAP funding relative to the variance of its PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1869,"In January 2024, identify the state with the lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1870,Determine the city with the third highest PM2.5 level on 27 January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1871,Report the city that was granted the 4th lowest NCAP funding with respect to the standard deviation of its PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1872,"Which state (excluding UTs) possesses the smallest population among the top 5 most polluted states, determined by the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1873,Which station had the 3rd lowest median PM2.5 in May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1874,Determine which union territory shows the 2nd lowest average PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
1875,Identify the state with the 2nd lowest 75th percentile of PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1876,"In June 2019, which city recorded the highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1877,Report the city with the 2nd lowest 25th percentile of PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1878,Report the state with the 5th highest NCAP funding relative to the standard deviation of its PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
1879,Identify the city with the 2nd lowest 75th percentile of PM10 in September 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1880,Identify the state with the 2nd highest 25th percentile of PM2.5 for October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1881,Identify the union territory possessing the 3rd highest average PM2.5 concentration normalized by population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1882,"In February 2023, report the state with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1883,Identify the city that recorded the third lowest 25th percentile of PM10 during the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1884,How many times did Vijayapura city surpass 90 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1885,"Which state (excluding Union Territories) possesses the 2nd smallest land area among the top 3 most polluted states, based on the variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1886,Identify the state showing the 4th highest average PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
1887,Report the state with the highest 75th percentile of PM2.5 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1888,Identify the station that saw the second most significant fall in average PM2.5 levels when comparing December 2019 to October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1889,Which state registered the 3rd maximum 25th percentile of PM2.5 in the Winter season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1890,Determine the city allocated the least NCAP funding.,"
[]
"
1891,"Report which union territory, out of those with populations above the average, obtains the lowest per capita NCAP funding.","
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
1892,Which state with NCAP funding records the highest PM2.5 concentration?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
1893,Identify the city that registered the 2nd most minimal average PM10 during the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1894,Which station registered the 3rd maximum 75th percentile of PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1895,Identify the city that received the 5th lowest NCAP funding with respect to its average PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1896,Determine the city with the 2nd highest average PM10 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1897,Which city experienced the third least significant drop in its average PM10 levels between October and December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1898,Determine the state exhibiting the 2nd lowest average PM2.5 in August 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1899,Which station had the 2nd lowest median PM2.5 in September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1900,Report the station that had the 2nd highest median PM2.5 in September 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1901,"In March 2022, identify the station with the lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1902,Which city recorded the 2nd highest average PM2.5 in May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1903,"In 2018, which weekday experienced the second-lowest median PM10 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
1904,How many times did Thanjavur city exceed 75 µg/m³ of PM2.5 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1905,How many times did Haryana exceed the WHO guideline for PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1906,"Which state (excluding Union Territories) possesses the 2nd largest land area among the top 5 most polluted states, based on the 25th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1907,Which station had the 3rd highest 25th percentile of PM2.5 in May 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1908,Which state registered the 2nd maximum 25th percentile of PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1909,Report the state with the 3rd highest 75th percentile of PM2.5 in September 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1910,Determine the city exhibiting the 2nd highest average PM10 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1911,Which state showed the 2nd highest average PM10 in the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1912,Which state noted the peak 25th percentile of PM2.5 during the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1913,"Determine which state (excluding UTs) has the 2nd smallest population within the top 5 most polluted states, based on 75th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1914,Determine the city showing the highest 25th percentile of PM10 for February 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1915,"In February 2023, report the station with the 3rd lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1916,Report the station with the lowest average PM10 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1917,Report which state possessed the lowest 75th percentile for PM10 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1918,Name the station with the third-lowest 25th percentile for PM2.5 in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1919,Report which state registered the most minimal 25th percentile of PM2.5 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1920,Which city displayed the highest average PM2.5 in December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
1921,"Which state (excluding Union Territories) possesses the smallest land area among the top 5 most polluted states, based on the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
1922,"Which state (excluding Union Territories) presents the 2nd highest PM10 concentration per square kilometer, according to 75th percentile PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
1923,"Identify the state (excluding UTs) having the 2nd largest population among the top 10 most polluted states, based on 25th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1924,Which state experienced the most significant drop in its 25th percentile PM2.5 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1925,"Identify the state (excluding UTs) with the largest population among the top 3 most polluted states, based on 75th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1926,"Identify the state with the third-lowest median PM2.5 on March 31, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1927,"Comparing December 2023 to October 2023, which station showed the third most significant drop in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1928,Which state showed the 2nd lowest 75th percentile for PM2.5 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1929,Report which state documented the second highest 75th percentile for PM2.5 historically.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1930,Identify the station that recorded the 2nd lowest 25th percentile of PM2.5 value in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1931,"Which state (excluding Union Territories) has the largest land area among the top 3 most polluted states, according to average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1932,Identify the city with the 3rd highest 75th percentile of PM10 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1933,"In December 2020, which city exhibited the lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1934,Which state had the third-highest mean PM2.5 concentration in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1935,Which city registered the lowest 25th percentile of PM10 during November 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1936,Determine the station exhibiting the highest 25th percentile of PM10 in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
1937,"In Andhra Pradesh, what is the average PM10 concentration on Sundays?","
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}}]
"
1938,"Which state (excluding Union Territories) has the 2nd largest land area among the top 10 most polluted states, according to the 75th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1939,Identify the city that recorded the 3rd highest 75th percentile of PM2.5 value in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1940,Which station recorded the 2nd lowest 75th percentile of PM2.5 in March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1941,Report the state that had the lowest 25th percentile of PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1942,Which state showed the lowest average PM2.5 in February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1943,Which station possessed the 2nd lowest 25th percentile for PM2.5 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1944,"Which state with a land area greater than 50,000 km² shows the maximum PM10 level, according to its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
1945,Identify the station that recorded the 3rd lowest 75th percentile of PM2.5 value in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1946,Determine which city got the lowest NCAP funding with respect to its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1947,"In July 2018, which station registered the 3rd lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1948,"Determine which union territory has the second largest population within the top 4 most polluted union territories, based on total PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
1949,"Determine which state (excluding UTs) has the 3rd largest population within the top 10 most polluted states, based on average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1950,Which city recorded the 3rd highest median PM2.5 in January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1951,Determine the city exhibiting the 2nd highest 75th percentile of PM10 in May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1952,Determine the city with the 2nd highest 25th percentile of PM2.5 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1953,Which city possessed the 3rd lowest 25th percentile for PM2.5 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
1954,Identify the city that registered the lowest 75th percentile for PM10 during the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
1955,"Between May 2019 and May 2020, which city saw the largest upswing in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1956,"On March 31, 2024, which station had the second-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
1957,"Identify the station with the third-lowest 75th percentile for PM10 on March 31, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1958,"In October 2022, identify the station with the 2nd lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
1959,Identify the state that registered the second lowest 75th percentile of PM2.5 during the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
1960,"Which state (excluding Union Territories) possesses the 3rd largest land area among the top 3 most polluted states, based on the variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
1961,Identify the state that received the 4th lowest NCAP funding relative to the standard deviation of its PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1962,Report the city with the 2nd lowest average PM10 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1963,"In 2019, which week of the year was associated with the third-highest 25th percentile for PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
1964,How many times did Madhya Pradesh city exceed 90 µg/m³ of PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1965,Determine the state which was granted the 4th lowest NCAP funding considering the standard deviation of its PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1966,"Report which station had the minimum PM2.5 level on January 27, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1967,Which state had the 2nd highest 25th percentile of PM2.5 in September 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1968,Determine the state with the lowest 25th percentile of PM10 in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
1969,How many times did Andhra Pradesh go above the WHO guideline for PM2.5 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1970,Which station showed the lowest 75th percentile for PM10 in the Summer season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1971,Identify the state that registered the peak 75th percentile of PM10 during the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
1972,Determine the state that registered the second highest 75th percentile of PM2.5 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1973,How many times did Guwahati city go above 30 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1974,"Comparing December 2023 to October 2023, which state showed the most significant drop in median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1975,Report the city with the 2nd highest average PM2.5 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1976,Report the station with the 3rd lowest average PM10 in May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
1977,Identify the city that registered the second lowest 25th percentile of PM10 during the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
1978,"Considering all years, which January registered the minimum 25th percentile for PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1979,Which city experienced the 3rd highest 75th percentile for PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1980,Report the city with the 5th most significant reduction in funding between FY 2020-21 and FY 2021-22.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'change'}}, {'op': 'SORT', 'params': {'col': 'change', 'ascending': False}}]
"
1981,How many stations in Andhra Pradesh went above 90 µg/m³ of PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1982,Report the state that had the 3rd highest median PM10 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1983,Identify the state with the 2nd highest 25th percentile of PM10 for April 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
1984,"Considering all years, which January was associated with the lowest 25th percentile of PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
1985,"For the period October to December 2023, which city had the third smallest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
1986,How many times did Kalyan city go above the WHO guideline for PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
1987,Which state had the 3rd highest average PM2.5 in January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
1988,Which city experienced the 2nd highest 75th percentile for PM2.5 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1989,Determine the city with the 2nd highest median PM10 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
1990,Report the city with the 4th lowest NCAP funding relative to its 75th percentile of PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
1991,What is the mean PM10 value on Saturdays in Tamil Nadu?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}}]
"
1992,"Which state (excluding UTs) possesses the 2nd smallest population within the top 10 most polluted states, determined by standard deviation of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
1993,"On August 15, 2022, which station had the minimum PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1994,Report the state with the 3rd lowest average PM10 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1995,"Identify the state with the third-lowest average PM2.5 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
1996,Which city displayed the 3rd highest 25th percentile of PM10 in August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
1997,Which station had the 3rd highest 75th percentile of PM10 in December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
1998,Identify the station with the lowest average PM10 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
1999,Identify the city with the 3rd highest median PM2.5 for February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2000,Determine the station that recorded the 3rd highest median PM2.5 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2001,"On August 15, 2020, which state had the third-most elevated PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2002,How many times did Himachal Pradesh exceed the WHO guideline for PM10 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2003,"In 2022, on which day of the week were average PM2.5 pollution levels the second highest?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2004,Determine the city exhibiting the peak median PM2.5 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2005,Report which state experienced the 2nd most minimal 75th percentile of PM10 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2006,"Which state showed the second-highest 25th percentile for PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2007,Determine the station exhibiting the lowest median PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2008,"For the year 2019, which weekday had the third-highest 75th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2009,Determine the average PM10 level on Tuesdays in Assam.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}}]
"
2010,"In January 2020, report the station with the 2nd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2011,Identify the station that recorded the third highest 25th percentile of PM10 during the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2012,Which station registered the 3rd lowest median PM10 in the Winter season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2013,Which state noted the peak average PM2.5 during the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2014,"On January 14, 2020, which station showed the second-highest PM2.5 values?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2015,Which city was second in terms of highest average PM10 for January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2016,Identify the city that recorded the highest 25th percentile of PM2.5 value in January 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2017,Determine the city with NCAP funding that has the 4th highest PM10 levels.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
2018,Identify the city with the 4th lowest NCAP funding considering the standard deviation of its PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2019,"On March 31, 2021, which city recorded the second-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2020,Report the station with the highest 25th percentile of PM10 in January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2021,Find the city with the highest median PM10 value in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2022,Which city had the highest median PM10 in January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2023,"Which state having a land area exceeding 50,000 km² registers the maximum PM2.5 level, based on its total PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
2024,Which city had the 3rd highest 25th percentile of PM10 in November 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2025,Which city recorded the minimum 25th percentile of PM2.5 during the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2026,Determine the city with the lowest median PM2.5 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2027,How many times did Aizawl exceed 30 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2028,Report which station possessed the 2nd most minimal 25th percentile of PM2.5 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2029,Identify the city that recorded the 2nd highest average PM10 value in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2030,Determine the highest PM10 reading from 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'PM10'}}]
"
2031,"For 2018, which weekday experienced the second-lowest 75th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2032,Report the city with the lowest 25th percentile of PM2.5 in February 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2033,Which station noted the 2nd minimum 75th percentile of PM2.5 during the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2034,What was the third-lowest PM2.5 concentration measured in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2035,Determine the station with the highest average PM2.5 value in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2036,"Considering all years, which November registered the minimum median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2037,Identify the city with the 3rd lowest 75th percentile of PM10 for September 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2038,Identify the state that received the 3rd highest NCAP funding with respect to its total PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2039,Identify the station with the lowest average PM2.5 in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2040,Which week in 2020 was linked to the second-highest median PM10 levels?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
2041,Which station recorded the peak median PM10 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2042,Determine the state that has the lowest average PM2.5 concentration relative to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2043,"In May 2023, which city recorded the 3rd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2044,"In August 2021, report the state with the 3rd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2045,Identify the city with the lowest NCAP funding considering its median PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2046,How many times did Meghalaya surpass 45 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2047,Which state had the highest average PM10 in August 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2048,Identify the city that recorded the third highest 25th percentile of PM2.5 during the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2049,"In Bileipada, which date in the previous two years had the highest PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2050,How many stations in Himachal Pradesh went above the WHO guideline for PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2051,Which station recorded the 3rd highest 75th percentile of PM2.5 during the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2052,Identify the city with the 3rd lowest NCAP funding considering its 75th percentile of PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2053,Report which state documented the lowest average PM10 level of all time.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2054,Which city experienced the third least significant drop in its 75th percentile PM2.5 levels between October and December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2055,Identify the station with the 3rd highest 25th percentile of PM10 for September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2056,"Which union territory has the 2nd highest land area among the top 2 most polluted union territories, according to average PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
2057,"Which state registered the third-most elevated PM2.5 levels on August 15, 2023?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2058,How many stations in Arunachal Pradesh surpassed the Indian guideline for PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2059,Which state recorded the highest 25th percentile for PM10 in the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2060,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the maximum median PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
2061,How many stations in Jharkhand exceeded 45 µg/m³ of PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2062,How many times did Kanpur city go above 90 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2063,On which date in the past three years did Dharuhera register its 3rd minimum PM2.5 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2064,"In the year 2020, which season (Winter, Summer, Monsoon, Post-Monsoon) recorded the highest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
2065,Which state registered the 3rd highest median PM10 during June 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2066,Report the state with the highest median PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2067,Which state recorded the lowest median PM10 reading for March 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2068,"Identify the state that had the third-highest PM10 values on January 14, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2069,Which station had the third-lowest 75th percentile for PM2.5 in November 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2070,Identify the city with the 2nd lowest median PM2.5 in January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2071,Determine the station with the 3rd highest average PM10 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2072,Which city registered the 3rd lowest median PM2.5 during June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2073,Report the city with the 3rd highest average PM2.5 in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2074,Which city exhibited the second largest decrease in its average PM2.5 levels between October and December of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2075,Report the state with the highest 75th percentile of PM2.5 in September 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2076,Determine the state exhibiting the 2nd highest average PM2.5 over the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2077,How many stations in Arunachal Pradesh surpassed 90 µg/m³ of PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2078,Which state registered the highest median PM2.5 during February 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2079,"In June 2019, identify the state with the highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2080,"On January 5, 2020, which station recorded the minimum average PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2081,Which city registered the lowest 25th percentile of PM10 during September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2082,What number of Kerala stations went above 30 µg/m³ of PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2083,How many times did Belgaum city exceed 45 µg/m³ of PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2084,Determine the station that recorded the 3rd lowest average PM10 over the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2085,Which city had the highest median PM10 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2086,Determine the station with the 2nd highest 25th percentile of PM2.5 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2087,Which city showed the lowest median PM10 in July 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2088,Which station registered the 3rd maximum median PM10 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2089,"Comparing December 2020 to October 2020, which station showed the second most significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2090,"In 2023, which week of the year corresponded to the second-lowest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
2091,Name the city with the second-lowest 25th percentile for PM10 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2092,Identify the city that registered the second highest stable PM2.5 level.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2093,Determine which state had the highest NCAP funding relative to its 75th percentile of PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2094,Report the state that had the 3rd lowest average PM2.5 in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2095,Report which state experienced the most minimal median PM10 throughout the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2096,Report which station possessed the 2nd highest 75th percentile of PM2.5 throughout the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2097,Determine the state which was granted the 5th lowest NCAP funding considering its 75th percentile of PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2098,Determine the city that recorded the 2nd most minimal 25th percentile of PM10 over the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2099,Identify the state that received the 2nd lowest NCAP funding relative to its median PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2100,Which state showed the 3rd lowest average PM10 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2101,Which state receiving NCAP funding has the 3rd lowest PM10 levels?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2102,Determine which city experienced the 4th highest decrease in funding between FY 2019-20 and FY 2021-22.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'change'}}, {'op': 'SORT', 'params': {'col': 'change', 'ascending': False}}]
"
2103,Determine the station exhibiting the 2nd most minimal 75th percentile of PM10 over the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2104,Which union territory was the most polluted based on per capita PM2.5 exposure during 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
2105,Which city showed the 3rd highest 75th percentile of PM10 in May 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2106,How many times did Barbil city exceed 45 µg/m³ of PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2107,How many stations in Telangana went above the WHO guideline for PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2108,Determine the state with the highest 75th percentile PM2.5 value in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2109,"In November 2019, identify the state with the lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2110,Which station experienced the third most significant drop in its median PM10 levels between October and December 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2111,Identify the station that recorded the lowest 25th percentile of PM10 value in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2112,Report the state with the 3rd highest 25th percentile of PM10 in September 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2113,Which city had the 2nd lowest 75th percentile of PM2.5 in January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2114,Which state exhibited the 2nd lowest median PM10 in November 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2115,Name the city showing the highest median PM2.5 for February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2116,Identify a week showing Panipat's minimum PM2.5 levels across the specified years.,"
[{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Panipat'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
2117,Identify the station that showed the peak average PM2.5 during the Summer season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2118,"Over the past four years in Damoh, on which date was the PM2.5 level the third lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2119,Identify the station with the 3rd lowest median PM2.5 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2120,Identify the state that registered the most minimal median PM2.5 during the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2121,Which city had the lowest median PM10 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2122,What date over the previous three years noted Chikkaballapur's highest PM10 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2123,How many times did Sawai Madhopur city go above 45 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2124,Which state had the highest 75th percentile of PM2.5 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2125,Identify the state that recorded the 2nd lowest 75th percentile of PM10 value in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2126,Which city showed the 2nd highest 25th percentile of PM10 in October 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2127,Which city experienced the second most significant drop in its median PM10 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2128,Which state registered the minimum median PM10 in the Winter season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2129,Which station recorded the 2nd highest average PM10 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2130,Which station had the 3rd highest 75th percentile of PM2.5 in June 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2131,"In February 2019, identify the station with the 3rd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2132,Which station recorded the 3rd lowest 25th percentile of PM10 during the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2133,Which state recorded the second-lowest average PM10 reading for September 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2134,"In July 2019, which state registered the lowest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2135,Identify the city with the lowest NCAP funding considering its total PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2136,Identify the station that recorded the 2nd lowest 75th percentile of PM10 value in August 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2137,How many times did Amritsar city surpass 75 µg/m³ of PM2.5 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2138,Report which station registered the peak median for PM10 throughout the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2139,Report which station registered the 3rd most minimal 25th percentile of PM2.5 throughout the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2140,Determine which state shows the highest standard deviation of PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
2141,Which Indian station registered the 3rd minimum PM2.5 levels for a single day in the previous decade?,"
[{'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'count'}}, {'op': 'SORT', 'params': {'col': 'count', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2142,Determine the state exhibiting the peak median PM10 over the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2143,How many times did Barmer city surpass 90 µg/m³ of PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2144,Which city had the second-lowest 75th percentile for PM10 in August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2145,Which week in 2021 was linked to the second-lowest 25th percentile for PM2.5 levels?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
2146,Which state recorded the 3rd highest 25th percentile of PM10 in March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2147,Report the city with the lowest median PM2.5 in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2148,How many times did Lucknow city go above the Indian guideline for PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2149,Determine the station with the 3rd lowest median PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2150,Which station had the 3rd highest 75th percentile of PM2.5 in July 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2151,"On March 31, 2021, which station recorded the second-lowest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2152,Identify the city that recorded the 2nd highest 25th percentile of PM2.5 value in January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2153,"On March 31, 2023, which station had the third-highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2154,Find the state with the highest 75th percentile for PM2.5 in February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2155,"In the year 2021, which season (Winter, Summer, Monsoon, Post-Monsoon) recorded the third-lowest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
2156,Report the city with the highest 75th percentile of PM2.5 in October 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2157,"Identify the state that had the third-highest PM10 readings on January 14, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2158,Which city noted the 2nd maximum average PM2.5 level?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2159,Which state recorded the 2nd lowest median PM2.5 during the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2160,Which city had the highest 25th percentile of PM10 in September 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2161,Name the state with the third-lowest 75th percentile for PM10 in May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2162,"On March 31, 2022, which city recorded the highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2163,Report which station registered the 3rd highest 25th percentile of PM10 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2164,"Which city recorded the second-lowest average PM2.5 reading on January 5, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2165,How many times did Gujarat go above 90 µg/m³ of PM2.5 in the year 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2166,"In September 2018, identify the state with the highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2167,Identify the city that recorded the 2nd highest average PM10 value in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2168,Which city recorded the lowest average PM2.5 value in November 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2169,"In May 2022, identify the station with the highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2170,Name the city showing the highest 25th percentile of PM10 for March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2171,Find the state that had the third-highest median PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2172,"Which city showed the third-lowest 25th percentile for PM10 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2173,Determine the state exhibiting the 3rd highest 75th percentile of PM2.5 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2174,"On January 27, 2022, which station documented the peak PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2175,Identify the state with the 3rd lowest 25th percentile of PM2.5 in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2176,"On March 31, 2021, which city had the minimum average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2177,Determine the state with the peak median PM2.5 concentration for June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2178,"Which union territory presents the lowest PM2.5 concentration per square kilometer, according to 25th percentile PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2179,Determine the station exhibiting the 3rd lowest 75th percentile of PM2.5 over the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2180,Which state documented the highest PM2.5 levels amidst the COVID-19 lockdown in April 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2181,"Which city showed the third-lowest 75th percentile for PM10 on March 31, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2182,Determine the state exhibiting the most minimal average PM2.5 over the Post-Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2183,Report the city that had the 3rd highest average PM2.5 in April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2184,"In 2021, which day of the week corresponded to the second-highest average PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2185,Determine the city that recorded the 3rd highest median for PM2.5 over the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2186,"On March 31, 2023, which state recorded the third-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2187,"Which state with a land area greater than 50,000 km² shows the 5th lowest PM2.5 level, according to its average PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2188,Which station had the third-highest 75th percentile for PM2.5 in April 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2189,Identify the union territory possessing the 4th lowest 75th percentile of PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2190,Which state registered the 3rd highest 25th percentile of PM2.5 during April 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2191,"Considering all years, which December had the third-highest 75th percentile for PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2192,Report which state registered the third highest median PM2.5 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2193,"Identify the state with the second-lowest PM2.5 concentrations on August 15, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2194,Identify the city that saw the third least significant fall in median PM10 levels when comparing December 2024 to October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2195,"In Navi Mumbai, which date in the previous five years showed the lowest PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2196,"Identify the station that recorded the third-highest average PM10 level on January 5, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2197,Which station had the 2nd highest median PM10 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2198,"On March 31, 2024, which station had the second-highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2199,Which station recorded the minimum median PM2.5 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2200,Identify the state that recorded the most minimal median PM2.5 during the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2201,"Which station showed the minimum 75th percentile for PM10 on March 31, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2202,Determine the second-highest PM2.5 value recorded in 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2203,Which city noted the maximum average PM2.5 level?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2204,Which station had the highest 25th percentile of PM10 in October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2205,"For the period October to December 2022, which city had the third smallest decrease in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2206,What is the median PM2.5 value on Tuesdays in Himachal Pradesh?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}}]
"
2207,Which city had the highest 25th percentile of PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2208,Identify the station with the 2nd lowest 75th percentile of PM2.5 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2209,Which city showed the 2nd highest 25th percentile for PM2.5 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2210,"Comparing October to December in 2023, which city experienced the second smallest reduction in its 75th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2211,Which state noted the 2nd maximum average PM10 during the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2212,"In 2023, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the maximum 25th percentile of PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
2213,Which city recorded the 2nd lowest average for PM2.5 in the Summer season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2214,Determine the city exhibiting the highest 75th percentile of PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2215,Identify the 3rd least polluted union territory regarding per capita PM10 exposure for 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
2216,"On March 31, 2021, which state recorded the third-lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2217,"Determine which state (excluding UTs) has the 2nd smallest population within the top 10 most polluted states, based on standard deviation of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2218,"In November 2022, which station showed the 3rd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2219,"Which state showed the third-lowest average PM10 on March 31, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2220,"On January 14, 2019, which state showed the lowest PM2.5 readings?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2221,"On March 31, 2024, which state had the second-lowest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2222,"Which state (excluding Union Territories) presents the lowest PM10 concentration per square kilometer, according to total PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2223,Determine the city with the highest median PM2.5 in March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2224,"In May 2022, which station exhibited the 3rd highest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2225,Identify the station with the 2nd lowest 25th percentile of PM2.5 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2226,"Identify the city with the second-highest median PM10 on March 31, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2227,Which city experienced the third least significant drop in its 25th percentile PM10 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2228,"On March 31, 2022, which station had the third-highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2229,Report the state with the 3rd lowest median PM2.5 in November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2230,Determine the station exhibiting the 2nd lowest 75th percentile of PM2.5 in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2231,How many times did Assam exceed 75 µg/m³ of PM10 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2232,How many times did Delhi exceed the Indian guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2233,Identify the state with the highest 25th percentile PM10 value in July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2234,Which station exhibited the highest median PM2.5 during June 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2235,Determine the city exhibiting the 2nd lowest 75th percentile of PM10 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2236,Identify the state with the lowest 25th percentile of PM10 for February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2237,Determine the city that recorded the 3rd lowest average PM10 over the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2238,Determine the city that recorded the 3rd highest 25th percentile of PM10 over the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2239,"Which state (excluding Union Territories) exhibits the minimum PM2.5 concentration per square kilometer, based on average PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2240,Which state was the 5th least polluted regarding per capita PM2.5 exposure in 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
2241,"Considering 2018, what week number displayed the second-highest average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
2242,"In June 2019, identify the city with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2243,Which city had the 3rd highest average PM10 in January 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2244,Determine the state which was the 3rd least polluted concerning per capita PM2.5 exposure in 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
2245,How many times did Tripura surpass the Indian guideline for PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2246,Which state recorded the second-highest 75th percentile of PM10 for February 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2247,Which city had the highest 25th percentile of PM10 in October 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2248,"Which station showed the second-highest 75th percentile for PM2.5 on March 31, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2249,Identify the state with the 4th highest NCAP funding considering its 75th percentile of PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2250,Report the state with the lowest 75th percentile of PM2.5 in September 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2251,"Identify the city with the highest average PM2.5 on March 31, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2252,Which state showed the 2nd lowest 75th percentile for PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2253,"Which state (excluding UTs) possesses the smallest population among the top 5 most polluted states, determined by the 25th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2254,Identify the station that registered the peak 25th percentile of PM10 during the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2255,Which station noted the 3rd lowest average PM10 in the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2256,"In 2019, which state will rank with the third largest reduction in 25th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2257,"Considering 2021, what season (Winter, Summer, Monsoon, Post-Monsoon) had the third-highest 75th percentile of PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'season'}}]
"
2258,Determine the station exhibiting the 3rd highest 25th percentile of PM10 over the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2259,Identify the state with the 3rd lowest average PM2.5 for January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2260,Report the station that had the highest 75th percentile of PM2.5 in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2261,Identify the station that recorded the third highest 25th percentile of PM10 during the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2262,Report which city registered the peak 25th percentile of PM2.5 throughout the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2263,Identify the state exhibiting the third most minimal 25th percentile of PM2.5 during the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2264,"Determine the station showing the third lowest PM2.5 level on January 27, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2265,Which state had the highest average PM10 in September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2266,Which city noted the minimum 75th percentile of PM10 in the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2267,Identify the state that recorded the 2nd highest 75th percentile of PM10 value in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2268,Report the state showing the 3rd lowest total PM10 concentration adjusted for population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2269,Identify the city that showed the second lowest average PM2.5 during the Winter season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2270,Determine the station exhibiting the 2nd highest median PM10 in December 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2271,Which station showed the highest median PM10 value in June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2272,Report which city experienced the 2nd highest average PM2.5 throughout the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2273,"In 2019, which day of the week corresponded to the highest median PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2274,Which city experienced the most significant drop in its 75th percentile PM2.5 levels between October and December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2275,Determine the city exhibiting the 2nd most minimal average PM2.5 over the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2276,"For Ramanagara, what date in the last two years showed the second-highest PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2277,"In Chandrapur, which date in the previous three years showed the lowest PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2278,Which state registered the 2nd maximum median PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2279,"Identify the station with the second-lowest PM2.5 values on January 14, 2021.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2280,Which city showed the 2nd highest 25th percentile of PM10 in October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2281,"Identify the station that recorded the second-highest PM10 measurements on January 14, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2282,"Which station showed the second-highest median PM10 on March 31, 2023?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2283,"On January 14, 2023, which state showed the third-lowest PM10 readings?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2284,"Considering 2023, what day of the week had the third-highest 75th percentile of PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2285,"Which city showed the minimum median PM10 on March 31, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2286,Determine the state with the lowest median PM2.5 in March 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2287,"Which state, out of those with populations exceeding the median, is allocated the lowest per capita NCAP funding?","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
2288,"Which union territory shows the 2nd minimum PM10 concentration per square kilometer, using total PM10 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM10', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2289,"In 2018, which weekday was associated with the third-highest 75th percentile of PM10 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2290,Which city experienced the most significant drop in its median PM10 levels between October and December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2291,Find the city that was second in terms of highest average PM2.5 for May 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2292,Which city recorded the minimum median PM10 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2293,"Which state having a land area exceeding 50,000 km² registers the 5th minimum PM10 level, based on its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2294,How many times did Karnataka surpass the Indian guideline for PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2295,How many times did Sasaram city exceed 75 µg/m³ of PM10 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2296,Which city had the lowest 75th percentile of PM2.5 in August 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2297,Which state had the most pronounced increase in median PM10 levels when comparing November 2019 to November 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2298,Report which city possessed the third highest median PM2.5 throughout the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2299,"Over the past four years in Rajsamand, on which date was the PM2.5 level the second highest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2300,"Considering all New Year's Eves, which station had the third-lowest recorded PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2301,"For 2018, identify the season (Winter, Summer, Monsoon, Post-Monsoon) with the highest 25th percentile of PM10 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
2302,"In January 2023, report the city with the 2nd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2303,"Determine which state (excluding UTs) has the smallest population within the top 5 most polluted states, based on median PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2304,"Identify the station with the third-lowest 25th percentile for PM10 on March 31, 2024.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2305,"In February 2019, identify the state with the 2nd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2306,What date during the last two years showed Dharwad's peak PM10 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2307,Report which city experienced the 2nd highest median PM10 throughout the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2308,How many times did Brajrajnagar city go above the WHO guideline for PM10 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2309,Which city got the 5th highest NCAP funding considering its median PM2.5 concentration in 2021 (FY 2020-21)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2310,"Which union territory possesses the smallest population among the top 2 most polluted union territories, determined by total PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
2311,"Identify the city with the second-lowest 25th percentile for PM10 on March 31, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2312,Which city recorded the 2nd highest 75th percentile of PM2.5 in May 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2313,Identify the station that saw the third least significant fall in average PM10 levels when comparing December 2020 to October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2314,Which state showed the 3rd lowest median PM2.5 in March 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2315,How many stations in Katni exceeded the WHO guideline for PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2316,Which city received the 5th lowest NCAP funding relative to its total PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2317,How many times did Jammu and Kashmir Sharif city surpass 75 µg/m³ of PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2318,Which city had the highest 75th percentile of PM2.5 in March 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2319,"Comparing December 2023 to October 2023, which city showed the second least significant drop in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2320,Identify the state with the 2nd lowest average PM2.5 for March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2321,"In February 2022, report the city with the 3rd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2322,"Identify the state (excluding UTs) with the 2nd smallest population among the top 10 most polluted states, based on 75th percentile of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2323,Identify the city that recorded the 2nd lowest median PM2.5 value in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2324,Which city registered the 3rd maximum median PM10 in the Summer season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2325,Identify the week in 2019 that registered the third-lowest average PM2.5 levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'week'}}]
"
2326,Determine the state exhibiting the 2nd highest average PM10 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2327,Which station possessed the 2nd lowest average for PM2.5 in the Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2328,"Report the state (excluding UTs) having the 3rd smallest population within the top 3 most polluted states, when pollution is measured by standard deviation of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
2329,Identify the city with the 3rd lowest median PM10 in July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2330,How many times did Ambala city surpass the Indian guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2331,"On January 14, 2024, which city had the second-lowest PM2.5 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2332,Determine the station exhibiting the most minimal 25th percentile of PM10 over the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2333,"In September 2021, identify the state with the highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2334,"Across all recorded years, which February had the third-lowest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2335,Determine which city got the 3rd lowest NCAP funding with respect to its average PM2.5 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2336,"In December 2021, report the station with the highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2337,Identify the station that recorded the 2nd lowest median PM10 value in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2338,Which city registered the 3rd lowest median PM2.5 during January 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2339,Name the state with the lowest average PM10 reading for December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2340,"In October 2022, which city recorded the 2nd lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2341,How many times did Alwar city surpass 30 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2342,Report the total land area of the union territory showing the 3rd maximum combined PM2.5 and PM10 concentrations.,"
[{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'combined', 'ascending': False}}]
"
2343,How many times did Karnataka exceed 30 µg/m³ of PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2344,What is the median PM2.5 value on Wednesdays in Tripura?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}}]
"
2345,Report the state with the 3rd lowest average PM2.5 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2346,Determine the state exhibiting the 3rd most minimal average PM10 over the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2347,How many times did Muzaffarnagar city go above 45 µg/m³ of PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2348,"In 2023, which station ranked with the second smallest decrease in average PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2349,"In February 2022, identify the station with the 3rd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2350,"In 2023, which station ranked third for the most substantial fall in 75th percentile PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2351,Which station showed the 2nd highest 25th percentile for PM10 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2352,Which station had the 2nd highest average PM10 in May 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2353,"Which station showed the second-highest average PM2.5 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2354,Which station registered the 2nd lowest 25th percentile of PM2.5 during September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2355,Which station showed the third-lowest 25th percentile for PM2.5 in May 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2356,What was the third-lowest PM10 reading in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'PM10'}}]
"
2357,"Over the past five years in Ahmedabad, on which date was the PM2.5 level the third lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2358,Report the station that had the lowest average PM10 in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2359,Determine the city that ranks third for the highest 25th percentile of PM10 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2360,Which state had the 4th highest NCAP funding with respect to its total PM2.5 concentration in 2020 (FY 2019-20)?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2361,"Between April 2019 and April 2020, which state saw the largest upsurge in its 75th percentile PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2362,"In the year 2020, which week recorded the highest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
2363,Determine the state with the 2nd highest 25th percentile of PM2.5 in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2364,"In May 2022, report the state with the 2nd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2365,"In January 2019, identify the city with the 3rd lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2366,Identify the state that saw the least significant fall in median PM2.5 levels when comparing December 2020 to October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2367,"On January 14, 2019, which station had the second-highest PM10 measurements?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2368,"In December 2021, which city exhibited the 2nd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2369,Determine the state that recorded the 2nd most minimal median PM10 over the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2370,"Determine the city showing the minimum PM2.5 level on January 27, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2371,Identify the station exhibiting the peak 75th percentile of PM2.5 during the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2372,"For 2024, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the second-highest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'season'}}]
"
2373,Identify the state that saw the least significant fall in 25th percentile PM2.5 levels when comparing December 2024 to October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2374,"Identify the station with the second-lowest 25th percentile for PM10 on March 31, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2375,"Which state having a land area less than 50,000 km² registers the minimum PM2.5 level, based on its 75th percentile PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2376,Which station registered the 3rd lowest 75th percentile of PM10 during July 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2377,Determine the state that showed the highest average PM10 over the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2378,"Comparing December 2019 to October 2019, which state showed the third least significant drop in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2379,Identify the station that recorded the peak average PM10 during the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2380,"Across all recorded years, which July registered the second-lowest average PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2381,"Which state (excluding Union Territories) has the 2nd highest land area among the top 5 most polluted states, according to median PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2382,Report which state experienced the peak median PM2.5 throughout the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2383,Which city registered the 2nd lowest 25th percentile of PM10 during October 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2384,"In August 2022, report the station with the 3rd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2385,"On January 27, 2018, which station had the peak PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2386,Determine the city that ranked second for the highest median PM2.5 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2387,"Taking all years into account, which February experienced the highest 25th percentile of PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2388,Which station showed the 2nd highest median for PM2.5 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2389,"In July 2023, identify the station with the 3rd highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2390,Identify the union territory with the 2nd highest total PM2.5 concentration relative to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
2391,"In 2024, which week of the year was associated with the second-lowest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
2392,"In January 2018, identify the station with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2393,Determine the state which was granted the 2nd lowest NCAP funding considering its 75th percentile of PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2394,Report the state with the lowest 75th percentile of PM2.5 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2395,"In November 2022, which city exhibited the 3rd highest 75th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2396,"In June 2020, identify the city with the 3rd highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2397,Identify the station with the 2nd highest 25th percentile of PM10 for August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2398,Report which city experienced the third highest median PM2.5 throughout the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2399,Which city registered the 2nd maximum 75th percentile of PM10 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2400,Identify the station where the 75th percentile of PM10 levels increased the most from October 2019 to October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2401,Identify the state that recorded the third highest 25th percentile of PM10 during the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2402,Identify the city that recorded the 3rd lowest 75th percentile of PM2.5 value in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2403,"On January 5, 2019, which station recorded the third-lowest average PM10 concentration?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2404,Which city recorded the 2nd highest 25th percentile of PM10 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2405,Determine the city exhibiting the lowest 25th percentile of PM10 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2406,"Which union territory having a land area exceeding 1,000 km² registers the minimum PM10 level, according to its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2407,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) corresponded to the highest median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'season'}}]
"
2408,"During 2023, which weekday saw the second-highest 25th percentile of PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2409,"In January 2018, report the city with the 2nd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2410,Which city registered the 3rd highest 75th percentile of PM10 during March 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2411,"Which union territory has the 2nd maximum PM2.5 concentration per square kilometer, based on 75th percentile PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': False}}]
"
2412,Report the station with the 2nd highest average PM2.5 in January 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2413,Identify the state with the highest 25th percentile of PM10 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2414,Which station recorded the 3rd highest 75th percentile for PM10 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2415,How many times did Mahad city surpass the Indian guideline for PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2416,Identify the city that recorded the lowest median PM10 value in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2417,What count of Andhra Pradesh stations exceeded 30 µg/m³ of PM10 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2418,"For the year 2020, what was the second-highest PM2.5 level noted?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2419,Identify the station that recorded the 2nd lowest 75th percentile of PM10 value in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2420,How many times did Udaipur city go above the Indian guideline for PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2421,Which state registered the 3rd highest median PM2.5 during March 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2422,"Across all recorded years, which May showed the second-lowest average PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2423,Report the state (excluding union territories) that received the minimum NCAP funding relative to its land area on a per-square basis.,"
[{'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_sqkm', 'numerator': 'total_fund', 'denominator': 'area (km2)'}}, {'op': 'SORT', 'params': {'col': 'funding_per_sqkm', 'ascending': True}}]
"
2424,"In 2022, which state will rank with the third largest reduction in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2425,"Which station showed the second-highest 25th percentile for PM10 on March 31, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2426,How many times did Maharashtra exceed the Indian guideline for PM10 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2427,"For the period October to December 2023, which city had the second smallest decrease in 25th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2428,"In November 2021, report the station with the 3rd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2429,"Which state with a land area greater than 50,000 km² shows the 3rd lowest PM2.5 level, according to its average PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2430,Determine the station that showed the 2nd lowest average PM2.5 over the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2431,Which state registered the peak median PM2.5 during the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2432,Report the station with the 2nd lowest 75th percentile of PM10 in June 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2433,"In 2022, which state will rank with the third smallest reduction in median PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2434,"Over all years, which April was associated with the highest average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2435,Identify the city with the third-lowest mean PM10 concentration in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2436,"Which city showed the third-highest 75th percentile for PM10 on March 31, 2018?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2437,"Considering all years, which January showed the maximum median PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2438,Identify the year associated with the third-lowest median PM2.5.,"
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2439,Identify the station with the highest 25th percentile of PM10 for April 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2440,Report the state with the 5th highest NCAP funding considering its total PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2441,During which financial year was the total NCAP funding release the 2nd smallest among cities?,"
[]
"
2442,Report the state that had the 2nd lowest 75th percentile of PM10 in July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2443,Which station experienced the 3rd highest median for PM10 in the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2444,"Identify the state with the second-highest median PM2.5 on March 31, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2445,Identify the state that recorded the 3rd highest median PM10 value in October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2446,Which city recorded the highest 75th percentile for PM2.5 in the Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2447,Which state recorded the peak average PM2.5 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2448,Identify the city with the lowest 75th percentile of PM10 in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2449,On which date in the past three years did Dindigul register its peak PM10 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2450,Report which state possessed the third most minimal median PM2.5 throughout the Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2451,"In July 2023, report the station with the 3rd lowest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2452,How many stations in Arunachal Pradesh exceeded 90 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2453,Report the union territory with the 2nd lowest 25th percentile of PM2.5 concentration relative to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2454,Report the city that had the 3rd lowest average PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2455,Identify the state that recorded the 3rd highest median PM2.5 value in July 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2456,"In December 2020, which station had the 3rd highest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2457,Which state noted the 2nd maximum median PM2.5 during the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2458,Identify the city with the 2nd lowest 25th percentile of PM2.5 in May 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2459,"During 2024, which season (Winter, Summer, Monsoon, Post-Monsoon) saw the third-lowest 75th percentile of PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
2460,"For 2022, which week of the year experienced the highest median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
2461,"Over the past four years in Davanagere, on which date was the PM2.5 level the third highest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 4}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2462,Which city showed the highest 75th percentile of PM10 in September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2463,Which station registered the 3rd lowest median PM2.5 during March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2464,"In October 2021, report the station with the 3rd highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2465,"In November 2023, which state registered the 3rd lowest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2466,Determine the station exhibiting the 2nd highest median PM2.5 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2467,Identify the least polluted state concerning per capita PM2.5 exposure in 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': True}}]
"
2468,Which city recorded the 3rd lowest 25th percentile of PM10 in April 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2469,Which city recorded the peak average PM2.5 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2470,"Which state (excluding Union Territories) presents the 2nd minimum PM2.5 concentration per square kilometer, according to 75th percentile PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2471,Report the station with the lowest median PM2.5 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2472,How many times did Jammu and Kashmir exceed 30 µg/m³ of PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2473,Report which station registered the 3rd highest 75th percentile of PM2.5 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2474,"On March 31, 2023, which station recorded the second-lowest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2475,"During 2024, determine the weekday that showed the lowest median PM10 pollution levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2476,Which station registered the highest 75th percentile of PM10 during May 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2477,How many stations in Nagaland surpassed the WHO guideline for PM2.5 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2478,"Considering all years, which May showed the lowest 75th percentile for PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2479,"Which city had the second-highest average PM10 reading on January 5, 2022?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2480,Report the state with the highest 75th percentile of PM2.5 in June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2481,Identify what percentage of people reside in states where the 25th percentile of PM2.5 concentration surpasses 60.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}]
"
2482,"Which state showed the minimum 75th percentile for PM2.5 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2483,"For the year 2024, identify the weekday with the highest median PM2.5 pollution levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2484,Which city possessed the highest average for PM2.5 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2485,Determine the state exhibiting the 3rd highest 25th percentile of PM2.5 in March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2486,"Which state with a land area greater than 50,000 km² shows the 2nd lowest PM10 level, according to its average PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2487,Which city registered the 3rd minimum 25th percentile of PM10 in the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2488,"In September 2024, which station exhibited the highest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2489,Which station noted the 2nd minimum 25th percentile of PM2.5 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2490,"Which state with a land area below 50,000 km² shows the minimum PM10 level, according to its average PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2491,Determine which state was granted the 5th lowest NCAP funding considering the standard deviation of its PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2492,Identify the city that registered the third lowest 75th percentile for PM2.5 during the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2493,Report the city that received the 5th highest NCAP funding relative to its total PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2494,Report the station that had the highest 25th percentile of PM10 in December 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2495,"Which state showed the second-highest 75th percentile for PM10 on March 31, 2023?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2496,Which state experienced the second most significant drop in its median PM10 levels between October and December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2497,Identify the city that received the 4th highest NCAP funding relative to its median PM2.5 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2498,Which city noted the peak 25th percentile of PM10 during the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2499,"Which union territory possesses the 2nd smallest land area among the top 4 most polluted union territories, based on median PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
2500,"In October 2019, which state recorded the 3rd lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2501,Which state demonstrates the 4th lowest total PM10 concentration relative to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2502,"For the year 2022, which week had the third-highest 25th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
2503,"Which union territory possesses the largest land area among the top 2 most polluted union territories, based on total PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
2504,Which station had the 2nd highest 25th percentile of PM2.5 in October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2505,Report the station with the lowest median PM2.5 in February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2506,How many times did Meghalaya surpass 45 µg/m³ of PM10 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2507,Report which city experienced the 2nd most minimal average PM10 throughout the Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2508,"On January 27, 2019, which city documented the third highest PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2509,Which station had the 3rd lowest median PM10 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2510,Identify the state that registered the third highest 25th percentile for PM10 during the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2511,Which city had the lowest 25th percentile of PM2.5 in May 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2512,How many stations in Maharashtra went above 90 µg/m³ of PM2.5 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2513,Which state shows the 3rd lowest standard deviation of PM10 concentration in relation to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2514,"In February 2021, report the city with the highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2515,How many times did Kannur city go above the WHO guideline for PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2516,Which city recorded the 2nd lowest median PM2.5 in the Winter season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2517,Report the station with the 2nd lowest 25th percentile of PM10 in January 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2518,Which state had the 2nd highest average PM10 in February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2519,Identify the city that registered the third lowest average for PM2.5 during the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2520,Find the state with the second-lowest 75th percentile for PM10 in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2521,"For 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) experienced the second-lowest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
2522,Which city recorded the lowest median for PM2.5 in the Winter season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2523,Which city displayed the lowest 25th percentile of PM10 in February 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2524,Identify the state with the lowest median PM2.5 for March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2525,Determine the third-lowest PM2.5 reading from 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2526,Determine which state had the 5th highest NCAP funding relative to its median PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2527,Identify the station with the 3rd lowest average PM10 in August 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2528,"Which state (excluding Union Territories) exhibits the 2nd lowest PM2.5 concentration per square kilometer, based on median PM2.5 values?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_km2', 'numerator': 'PM2.5', 'denominator': 'area (km2)'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'pm_per_km2', 'ascending': True}}]
"
2529,"Identify the station with the peak PM2.5 measurements on January 14, 2022.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2530,Identify the station with the third-highest average PM10 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2531,Which station had the 3rd highest 25th percentile of PM2.5 in November 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2532,"In March 2020, identify the station with the lowest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2533,Identify the station with the 3rd highest median PM2.5 for May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2534,Determine the state with the 2nd highest average PM10 in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2535,Identify the city that recorded the highest average PM2.5 value in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2536,Determine the state exhibiting the 3rd highest 75th percentile of PM10 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2537,Which city had the 2nd lowest 25th percentile of PM2.5 in July 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2538,What date during the previous three years showed Chittorgarh's 3rd lowest PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2539,Which state registered the lowest 75th percentile of PM2.5 during February 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2540,Which state possessed the 3rd highest median for PM10 in the Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2541,Which station had the 3rd lowest 75th percentile of PM2.5 in May 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2542,Name the station showing the second-highest average PM10 for November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2543,Identify the state that recorded the 2nd lowest median PM2.5 value in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2544,Which station had the 2nd lowest average PM10 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2545,Which state had the 2nd lowest average PM10 in November 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2546,Which station registered the 2nd lowest 75th percentile of PM10 during September 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2547,Which station showed the highest 75th percentile of PM2.5 in December 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2548,Which station registered the minimum median PM2.5 during the Summer season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2549,Which city showed the 3rd lowest 25th percentile for PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2550,What date within the previous five years showed Baddi's 2nd lowest PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 5}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2551,Identify the city that recorded the highest 25th percentile of PM2.5 value in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2552,Which union territory exhibits the 2nd highest average PM2.5 concentration relative to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
2553,Identify the station exhibiting the peak 75th percentile of PM10 during the Winter season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2554,Report the city with the 2nd highest average PM2.5 in February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2555,Report which city registered the 3rd most minimal 25th percentile of PM2.5 throughout the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2556,Report the state with the 3rd lowest median PM2.5 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2557,Report the station with the 2nd lowest average PM10 in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2558,Which city exhibited the second smallest decrease in its 75th percentile PM2.5 levels between October and December of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2559,"Which state (excluding Union Territories) possesses the smallest land area among the top 10 most polluted states, based on average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2560,Report the state with the 3rd lowest 25th percentile of PM2.5 in May 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2561,Determine the station that showed the 3rd lowest median PM2.5 over the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2562,Which city registered the highest median PM10 during March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2563,Report which station possessed the 2nd highest median PM10 throughout the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2564,"Over all years, which June showed the third-lowest median PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2565,Determine the state with the highest 25th percentile of PM10 in September 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2566,Which city recorded the lowest average PM10 in November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2567,Which state recorded the lowest median PM2.5 figure in June 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2568,Which city exhibited the lowest median PM10 in March 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2569,Which state had the 2nd lowest median PM2.5 in March 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2570,Name the station with the third-highest 25th percentile of PM10 for April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2571,Name the station with the highest 75th percentile for PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2572,What number of Maharashtra stations surpassed 75 µg/m³ of PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2573,"In 2021, which station showed the second smallest decrease in its 25th percentile PM10 levels comparing December to October?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2574,Determine the state exhibiting the 3rd highest average PM10 in April 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2575,How many times did Tripura go above 30 µg/m³ of PM2.5 in 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2576,Identify the state with the lowest 25th percentile for PM2.5 in August 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2577,Which city noted the 2nd highest median PM10 in the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2578,"For the period October to December 2024, which state had the smallest decrease in average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2579,"In May 2023, identify the station with the 3rd highest 75th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2580,Determine the state that showed the 2nd highest average PM10 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2581,Identify the city exhibiting the peak 25th percentile of PM2.5 during the Winter season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2582,Determine the state with the 2nd lowest median PM10 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2583,"In 2021, which city will rank with the smallest reduction in median PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2584,Which station had the 3rd highest median PM2.5 in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2585,Identify the state that showed the third highest 75th percentile of PM10 during the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2586,Identify the state that recorded the 3rd lowest median PM10 value in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2587,Find the station with the minimum median PM10 reading for February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2588,Which state recorded the 3rd highest median PM2.5 in April 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2589,Determine the station exhibiting the lowest median PM2.5 in May 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2590,Which city noted the 3rd minimum 25th percentile of PM2.5 during the Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2591,Which station exhibited the third smallest decrease in its 25th percentile PM2.5 levels between October and December of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2592,Which city registered the 2nd lowest 25th percentile of PM2.5 during June 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2593,Determine the station that showed the 3rd highest median PM10 over the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2594,Which station registered the 2nd maximum 75th percentile of PM2.5 during the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2595,"Which station showed the second-lowest PM2.5 concentrations on August 15, 2020?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2596,"Which state (excluding Union Territories) possesses the 3rd smallest land area among the top 10 most polluted states, based on the variance of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2597,"In October 2020, report the station with the highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2598,Identify the city with the 2nd highest 75th percentile of PM2.5 for June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2599,"Which union territory having a land area exceeding 1,000 km² registers the 2nd minimum PM10 level, according to its average PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2600,Identify the station with the 3rd highest 75th percentile of PM10 in December 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2601,Report which city possessed the third highest 75th percentile of PM2.5 throughout the Winter season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2602,"Which state experienced the third-highest average PM2.5 level on January 5, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2603,Determine the station exhibiting the 2nd lowest median PM10 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2604,Which station showed the second-minimum 25th percentile for PM2.5 in December 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2605,Report which state experienced the 2nd most minimal average PM2.5 throughout the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2606,Which station registered the 2nd lowest median PM2.5 during October 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2607,"Which union territory with a land area below 1,000 km² shows the highest PM10 level, based on its total PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
2608,"In November 2020, identify the station with the highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2609,Report which state experienced the most minimal median PM10 throughout the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2610,Report the station with the highest median PM2.5 in May 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2611,How many times did Bhilwara city surpass 90 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2612,Which state noted the minimum average PM10 in the Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2613,Identify the state with the highest 75th percentile of PM10 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2614,"Which state (excluding UTs) possesses the largest population among the top 5 most polluted states, determined by average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2615,Identify the state that received the 4th lowest NCAP funding relative to its 25th percentile of PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2616,Report the city with the 4th highest NCAP funding relative to the standard deviation of its PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2617,Determine the state with the lowest 75th percentile of PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2618,Identify the station with the highest average PM10 for November 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2619,"Within the last two years in Asansol, on what date was the PM10 level the lowest?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 2}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2620,Report the state with the 2nd highest median PM10 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2621,Report the city that had the 3rd highest 25th percentile of PM2.5 in August 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2622,"Considering 2021, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the third-lowest 25th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
2623,"In June 2019, identify the station with the 2nd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2624,Identify the city that registered the second highest PM10 level on 27 January 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2625,"Over all years, which August registered the minimum average PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2626,Identify the state that registered the second lowest median PM2.5 during the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2627,"On March 31, 2022, which station recorded the third-highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2628,Find the station with the third-highest average PM10 in February 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2629,Find the city that was second in terms of highest average PM10 for July 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2630,Which station recorded the most significant growth in its 75th percentile PM2.5 level between March 2019 and March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2631,"On January 14, 2018, which station showed the lowest PM2.5 readings?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2632,Determine the state with the 3rd highest median PM10 in June 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2633,Which state experienced the highest rise in its 25th percentile PM2.5 level between August 2019 and August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2634,"Taking all years into account, which September was associated with the third-highest 75th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2635,Which city had the 2nd highest median PM10 in November 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2636,"In 2023, which season (Winter, Summer, Monsoon, Post-Monsoon) corresponded to the second-lowest 75th percentile of PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'season'}}]
"
2637,"Which union territory possesses the smallest land area among the top 2 most polluted union territories, based on average PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
2638,Which station recorded the lowest 75th percentile of PM2.5 in August 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2639,Determine the station with the 2nd highest average PM2.5 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2640,Which city had the 3rd highest median PM2.5 in September 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2641,Report the state with the 4th highest NCAP funding relative to its average PM10 concentration in 2021 (FY 2020-21).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2021_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2642,Identify the city that registered the second highest 25th percentile for PM10 during the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2643,How many times did Manguraha city exceed 90 µg/m³ of PM2.5 in the year 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2644,Which station had the most substantial increase in its 75th percentile PM2.5 level between September 2019 and September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2645,"In July 2021, report the station with the 3rd lowest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2646,"Which station showed the third-highest 75th percentile for PM10 on March 31, 2021?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2647,"Comparing September 2019 with September 2020, which city experienced the largest increase in its 75th percentile PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2648,Identify the station that showed the second highest 25th percentile of PM10 during the Summer season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2649,Identify the state with the 2nd lowest 75th percentile of PM2.5 for October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2650,Identify the city with the 3rd highest average PM10 for June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2651,Report the station with the 2nd highest 25th percentile of PM2.5 in December 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2652,Identify the state that recorded the highest average PM10 value in March 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2653,What is the median PM2.5 value on Sundays in Puducherry?,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}}]
"
2654,Report the station that had the lowest average PM10 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2655,Identify the state that showed the most minimal median PM10 during the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2656,"Which city showed the lowest median PM2.5 on March 31, 2019?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2657,Identify the city that saw the least significant fall in median PM2.5 levels when comparing December 2018 to October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2658,How many times did Sikkim surpass 30 µg/m³ of PM2.5 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2659,Identify the city with the lowest average PM2.5 for November 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2660,How many times did Satna city surpass the WHO guideline for PM2.5 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2661,Report which state possessed the third lowest median PM10 throughout the Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2662,Identify the state that was second in terms of highest average PM2.5 for April 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2663,"Taking all years into account, which January showed the third-lowest 75th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2664,Which city had the 2nd lowest 25th percentile of PM10 in September 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2665,"Identify the city with the highest 25th percentile for PM2.5 on March 31, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2666,"In the year 2024, which weekday recorded the third-highest median PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2667,What date during the previous three years showed Indore's highest PM2.5 reading?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2668,Identify the city with the lowest average PM2.5 for November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2669,Determine the state exhibiting the 2nd highest 25th percentile of PM10 in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2670,"Which union territory with a land area below 1,000 km² shows the highest PM2.5 level, based on its standard deviation of PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
2671,Which state registered the lowest average PM10 during December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2672,How many times did Bangalore city exceed 75 µg/m³ of PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2673,"In February 2020, report the city with the lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2674,"Comparing December 2024 to October 2024, which city showed the most significant drop in median PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2675,Identify the station with the 2nd highest 25th percentile of PM10 for July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2676,Identify the station that saw the most significant fall in median PM10 levels when comparing December 2023 to October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2677,On which date in the past three years did Bagalkot register its 2nd minimum PM10 level?,"
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2678,Which station experienced the second least significant drop in its median PM10 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2679,Identify the state with the highest average PM2.5 in January 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2680,Report the city with the highest average PM10 in December 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2681,Which state recorded the 3rd lowest median PM10 in the Post-Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2682,"Which state (excluding UTs) possesses the 3rd largest population within the top 5 most polluted states, determined by the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2683,Report the state that had the 2nd highest median PM10 in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2684,"Considering all years, which November registered the third-highest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2685,Identify the city where median PM2.5 levels rose most significantly from July 2019 to July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2686,Report the station that had the highest median PM10 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2687,"Which state having a land area exceeding 50,000 km² registers the 2nd minimum PM10 level, based on its standard deviation of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2688,"In April 2019, report the station with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2689,Which state recorded the 3rd lowest 25th percentile of PM2.5 in August 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2690,"On March 31, 2018, which state had the second-highest 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2691,"Identify the station with the second-lowest 75th percentile for PM2.5 on March 31, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2692,Report the state with the 2nd lowest 75th percentile of PM2.5 in June 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2693,Which station had the 2nd highest 75th percentile of PM10 in August 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2694,Which state registered the highest 75th percentile of PM10 during March 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2695,"In August 2024, identify the city with the 3rd lowest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2696,"For Noida, what date in the last three years showed the second-highest PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2697,"Identify the state that registered the second-lowest PM10 readings on January 14, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2698,Which station exhibited the largest decrease in its 75th percentile PM10 levels between October and December of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2699,Which state experienced the least significant drop in its average PM2.5 levels between October and December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2700,"In February 2020, which state registered the 2nd lowest median PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2701,"In the year 2024, which season (Winter, Summer, Monsoon, Post-Monsoon) recorded the third-lowest average PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'season'}}]
"
2702,Which station noted the peak 25th percentile of PM2.5 during the Post-Monsoon season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2703,Which station recorded the highest 75th percentile of PM2.5 in January 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2704,How many stations in Chhattisgarh exceeded 45 µg/m³ of PM10 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2705,"In September 2023, which station registered the 3rd highest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2706,Identify the state with the lowest 25th percentile of PM10 in January 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2707,"On March 31, 2018, which state had the minimum average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2708,"In October 2023, identify the station with the highest average PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2709,Identify the state that showed the highest rise in its 25th percentile PM10 level from September 2019 to September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2710,Report which station possessed the highest 75th percentile of PM10 throughout the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2711,Report which state possessed the 2nd highest median PM2.5 throughout the Summer season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2712,Which city experienced the highest 25th percentile for PM10 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2713,Report the city with the 3rd highest median PM10 in June 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2714,Determine the state exhibiting the 3rd highest average PM10 in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2715,"Over all years, which December registered the second-highest median PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2716,"In September 2020, which city exhibited the 3rd highest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2717,"On March 31, 2023, which city recorded the third-lowest 25th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2718,Identify the station that showed the most minimal 25th percentile of PM10 during the Monsoon season of 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2719,Which station showed the third-highest median PM2.5 in August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2720,"On March 31, 2022, which city had the third-lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2721,Which state noted the 2nd lowest 25th percentile of PM10 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2722,Report the state with the 3rd highest average PM10 in October 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2723,Which city experienced the 2nd highest 25th percentile for PM10 in the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2724,Identify the station that recorded the 3rd lowest median PM10 value in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2725,"Report the state (excluding UTs) having the 2nd largest population within the top 3 most polluted states, when pollution is measured by average PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
2726,"In May 2022, report the station with the 3rd lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2727,Report the city that had the 2nd lowest 75th percentile of PM2.5 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2728,"In June 2021, which city registered the 2nd lowest 25th percentile of PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2729,Which city had the 2nd highest 25th percentile of PM2.5 in January 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2730,Which station registered the 3rd highest average PM2.5 during January 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2731,Which state registered the 3rd lowest 25th percentile of PM10 during November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2732,How many times did Srinagar city exceed the Indian guideline for PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2733,"On March 31, 2018, which station recorded the minimum 25th percentile for PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2734,Report the state ranking 3rd highest in pollution from per capita PM2.5 exposure for 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
2735,How many times did Hanumangarh city exceed the Indian guideline for PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2736,Which station displayed the 2nd highest 75th percentile of PM2.5 in November 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2737,Which station registered the 3rd lowest median PM10 during April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2738,"Identify the station with the second-lowest average PM10 on March 31, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2739,"Which union territory possesses the 2nd smallest land area among the top 4 most polluted union territories, based on the variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
2740,Report the state with the 2nd highest 25th percentile of PM10 in May 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2741,"In March 2018, report the city with the 3rd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2742,Which city showed the lowest median PM10 in December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2743,"Which union territory with a land area below 1,000 km² shows the highest PM10 level, based on its variance of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
2744,Determine the highest PM10 value recorded in 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'PM10'}}]
"
2745,What number of Uttar Pradesh stations exceeded the Indian guideline for PM10 in 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2746,Identify the state that registered the peak 75th percentile of PM10 during the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2747,Which state had the most pronounced increase in average PM10 levels when comparing August 2019 to August 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2748,Which week in 2022 was linked to the highest 75th percentile for PM2.5 levels?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
2749,"On March 31, 2024, which station recorded the third-highest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2750,Report which city possessed the third lowest 75th percentile of PM2.5 throughout the Post-Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2751,"Comparing November 2019 with November 2020, which station experienced the largest increase in its 25th percentile PM2.5 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2752,"Considering 2022, what week number displayed the lowest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
2753,Report which state experienced the 2nd most minimal median PM2.5 throughout the Summer season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2754,"Identify the station with the third-lowest PM2.5 readings on January 14, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2755,"Considering 2023, what week number had the third-highest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'week'}}]
"
2756,How many times did Bangalore city surpass 45 µg/m³ of PM10 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2757,Which city displayed the lowest average PM10 in May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2758,"In November 2022, report the state with the 2nd lowest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2759,How many times did Siwan city exceed the WHO guideline for PM2.5 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 15.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2760,"For the period October to December 2024, which state had the second smallest decrease in median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2761,"In June 2020, which state recorded the 2nd lowest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2762,Which city exhibited the 2nd lowest average PM10 in August 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2763,"For the year 2019, which week had the second-highest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
2764,Which state recorded the 3rd highest average PM10 during the Summer season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2765,Identify the city that registered the minimum average PM2.5 level historically.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2766,"Which state (excluding Union Territories) possesses the 2nd smallest land area among the top 10 most polluted states, based on average PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2767,Report the city with the 2nd lowest average PM10 in April 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2768,Which station registered the 3rd minimum median PM10 in the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2769,Report the city with the 3rd highest 75th percentile of PM2.5 in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2770,"In November 2024, identify the city with the 3rd highest 25th percentile of PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2771,Determine the state exhibiting the 2nd highest 75th percentile of PM10 over the Winter season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2772,Which city registered the highest median PM2.5 during November 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2773,"For the period October to December 2023, which city had the largest decrease in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2774,"Among all states, which one showed the third-highest PM2.5 readings during the April 2020 COVID-19 lockdown?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2775,"Which city showed the third-lowest average PM2.5 on March 31, 2024?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2776,Which state had the second-most minimal median PM10 in October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2777,Identify the city with the lowest 75th percentile for PM10 in November 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2778,Which city had the 2nd highest 25th percentile of PM2.5 in December 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2779,Identify the state that saw the least significant fall in average PM2.5 levels when comparing December 2022 to October 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2780,Identify the state that recorded the 3rd lowest average PM10 value in February 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2781,Identify the city with the lowest 75th percentile of PM2.5 in August 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2782,Which station recorded the lowest average for PM2.5 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2783,Determine the city with the 3rd lowest 75th percentile of PM10 in January 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2784,Which station had the 3rd lowest 75th percentile of PM2.5 in June 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2785,Determine the state with the second highest PM10 level on 27 January 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2786,Determine the station exhibiting the 3rd most minimal median PM10 over the Winter season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2787,Which state experienced the 2nd lowest 25th percentile for PM10 in the Post-Monsoon season of 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2788,Identify the city that recorded the peak 25th percentile of PM2.5 during the Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2789,Identify the city that recorded the 3rd lowest 25th percentile of PM10 value in July 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2790,Determine the state with the highest 75th percentile of PM2.5 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2791,Report the city with the 5th lowest NCAP funding relative to the variance of its PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2792,Determine the state exhibiting the 3rd lowest 25th percentile of PM10 in May 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2793,"In December 2022, identify the city with the 3rd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2794,How many times did Bidar city go above the Indian guideline for PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2795,Determine the state with the peak median PM2.5 concentration for September 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2796,Which city had the lowest median PM2.5 in June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2797,Which city noted the 2nd minimum average PM2.5 in the Summer season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2798,Which station experienced the highest rise in its 25th percentile PM10 level between September 2019 and September 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2799,Which state possessed the 3rd highest average for PM10 in the Summer season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2800,Report the state that had the lowest average PM2.5 in September 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2801,Determine the station exhibiting the 2nd lowest 75th percentile of PM2.5 in September 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2802,Identify the city with the 2nd lowest 25th percentile of PM10 for July 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2803,Identify the station with the 2nd highest 75th percentile of PM2.5 for March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2804,Determine the state with the smallest count of cities receiving NCAP funding.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'nunique', 'col': 'city'}}, {'op': 'SORT', 'params': {'col': 'city', 'ascending': True}}]
"
2805,How many times did Haryana exceed 75 µg/m³ of PM2.5 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2806,"In 2018, which state will rank with the third smallest reduction in 25th percentile PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2807,"For 2019, which week of the year experienced the highest 25th percentile for PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
2808,How many times did Odisha surpass 90 µg/m³ of PM10 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2809,Which state exhibits the 2nd highest average PM2.5 concentration relative to its population density?,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': False}}]
"
2810,Which station had the lowest average PM2.5 in February 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2811,"In 2019, which season (Winter, Summer, Monsoon, Post-Monsoon) was associated with the third-highest 25th percentile of PM2.5 concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'season'}}]
"
2812,How many times did Bangalore city exceed 90 µg/m³ of PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2813,Determine the station that recorded the second most minimal average PM2.5 over the Monsoon season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2814,Report the city with the 2nd highest average PM10 in July 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2815,"In September 2022, identify the city with the 3rd highest median PM2.5.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2816,How many times did Begusarai city surpass 30 µg/m³ of PM10 in the year 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2817,"Determine the state, out of those with populations above the average, that obtains the 3rd lowest per capita NCAP funding.","
[{'op': 'COMPUTE', 'params': {'new_col': 'funding_per_capita', 'numerator': 'total_fund', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'funding_per_capita', 'ascending': True}}]
"
2818,Identify the state that showed the third lowest 75th percentile of PM2.5 during the Summer season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2819,How many times did Pratapgarh city exceed 75 µg/m³ of PM2.5 in 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2820,Which state recorded the 3rd highest 25th percentile of PM2.5 in May 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2821,Which state had the 3rd highest 75th percentile of PM2.5 in December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2822,"During 2023, which week saw the second-highest 25th percentile for PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'week'}}]
"
2823,"In July 2024, identify the state with the lowest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2824,"In 2018, which station ranked with the smallest decrease in 75th percentile PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2825,Which station recorded the 2nd lowest median PM2.5 in July 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2826,Which state registered the minimum average PM2.5 during the Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2827,"In July 2021, report the station with the lowest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2828,"In 2023, which station will rank with the second largest reduction in 25th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2829,"For the period October to December 2020, which state had the smallest decrease in 75th percentile PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2830,Identify the station that registered the third lowest 25th percentile of PM10 during the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2831,How many times did Manipur exceed 75 µg/m³ of PM2.5 in 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2832,Report the city with the 3rd lowest 25th percentile of PM10 in March 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2833,Report the city with the 2nd lowest 75th percentile of PM10 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2834,"Which state (excluding UTs) possesses the 2nd largest population among the top 5 most polluted states, determined by the 25th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2835,Report which city possessed the third most minimal 25th percentile of PM10 throughout the Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2836,Identify the state that recorded the 2nd lowest 25th percentile of PM10 value in July 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2837,Which city had the 2nd lowest 25th percentile of PM2.5 in December 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2838,Determine the state exhibiting the 3rd lowest median PM2.5 in June 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2839,"Which state with a land area below 50,000 km² shows the highest PM10 level, according to its standard deviation of PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}]
"
2840,How many times did Mandikhera city exceed 90 µg/m³ of PM2.5 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2841,Which station registered the 3rd lowest average PM10 during August 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2842,What number of Uttarakhand stations surpassed the Indian guideline for PM2.5 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2843,Identify the state that saw the most significant fall in median PM2.5 levels when comparing December 2020 to October 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2844,Find the state with the second-lowest 25th percentile for PM2.5 in February 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2845,"In 2019, which day of the week corresponded to the third-highest median PM10 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'Timestamp'}}]
"
2846,"In June 2019, which city registered the 2nd lowest 75th percentile of PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2847,"Which state having a land area exceeding 50,000 km² registers the minimum PM10 level, based on its total PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2848,Which city had the 3rd lowest average PM2.5 in February 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2849,Which state recorded the lowest 25th percentile of PM2.5 in December 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2850,Determine the state exhibiting the lowest 25th percentile of PM10 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2851,How many times did Akola exceed the Indian guideline for PM10 in the year 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2852,Determine the station exhibiting the 2nd highest average PM10 in February 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2853,Determine the state with the highest average PM2.5 in April 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2854,How many stations in Andhra Pradesh exceeded 75 µg/m³ of PM10 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2855,"For 2018, identify the weekday with the highest 25th percentile of PM10 pollution levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2856,"Comparing January 2019 with January 2020, which state experienced the largest increase in its 75th percentile PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2857,"Considering all years, which November showed the second-lowest 25th percentile of PM2.5 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2858,How many times did Chandigarh exceed 75 µg/m³ of PM10 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 75.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2859,Which state had the lowest median PM10 in June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2860,Identify the station with the lowest median PM2.5 in April 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2861,Identify the city exhibiting the peak median PM2.5 during the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2862,Which state had the 3rd lowest 25th percentile of PM10 in March 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2863,"Which month (e.g., January, February, etc.) from 2018-2024 has steadily recorded India's worst air quality index (AQI)?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2864,Find the city with the lowest 25th percentile for PM2.5 in September 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2865,Report the state with the lowest average PM10 in November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2866,"Report the state (excluding UTs) having the 3rd largest population among the top 10 most polluted states, when pollution is measured by variance of PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2867,Identify the city that recorded the second highest average PM2.5 during the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2868,"Which union territory with a land area greater than 1,000 km² shows the highest PM2.5 level, based on its median PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}]
"
2869,How many times did Varanasi city go above 30 µg/m³ of PM10 in 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2870,Find the city that had the third-highest average PM10 in November 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2871,Identify the state that saw the second most significant fall in median PM10 levels when comparing December 2021 to October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2872,Calculate the median PM2.5 level on Thursdays in Himachal Pradesh.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}}]
"
2873,Report the state that had the 3rd highest 75th percentile of PM10 in October 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2874,Determine the station with the 3rd highest 25th percentile of PM10 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2875,Determine the state with the 2nd lowest median PM2.5 in August 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2876,How many stations in Andhra Pradesh exceeded 90 µg/m³ of PM2.5 in the year 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2877,Which city had the 2nd highest median PM10 in May 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2878,How many times did Uttarakhand go above 45 µg/m³ of PM10 in 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 45.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2879,"Which state (excluding Union Territories) has the largest land area among the top 10 most polluted states, according to the variance of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 10, 'ret': 'state'}}]
"
2880,Identify the city with the lowest NCAP funding considering its 25th percentile of PM2.5 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2881,Identify the city with the lowest average PM2.5 for July 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2882,"Determine which state (excluding UTs) has the 3rd largest population within the top 3 most polluted states, based on median PM10 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
2883,Identify the station with the highest 25th percentile of PM10 for April 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2884,"In May 2019, identify the station with the 3rd highest 75th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2885,"In August 2020, identify the station with the highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2886,Which station recorded the 3rd highest 75th percentile of PM10 in November 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2887,Identify the state that registered the minimum 75th percentile for PM2.5 historically.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2888,"Which state having a land area less than 50,000 km² registers the 5th minimum PM10 level, based on its 25th percentile PM10 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}]
"
2889,Determine the state with the highest 75th percentile of PM2.5 in December 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2890,Report the city with the highest median PM2.5 in September 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2891,Report the city with the 4th lowest NCAP funding relative to the standard deviation of its PM10 concentration in 2022 (FY 2021-22).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'city', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2022_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': True}}]
"
2892,"In October 2018, which state recorded the 3rd lowest average PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2893,"Comparing December 2021 to October 2021, which station showed the least significant drop in median PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2894,"On March 31, 2021, which state recorded the second-highest 25th percentile for PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2895,"In February 2021, report the city with the 2nd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2896,"In January 2020, identify the state with the 2nd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 1}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2897,"In February 2021, identify the station with the 3rd highest average PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2898,Which station recorded the minimum 25th percentile of PM10 during the Post-Monsoon season of 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2899,Determine the city that recorded the most minimal median PM10 over the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2900,Which city had the highest 25th percentile of PM10 in June 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2901,How many times did Pimpri-Chinchwad city exceed 30 µg/m³ of PM10 in the year 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 30.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2902,Determine the state with the 3rd highest average PM10 in March 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2903,Identify the city exhibiting the 2nd highest 25th percentile of PM2.5 during the Post-Monsoon season of 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2904,Identify the state with the highest 75th percentile of PM10 for March 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2905,"Which union territory possesses the largest land area among the top 2 most polluted union territories, based on the variance of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 2, 'ret': 'state'}}]
"
2906,"Comparing March 2019 with March 2020, which station showed the largest increase in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2907,Report which state possessed the third lowest 75th percentile of PM10 throughout the Monsoon season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2908,Which state experienced the highest 25th percentile for PM2.5 in the Post-Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2909,"Which union territory possesses the 2nd smallest land area among the top 4 most polluted union territories, based on the 25th percentile of PM10 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': True}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 4, 'ret': 'state'}}]
"
2910,Which state had the 3rd lowest average PM2.5 in May 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2911,Identify the station that recorded the lowest 25th percentile of PM10 value in September 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2912,Which city recorded the 2nd lowest 25th percentile of PM2.5 in October 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2913,Identify the state with the lowest median PM2.5 for February 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2914,"Considering 2022, what season (Winter, Summer, Monsoon, Post-Monsoon) displayed the lowest average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'COMPUTE_SEASON', 'params': {}}, {'op': 'AGG', 'params': {'by': 'season', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'season'}}]
"
2915,Which state showed the 2nd lowest 75th percentile of PM10 in April 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 4}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2916,Report the city that had the highest average PM10 in December 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2917,"In 2021, which station ranked with the third smallest decrease in average PM10 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2918,How many times did Jammu and Kashmir city surpass the Indian guideline for PM10 in 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'Timestamp'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2919,Which state experienced the third most significant drop in its median PM10 levels between October and December 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2920,"Identify the state that experienced the lowest PM2.5 values on January 14, 2020.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2921,"In August 2024, identify the station with the 2nd highest median PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2922,"Report the state (excluding UTs) having the 2nd smallest population within the top 5 most polluted states, when pollution is measured by standard deviation of PM2.5 levels.","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 5, 'ret': 'state'}}]
"
2923,Report the state with the 3rd highest 25th percentile of PM2.5 in September 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'state'}}]
"
2924,"In 2020, which weekday experienced the third-lowest 75th percentile of PM2.5 pollution concentrations?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2925,"Comparing December 2020 to October 2020, which state showed the most significant drop in 75th percentile PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2926,Which state noted the peak average PM2.5 in the Winter season of 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2927,Identify the station exhibiting the most minimal median PM2.5 during the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2928,Which city registered the 3rd maximum 25th percentile of PM2.5 in the Monsoon season of 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2929,"Over all years, which October had the maximum average PM10 concentration?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'Timestamp'}}]
"
2930,"In October 2024, report the city with the 2nd lowest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'city'}}]
"
2931,Determine the station exhibiting the 2nd highest 75th percentile of PM10 over the Summer season of 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2932,"Across all recorded years, which June was associated with the minimum average PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'Timestamp'}}]
"
2933,"During 2018, which week saw the lowest 75th percentile for PM10 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'week'}}]
"
2934,Which city recorded the 3rd highest 75th percentile of PM2.5 in June 2019?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2935,How many stations in Andhra Pradesh went above 90 µg/m³ of PM10 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'FILTER', 'params': {'field': 'PM10', 'comparison': 'gt', 'value': 90.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2936,"On August 15, 2018, which city recorded the highest PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2937,How many stations in Uttar Pradesh exceeded the Indian guideline for PM2.5 in the year 2017?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'FILTER', 'params': {'field': 'PM2.5', 'comparison': 'gt', 'value': 60.0}}, {'op': 'COUNT_UNIQUE', 'params': {'col': 'station'}}, {'op': 'SELECT', 'params': {'mode': 'scalar', 'ret': 'count'}}]
"
2938,Which station registered the 3rd highest 25th percentile of PM10 during August 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2939,Which city recorded the lowest median PM10 in June 2023?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2940,Report the state showing the 2nd lowest standard deviation of PM2.5 concentration in relation to its population density.,"
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'pm_per_capita', 'numerator': 'PM2.5', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'pm_per_capita', 'ascending': True}}]
"
2941,Identify the city that saw the most significant growth in its 25th percentile PM2.5 level from November 2019 to November 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2942,Which station had the highest median PM2.5 in October 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2943,Determine which city has the maximum disparity between allocated NCAP funding and actual utilization as of June 2022.,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'sum', 'col': 'Difference'}}, {'op': 'SORT', 'params': {'col': 'Difference', 'ascending': False}}]
"
2944,Determine the city with the highest 75th percentile of PM10 in March 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2945,Which city recorded the 2nd highest median PM2.5 in July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2946,Which city experienced the lowest 25th percentile for PM10 in the Post-Monsoon season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2947,"Comparing March 2019 with March 2020, which city showed the largest increase in its 25th percentile PM10 level?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2948,Determine the median PM2.5 level on Sundays in Meghalaya.,"
[{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}}]
"
2949,Identify the city where average PM2.5 levels rose most significantly from February 2019 to February 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2950,Identify the city exhibiting the third lowest 75th percentile of PM10 during the Post-Monsoon season of 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2951,"Identify the city with the third-highest average PM2.5 on March 31, 2018.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2952,Report the station with the 2nd lowest median PM2.5 in December 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 12}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'station'}}]
"
2953,Which city reported the third-highest PM10 levels during the April 2020 COVID-19 lockdown?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2954,"Over all years, which March was associated with the second-highest median PM10 levels?","
[{'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2955,Which city showed the maximum stable PM2.5 level?,"
[{'op': 'AGG', 'params': {'by': 'city', 'fn': 'std', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2956,"For the period October to December 2023, which state had the second smallest decrease in average PM2.5 levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2957,Determine the state with the second-lowest 75th percentile for PM2.5 in November 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2958,Report which station registered the 2nd highest 25th percentile of PM2.5 throughout the Winter season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2959,Report which city registered the peak 75th percentile of PM10 throughout the Winter season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'winter', 'months': [12, 1, 2]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2960,Identify the station that recorded the 3rd lowest 75th percentile of PM2.5 value in October 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2961,Which city had the lowest median PM2.5 in March 2020?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2962,"For 2021, identify the week of the year with the second-lowest median PM10 levels.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'week'}}]
"
2963,"Which state with a land area below 50,000 km² shows the minimum PM2.5 level, according to its total PM2.5 level?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'sum', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}]
"
2964,Report which station registered the second highest PM2.5 level on 27 January 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2965,"Identify the city with the third-highest median PM2.5 on March 31, 2019.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2966,Identify the city that registered the peak 25th percentile for PM10 during the Post-Monsoon season of 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2967,"In June 2021, identify the state with the 2nd highest 25th percentile of PM10.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2968,Report the station with the highest 25th percentile of PM2.5 in October 2021.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 10}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2969,Determine the station exhibiting the most minimal 25th percentile of PM2.5 over the Post-Monsoon season of 2019.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'station'}}]
"
2970,"On March 31, 2022, which city recorded the third-lowest median PM2.5?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2971,Determine the state exhibiting the lowest median PM2.5 in March 2024.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 3}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'median', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'state'}}]
"
2972,Which station recorded the 3rd lowest average PM2.5 level?,"
[{'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2973,"Identify the station with the third-highest 25th percentile for PM2.5 on March 31, 2023.","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2974,Determine the city exhibiting the lowest average PM10 in August 2020.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2975,"In November 2018, which city exhibited the 3rd lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2976,Which station registered the 3rd highest 25th percentile of PM10 during July 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 7}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'station'}}]
"
2977,"For Ooty, what date in the last three years showed the second-lowest PM2.5 reading?","
[{'op': 'FILTER', 'params': {'field': 'yr_recent', 'value': 3}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'Timestamp'}}]
"
2978,Identify the most polluted state based on per capita PM10 exposure during 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'COMPUTE', 'params': {'new_col': 'per_capita_pm', 'numerator': 'PM10', 'denominator': 'population'}}, {'op': 'SORT', 'params': {'col': 'per_capita_pm', 'ascending': False}}]
"
2979,Which station registered the 2nd maximum median PM10 in the Post-Monsoon season of 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'autumn', 'months': [9, 10, 11]}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'median', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'station'}}]
"
2980,Report the state that had the 2nd highest 25th percentile of PM2.5 in February 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 2}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'state'}}]
"
2981,Which state registered the 2nd minimum average PM2.5 during the Monsoon season of 2021?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'summer', 'months': [6, 7, 8]}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2982,Identify the station with the highest 25th percentile of PM2.5 in November 2023.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2983,Which station showed the third-lowest 25th percentile for PM10 in May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'station'}}]
"
2984,Report the city with the 3rd highest 25th percentile of PM10 in May 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -3, 'ret': 'city'}}]
"
2985,"Considering 2023, what day of the week had the second-highest median PM2.5 pollution levels?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2986,Report which city possessed the third most minimal average PM2.5 throughout the Summer season of 2018.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'city'}}]
"
2987,"Across all recorded years, which December experienced the second-highest average PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'Timestamp'}}]
"
2988,Which city had the 2nd highest 75th percentile of PM2.5 in November 2024?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 11}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -2, 'ret': 'city'}}]
"
2989,Identify the week in 2020 that registered the highest 25th percentile for PM2.5 levels.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'week', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'week'}}]
"
2990,Which state recorded the third-lowest average PM2.5 reading for May 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 5}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'state'}}]
"
2991,Identify the state with the 4th highest NCAP funding considering the variance of its PM10 concentration in 2020 (FY 2019-20).,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'var', 'col': 'PM10'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'ncap'}}, {'op': 'COMPUTE', 'params': {'new_col': 'funding_per_pm', 'numerator': 'fy2020_fund', 'denominator': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'funding_per_pm', 'ascending': False}}]
"
2992,Which station had the highest average PM2.5 in September 2022?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 9}}, {'op': 'AGG', 'params': {'by': 'station', 'fn': 'mean', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'station'}}]
"
2993,"In 2023, which city will rank third for the smallest reduction in 75th percentile PM2.5 levels from October to December?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'OR_FILTER', 'params': {'field': 'month', 'values': [10, 12]}}, {'op': 'PIVOT_DIFF', 'params': {'index': 'state', 'col_source': 'month', 'month_a': 10, 'month_b': 12, 'new_col': 'diff'}}, {'op': 'DROPNA', 'params': {'col': 'diff'}}, {'op': 'SORT', 'params': {'col': 'diff', 'ascending': True}}]
"
2994,"Across all recorded years, which March showed the third-lowest 25th percentile of PM2.5 levels?","
[{'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 2, 'ret': 'Timestamp'}}]
"
2995,Which city recorded the highest 75th percentile for PM10 in the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q75', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'city'}}]
"
2996,Which city noted the minimum 25th percentile of PM10 during the Summer season of 2018?,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}}, {'op': 'FILTER', 'params': {'field': 'season', 'value': 'spring', 'months': [3, 4, 5]}}, {'op': 'AGG', 'params': {'by': 'city', 'fn': 'q25', 'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 0, 'ret': 'city'}}]
"
2997,"In June 2023, which state exhibited the 2nd lowest average PM10?","
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 6}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'mean', 'col': 'PM10'}}, {'op': 'DROPNA', 'params': {'col': 'PM10'}}, {'op': 'SORT', 'params': {'col': 'PM10', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': 1, 'ret': 'state'}}]
"
2998,Determine the state with the highest 25th percentile of PM2.5 in August 2022.,"
[{'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}}, {'op': 'FILTER', 'params': {'field': 'month', 'value': 8}}, {'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'DROPNA', 'params': {'col': 'PM2.5'}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': True}}, {'op': 'SELECT', 'params': {'mode': 'rank', 'rank': -1, 'ret': 'state'}}]
"
2999,"Which state (excluding Union Territories) possesses the 3rd largest land area among the top 3 most polluted states, based on the 25th percentile of PM2.5 levels?","
[{'op': 'AGG', 'params': {'by': 'state', 'fn': 'q25', 'col': 'PM2.5'}}, {'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}}, {'op': 'FILTER_JOIN', 'params': {'field': 'isUnionTerritory', 'value': False}}, {'op': 'SORT', 'params': {'col': 'PM2.5', 'ascending': False}}, {'op': 'SELECT', 'params': {'mode': 'head', 'n': 3, 'ret': 'state'}}]
"
0,"Visualize the monthly average PM10 for Sikkim, Bihar, and Tamil Nadu in 2022 as a multi-line chart.",
1,"Visualize the monthly average PM10 for Delhi, Kerala, and Nagaland in 2017 as a multi-line chart.",
2,Plot the weekly average PM2.5 for Yamuna Nagar in 2021 as a line chart.,
3,Show a bar chart of the top 9 cities by median PM2.5 in 2024.,
4,Show the monthly average PM2.5 for Thrissur in 2017 as a line chart with area fill.,
5,"Plot the yearly average PM2.5 trends for Punjab, Chandigarh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
6,"Create a faceted bar chart showing top 7 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
7,"Compare the monthly average PM2.5 of Pathardih, Gangtok, and Byrnihat in 2023 as a multi-line chart.",
8,Show the monthly average PM10 trend for Hyderabad from 2017 to 2022 as a line chart.,
9,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Delhi, and Himachal Pradesh across 2019, 2020, 2021, and 2022.",
10,Show the monthly average PM2.5 for Yadgir in 2020 as a line chart with area fill.,
11,Plot the weekly average PM2.5 for Pratapgarh in 2023 as a line chart.,
12,Show a cumulative area chart of PM2.5 readings for Dhanbad across 2024.,
13,"Visualize the monthly average PM10 for Andhra Pradesh, Puducherry, and Jharkhand in 2023 as a multi-line chart.",
14,"Compare the monthly average PM2.5 of Chhal, Kalaburagi, and Muzaffarpur in 2023 as a multi-line chart.",
15,"Plot the yearly average PM2.5 trends for Tripura, Manipur, and West Bengal from 2017 to 2024 on a single multi-line chart.",
16,Plot the monthly average PM2.5 trend for Uttarakhand from 2017 to 2024 as a line chart.,
17,Show the monthly average PM2.5 for Balasore in 2019 as a line chart with area fill.,
18,"Compare the monthly average PM2.5 of Faridabad, Nashik, and Vapi in 2017 as a multi-line chart.",
19,"Visualize the monthly average PM10 for Punjab, Jammu and Kashmir, and Gujarat in 2023 as a multi-line chart.",
20,Plot the weekly average PM2.5 for Rairangpur in 2023 as a line chart.,
21,Show the monthly average PM2.5 for Palwal in 2017 as a line chart with area fill.,
22,Show a monthly bar chart of the number of days Tripura exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
23,Plot the yearly average PM2.5 for the top 5 most polluted states from 2017 to 2024 as a multi-line chart.,
24,Show the monthly average PM10 trend for Ankleshwar from 2017 to 2022 as a line chart.,
25,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Bihar, and Tamil Nadu across 2021, 2022, 2023, and 2024.",
26,"Compare the monthly average PM2.5 of Tumidih, Tirunelveli, and Pali in 2017 as a multi-line chart.",
27,Show a cumulative area chart of PM2.5 readings for Sawai Madhopur across 2024.,
28,Plot the weekly average PM2.5 for Sagar in 2021 as a line chart.,
29,Show a cumulative area chart of PM2.5 readings for Siliguri across 2021.,
30,Show the monthly average PM2.5 for Sangli in 2024 as a line chart with area fill.,
31,"Plot the yearly average PM2.5 trends for Madhya Pradesh, West Bengal, and Manipur from 2017 to 2024 on a single multi-line chart.",
32,"Compare the monthly average PM2.5 of Yadgir, Rajamahendravaram, and Araria in 2020 as a multi-line chart.",
33,Plot the rolling 30-day average PM2.5 for Punjab in 2017 as a line chart.,
34,Show a cumulative area chart of PM2.5 readings for Kanpur across 2019.,
35,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Gujarat, and Uttarakhand across 2017, 2018, 2019, and 2020.",
36,"Compare the monthly average PM2.5 of Ernakulam, Belgaum, and Ahmedabad in 2017 as a multi-line chart.",
37,"Compare the monthly average PM2.5 of Kolkata, Balasore, and Puducherry in 2023 as a multi-line chart.",
38,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Gujarat, and Chandigarh across 2020, 2021, 2022, and 2023.",
39,Show a cumulative area chart of PM2.5 readings for Hyderabad across 2018.,
40,Show a cumulative area chart of PM2.5 readings for Ahmednagar across 2024.,
41,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 10 cities.,
42,Show a cumulative area chart of PM2.5 readings for Kadapa across 2023.,
43,Plot the weekly average PM2.5 for Meerut in 2021 as a line chart.,
44,Show a bar chart of the top 10 cities by median PM2.5 in 2019.,
45,"Visualize the monthly average PM10 for Manipur, Odisha, and Uttarakhand in 2024 as a multi-line chart.",
46,"Scatter plot PM2.5 vs PM10 for Assam stations in 2019, with a regression trend line.",
47,Show a cumulative area chart of PM2.5 readings for Nagaur across 2023.,
48,"Plot the yearly average PM2.5 trends for Mizoram, Puducherry, and Kerala from 2017 to 2024 on a single multi-line chart.",
49,"Plot the yearly average PM2.5 trends for Manipur, Andhra Pradesh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
50,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Manipur, and Bihar across 2017, 2018, 2019, and 2020.",
51,Show the monthly average PM10 trend for Saharsa from 2019 to 2024 as a line chart.,
52,Show the monthly average PM10 trend for Aizawl from 2019 to 2024 as a line chart.,
53,"Visualize the monthly average PM10 for Himachal Pradesh, Odisha, and Mizoram in 2022 as a multi-line chart.",
54,Show the monthly average PM10 trend for Agartala from 2019 to 2024 as a line chart.,
55,Show the monthly average PM2.5 for Jorapokhar in 2018 as a line chart with area fill.,
56,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Kerala, and Telangana across 2017, 2018, 2019, and 2020.",
57,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Andhra Pradesh, and Bihar across 2017, 2018, 2019, and 2020.",
58,"Compare the monthly average PM2.5 of Bhilwara, Kalyan, and Ratlam in 2023 as a multi-line chart.",
59,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Tamil Nadu, and Odisha from 2017 to 2024 on a single multi-line chart.",
60,"Plot the yearly average PM2.5 trends for Manipur, Gujarat, and Nagaland from 2017 to 2024 on a single multi-line chart.",
61,"Scatter plot PM2.5 vs PM10 for Tripura stations in 2023, with a regression trend line.",
62,Show the monthly average PM2.5 for Arunachal Pradesh across each year from 2017 to 2024 as small multiples (faceted by year).,
63,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2024, with a regression trend line.",
64,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Sikkim, and Gujarat across 2017, 2018, 2019, and 2020.",
65,"Compare the monthly average PM2.5 of Chennai, Asansol, and Kurukshetra in 2024 as a multi-line chart.",
66,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Maharashtra, and Nagaland from 2017 to 2024 on a single multi-line chart.",
67,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Chhattisgarh.,
68,"Plot the yearly average PM2.5 trends for Jharkhand, Tripura, and West Bengal from 2017 to 2024 on a single multi-line chart.",
69,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Maharashtra, and Tamil Nadu across 2017, 2018, 2019, and 2020.",
70,"Plot the yearly average PM2.5 trends for Bihar, Jammu and Kashmir, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
71,"Visualize the monthly average PM10 for Karnataka, Haryana, and Gujarat in 2017 as a multi-line chart.",
72,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 9 cities.,
73,"Visualize the monthly average PM10 for Maharashtra, Maharashtra, and Tripura in 2023 as a multi-line chart.",
74,"Plot the yearly average PM2.5 trends for Tamil Nadu, Sikkim, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
75,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Andhra Pradesh, and Chhattisgarh across 2017, 2018, 2019, and 2020.",
76,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2019, with a regression trend line.",
77,"Visualize the monthly average PM10 for Kerala, West Bengal, and Uttarakhand in 2022 as a multi-line chart.",
78,Plot the weekly average PM2.5 for Gurugram in 2020 as a line chart.,
79,Plot the weekly average PM2.5 for Kota in 2024 as a line chart.,
80,"Create a bubble chart of PM2.5 vs area for each state in 2023, sized by population.",
81,"Compare the monthly average PM2.5 of Pali, Dewas, and Durgapur in 2020 as a multi-line chart.",
82,"Visualize the monthly average PM10 for West Bengal, Arunachal Pradesh, and Kerala in 2019 as a multi-line chart.",
83,Show the monthly average PM2.5 for Vijayapura in 2023 as a line chart with area fill.,
84,Plot the monthly average PM2.5 trend for Assam from 2017 to 2024 as a line chart.,
85,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2018, with a regression trend line.",
86,Show the monthly average PM2.5 for Howrah in 2019 as a line chart with area fill.,
87,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Madhya Pradesh.,
88,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Maharashtra, and Nagaland across 2017, 2018, 2019, and 2020.",
89,Show a heatmap of average PM2.5 for the top 9 most polluted states by month for 2019.,
90,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Kerala, and Madhya Pradesh across 2020, 2021, 2022, and 2023.",
91,"Visualize the monthly average PM10 for Puducherry, Haryana, and Chandigarh in 2023 as a multi-line chart.",
92,"Scatter plot PM2.5 vs PM10 for Bihar stations in 2020, with a regression trend line.",
93,"Scatter plot PM2.5 vs PM10 for Uttar Pradesh stations in 2023, with a regression trend line.",
94,Show a monthly bar chart of the number of days Uttarakhand exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
95,Plot the top 8 states by average PM2.5 in 2017 as a horizontal bar chart.,
96,"Visualize the monthly average PM10 for Uttarakhand, Madhya Pradesh, and Himachal Pradesh in 2023 as a multi-line chart.",
97,Plot the rolling 30-day average PM2.5 for Puducherry in 2018 as a line chart.,
98,"Compare the monthly average PM2.5 of Durgapur, Chikkaballapur, and Vellore in 2019 as a multi-line chart.",
99,Show the monthly average PM2.5 for Rupnagar in 2018 as a line chart with area fill.,
100,Show the monthly average PM2.5 for Churu in 2019 as a line chart with area fill.,
101,Plot the rolling 30-day average PM2.5 for Maharashtra in 2020 as a line chart.,
102,"Plot the yearly average PM2.5 trends for Jharkhand, Tamil Nadu, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
103,Show the monthly average PM2.5 for Bhiwadi in 2020 as a line chart with area fill.,
104,Visualize the bottom 10 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
105,"Visualize the monthly average PM10 for Chandigarh, West Bengal, and Meghalaya in 2019 as a multi-line chart.",
106,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2017, with a regression trend line.",
107,Show a heatmap of average PM2.5 for the top 7 most polluted states by month for 2019.,
108,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Jammu and Kashmir, and West Bengal across 2017, 2018, 2019, and 2020.",
109,Show a monthly bar chart of the number of days Gujarat exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
110,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Jammu and Kashmir.,
111,"Compare the monthly average PM2.5 of Kaithal, Jaipur, and Kota in 2018 as a multi-line chart.",
112,Plot the weekly average PM2.5 for Jhunjhunu in 2024 as a line chart.,
113,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Madhya Pradesh, and Manipur across 2017, 2018, 2019, and 2020.",
114,Show the monthly average PM10 trend for Kashipur from 2019 to 2024 as a line chart.,
115,Show a cumulative area chart of PM2.5 readings for Sonipat across 2021.,
116,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Madhya Pradesh, and Punjab across 2020, 2021, 2022, and 2023.",
117,Show the PM2.5 per 1000 km² (air quality density) for each state in 2022 as a bar chart.,
118,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2024 as a line chart.,
119,"Compare the monthly average PM2.5 of Jodhpur, Firozabad, and Narnaul in 2024 as a multi-line chart.",
120,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Karnataka, and Rajasthan across 2019, 2020, 2021, and 2022.",
121,Show the monthly average PM10 trend for Mandikhera from 2019 to 2024 as a line chart.,
122,"Compare the monthly average PM2.5 of Chikkamagaluru, Gadag, and Kanpur in 2019 as a multi-line chart.",
123,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Tamil Nadu, and Delhi across 2021, 2022, 2023, and 2024.",
124,"Visualize the monthly average PM10 for Andhra Pradesh, Uttarakhand, and Haryana in 2018 as a multi-line chart.",
125,Show the monthly average PM2.5 for Singrauli in 2024 as a line chart with area fill.,
126,Show a monthly bar chart of the number of days Jharkhand exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
127,"Visualize the monthly average PM10 for Kerala, Jammu and Kashmir, and Mizoram in 2018 as a multi-line chart.",
128,"Compare the monthly average PM2.5 of Solapur, Pithampur, and Rajsamand in 2017 as a multi-line chart.",
129,Show the monthly average PM10 trend for Pali from 2019 to 2024 as a line chart.,
130,"Plot the yearly average PM2.5 trends for Gujarat, Telangana, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
131,Plot the top 12 states by average PM2.5 in 2018 as a horizontal bar chart.,
132,"Plot the yearly average PM2.5 trends for Jharkhand, Telangana, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
133,"Show the top 10 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
134,Plot the yearly average PM2.5 for the top 12 most polluted states from 2017 to 2024 as a multi-line chart.,
135,"Compare the monthly average PM2.5 of Bhopal, Tensa, and Chittorgarh in 2024 as a multi-line chart.",
136,Show a cumulative area chart of PM2.5 readings for Yamuna Nagar across 2021.,
137,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2022.,
138,Plot the rolling 30-day average PM2.5 for Madhya Pradesh in 2020 as a line chart.,
139,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Puducherry, and Uttar Pradesh across 2017, 2018, 2019, and 2020.",
140,"Show the top 14 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
141,Show the monthly average PM10 trend for Gangtok from 2017 to 2022 as a line chart.,
142,"Visualize the monthly average PM10 for Haryana, Assam, and Chandigarh in 2023 as a multi-line chart.",
143,Show the monthly average PM10 trend for Yadgir from 2019 to 2024 as a line chart.,
144,Show the monthly average PM2.5 for Rupnagar in 2020 as a line chart with area fill.,
145,Plot the weekly average PM2.5 for Varanasi in 2023 as a line chart.,
146,Show the monthly average PM10 trend for Aurangabad from 2017 to 2022 as a line chart.,
147,"Plot average PM2.5 (2023) vs state population as a scatter plot, labeling each point with the state name.",
148,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Chhattisgarh, and Arunachal Pradesh across 2020, 2021, 2022, and 2023.",
149,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Kerala, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
150,Show the monthly average PM10 trend for Korba from 2019 to 2024 as a line chart.,
151,"Visualize the monthly average PM10 for Puducherry, Maharashtra, and Haryana in 2022 as a multi-line chart.",
152,Plot the weekly average PM2.5 for Siliguri in 2021 as a line chart.,
153,Plot the weekly average PM2.5 for Vijayapura in 2020 as a line chart.,
154,Plot the weekly average PM2.5 for Katni in 2023 as a line chart.,
155,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Tripura, and Uttarakhand across 2021, 2022, 2023, and 2024.",
156,Show a bar chart of the top 13 cities by median PM2.5 in 2020.,
157,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Tamil Nadu, and Karnataka across 2017, 2018, 2019, and 2020.",
158,"Plot the yearly average PM2.5 trends for Mizoram, Puducherry, and Haryana from 2017 to 2024 on a single multi-line chart.",
159,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Maharashtra, and Rajasthan across 2017, 2018, 2019, and 2020.",
160,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Tripura, and Punjab from 2017 to 2024 on a single multi-line chart.",
161,Show the monthly average PM2.5 for Chhal in 2023 as a line chart with area fill.,
162,"Compare the monthly average PM2.5 of Damoh, Malegaon, and Korba in 2020 as a multi-line chart.",
163,Plot the top 5 states by average PM2.5 in 2017 as a horizontal bar chart.,
164,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, West Bengal, and Chandigarh across 2017, 2018, 2019, and 2020.",
165,Visualize the bottom 12 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
166,Visualize the bottom 14 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
167,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Jammu and Kashmir, and Manipur across 2019, 2020, 2021, and 2022.",
168,"Scatter plot PM2.5 vs PM10 for Odisha stations in 2017, with a regression trend line.",
169,"Plot the yearly average PM2.5 trends for Bihar, Assam, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
170,"Compare the monthly average PM2.5 of Yadgir, Panchkula, and Thiruvananthapuram in 2018 as a multi-line chart.",
171,Show the monthly average PM2.5 for Palkalaiperur in 2020 as a line chart with area fill.,
172,Plot the rolling 30-day average PM2.5 for Mizoram in 2018 as a line chart.,
173,Show the monthly average PM2.5 for Jaisalmer in 2024 as a line chart with area fill.,
174,"Scatter plot PM2.5 vs PM10 for Jharkhand stations in 2019, with a regression trend line.",
175,Plot the top 6 states by average PM2.5 in 2023 as a horizontal bar chart.,
176,"Compare the monthly average PM2.5 of Latur, Dharwad, and Balasore in 2022 as a multi-line chart.",
177,Show a bar chart of the top 6 cities by median PM2.5 in 2021.,
178,Plot the rolling 30-day average PM2.5 for Rajasthan in 2019 as a line chart.,
179,Show the monthly average PM10 trend for Moradabad from 2019 to 2024 as a line chart.,
180,Show the monthly average PM10 trend for Kishanganj from 2017 to 2022 as a line chart.,
181,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Punjab, and Chandigarh across 2020, 2021, 2022, and 2023.",
182,Show a monthly bar chart of the number of days Chhattisgarh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
183,"Plot the yearly average PM2.5 trends for Nagaland, Arunachal Pradesh, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
184,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2024, with a regression trend line.",
185,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2024.,
186,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2024, with a regression trend line.",
187,"Compare the monthly average PM2.5 of Chengalpattu, Bagalkot, and Kota in 2017 as a multi-line chart.",
188,Show the monthly average PM2.5 for Rajsamand in 2017 as a line chart with area fill.,
189,Show the monthly average PM2.5 for Malegaon in 2022 as a line chart with area fill.,
190,"Visualize the monthly average PM10 for Meghalaya, Chandigarh, and Chhattisgarh in 2023 as a multi-line chart.",
191,Show the monthly average PM10 trend for Jalandhar from 2019 to 2024 as a line chart.,
192,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 8 cities.,
193,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Chandigarh.,
194,"Scatter plot PM2.5 vs PM10 for Assam stations in 2020, with a regression trend line.",
195,"Visualize the monthly average PM10 for Uttarakhand, Himachal Pradesh, and Jammu and Kashmir in 2022 as a multi-line chart.",
196,"Visualize the monthly average PM10 for West Bengal, Delhi, and Mizoram in 2023 as a multi-line chart.",
197,Show a monthly bar chart of the number of days Rajasthan exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
198,"Visualize the monthly average PM10 for West Bengal, Bihar, and Andhra Pradesh in 2018 as a multi-line chart.",
199,"Visualize the monthly average PM10 for Bihar, Andhra Pradesh, and Karnataka in 2022 as a multi-line chart.",
200,"Visualize the monthly average PM10 for Tamil Nadu, Nagaland, and Odisha in 2018 as a multi-line chart.",
201,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Uttarakhand.,
202,Show the monthly average PM2.5 for Durgapur in 2020 as a line chart with area fill.,
203,Show a cumulative area chart of PM2.5 readings for Navi Mumbai across 2022.,
204,"Plot the yearly average PM2.5 trends for Telangana, Sikkim, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
205,"Show the top 12 states by average PM10 in 2022 as a bar chart, sorted in descending order.",
206,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Himachal Pradesh.,
207,Plot the weekly average PM2.5 for Gaya in 2018 as a line chart.,
208,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Puducherry, and Karnataka across 2020, 2021, 2022, and 2023.",
209,"Scatter plot PM2.5 vs PM10 for West Bengal stations in 2024, with a regression trend line.",
210,Show a cumulative area chart of PM2.5 readings for Narnaul across 2022.,
211,Show the monthly average PM2.5 for Haryana across each year from 2017 to 2024 as small multiples (faceted by year).,
212,"Visualize the monthly average PM10 for Karnataka, Assam, and Puducherry in 2019 as a multi-line chart.",
213,Plot the weekly average PM2.5 for Mandikhera in 2020 as a line chart.,
214,Plot the weekly average PM2.5 for Chandrapur in 2019 as a line chart.,
215,"Create a faceted bar chart showing top 6 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
216,Show the monthly average PM2.5 for Rourkela in 2019 as a line chart with area fill.,
217,"Plot the yearly average PM2.5 trends for Gujarat, Uttar Pradesh, and Telangana from 2017 to 2024 on a single multi-line chart.",
218,"Visualize the monthly average PM10 for Puducherry, Delhi, and Jharkhand in 2017 as a multi-line chart.",
219,Plot the average PM2.5 across all states in February 2021 as a horizontal bar chart.,
220,Plot the rolling 30-day average PM2.5 for Karnataka in 2020 as a line chart.,
221,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2017.,
222,"Scatter plot PM2.5 vs PM10 for Madhya Pradesh stations in 2023, with a regression trend line.",
223,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Manipur, and Madhya Pradesh across 2017, 2018, 2019, and 2020.",
224,Show a bar chart of the top 15 cities by median PM2.5 in 2023.,
225,Plot the weekly average PM2.5 for Patna in 2024 as a line chart.,
226,Show the monthly average PM2.5 for Sikkim across each year from 2017 to 2024 as small multiples (faceted by year).,
227,Show the monthly average PM2.5 for Mizoram across each year from 2017 to 2024 as small multiples (faceted by year).,
228,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2019.,
229,"Compare the monthly average PM2.5 of Chittoor, Rajgir, and Jind in 2020 as a multi-line chart.",
230,"Visualize the monthly average PM10 for Arunachal Pradesh, Delhi, and Kerala in 2019 as a multi-line chart.",
231,Show the monthly average PM10 trend for Chengalpattu from 2019 to 2024 as a line chart.,
232,Plot the top 9 states by average PM2.5 in 2022 as a horizontal bar chart.,
233,"Visualize the monthly average PM10 for Bihar, Karnataka, and Gujarat in 2021 as a multi-line chart.",
234,"Plot the yearly average PM2.5 trends for Chandigarh, Kerala, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
235,Show a cumulative area chart of PM2.5 readings for Bilaspur across 2022.,
236,"Plot the yearly average PM2.5 trends for Meghalaya, Telangana, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
237,Plot the rolling 30-day average PM2.5 for Punjab in 2023 as a line chart.,
238,Show the monthly average PM2.5 for Pune in 2018 as a line chart with area fill.,
239,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Mizoram, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
240,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Uttar Pradesh, and Haryana across 2017, 2018, 2019, and 2020.",
241,"Compare the monthly average PM2.5 of Madikeri, Pudukottai, and Nashik in 2019 as a multi-line chart.",
242,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Telangana, and Arunachal Pradesh across 2017, 2018, 2019, and 2020.",
243,"Scatter plot PM2.5 vs PM10 for Manipur stations in 2017, with a regression trend line.",
244,Plot the weekly average PM2.5 for Howrah in 2021 as a line chart.,
245,"Compare the monthly average PM2.5 of Gorakhpur, Vijayawada, and Perundurai in 2018 as a multi-line chart.",
246,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Tripura.,
247,Show a bar chart of the top 12 cities by median PM2.5 in 2020.,
248,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Puducherry, and Chhattisgarh across 2020, 2021, 2022, and 2023.",
249,Show a heatmap of average PM2.5 for the top 9 most polluted states by month for 2017.,
250,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Gujarat, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
251,Show a cumulative area chart of PM2.5 readings for Katni across 2022.,
252,Show the monthly average PM2.5 for Tonk in 2017 as a line chart with area fill.,
253,"Scatter plot PM2.5 vs PM10 for Nagaland stations in 2019, with a regression trend line.",
254,"Visualize the monthly average PM10 for Karnataka, Odisha, and Chandigarh in 2023 as a multi-line chart.",
255,Plot the weekly average PM2.5 for Narnaul in 2023 as a line chart.,
256,Show the monthly average PM2.5 for Raichur in 2022 as a line chart with area fill.,
257,"Visualize the monthly average PM10 for Uttarakhand, Nagaland, and Mizoram in 2023 as a multi-line chart.",
258,"Visualize the monthly average PM10 for Telangana, Puducherry, and Arunachal Pradesh in 2017 as a multi-line chart.",
259,"Compare the monthly average PM2.5 of Raichur, Virudhunagar, and Chamarajanagar in 2023 as a multi-line chart.",
260,Show a cumulative area chart of PM2.5 readings for Bhiwani across 2022.,
261,"Plot the yearly average PM2.5 trends for Tamil Nadu, Meghalaya, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
262,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Assam, and Andhra Pradesh across 2020, 2021, 2022, and 2023.",
263,Show a cumulative area chart of PM2.5 readings for Naharlagun across 2022.,
264,"Plot the yearly average PM2.5 trends for Tripura, Karnataka, and Bihar from 2017 to 2024 on a single multi-line chart.",
265,"Visualize the monthly average PM10 for Maharashtra, Uttarakhand, and Uttarakhand in 2021 as a multi-line chart.",
266,"Visualize the monthly average PM10 for Madhya Pradesh, Karnataka, and Maharashtra in 2022 as a multi-line chart.",
267,"Show the top 15 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
268,"Compare the monthly average PM2.5 of Indore, Bhilai, and Varanasi in 2017 as a multi-line chart.",
269,Show the monthly average PM2.5 for Rajasthan across each year from 2017 to 2024 as small multiples (faceted by year).,
270,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Sikkim, and Uttarakhand across 2019, 2020, 2021, and 2022.",
271,Plot the yearly average PM2.5 for the top 9 most polluted states from 2017 to 2024 as a multi-line chart.,
272,Show a monthly bar chart of the number of days Haryana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
273,"Visualize the monthly average PM10 for Manipur, Meghalaya, and Uttar Pradesh in 2021 as a multi-line chart.",
274,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
275,"Visualize the monthly average PM10 for Mizoram, Chandigarh, and Odisha in 2024 as a multi-line chart.",
276,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Mizoram, and Nagaland across 2021, 2022, 2023, and 2024.",
277,"Compare the monthly average PM2.5 of Byrnihat, Saharsa, and Khurja in 2022 as a multi-line chart.",
278,"Plot the yearly average PM2.5 trends for Chandigarh, Telangana, and Delhi from 2017 to 2024 on a single multi-line chart.",
279,Visualize the bottom 13 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
280,Show the monthly average PM2.5 for Asansol in 2024 as a line chart with area fill.,
281,Show the monthly average PM2.5 for Brajrajnagar in 2020 as a line chart with area fill.,
282,"Compare the monthly average PM2.5 of Vijayapura, Angul, and Thanjavur in 2022 as a multi-line chart.",
283,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2019.,
284,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Rajasthan, and Haryana across 2019, 2020, 2021, and 2022.",
285,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Nagaland, and Delhi across 2021, 2022, 2023, and 2024.",
286,"Plot a scatter chart of state-level average PM2.5 versus population for 2018, with point size representing area.",
287,"Plot the yearly average PM2.5 trends for Puducherry, Sikkim, and Delhi from 2017 to 2024 on a single multi-line chart.",
288,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Jharkhand, and Sikkim across 2019, 2020, 2021, and 2022.",
289,Show a bar chart of the top 8 cities by median PM2.5 in 2019.,
290,Show a cumulative area chart of PM2.5 readings for Chikkaballapur across 2018.,
291,"Visualize the monthly average PM10 for Punjab, Chhattisgarh, and Bihar in 2021 as a multi-line chart.",
292,"Plot the yearly average PM2.5 trends for Puducherry, Odisha, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
293,Show the monthly average PM10 trend for Mumbai from 2018 to 2023 as a line chart.,
294,"Compare the monthly average PM2.5 of Ankleshwar, Asansol, and Pathardih in 2023 as a multi-line chart.",
295,Show a monthly bar chart of the number of days Odisha exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
296,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Arunachal Pradesh, and Karnataka across 2020, 2021, 2022, and 2023.",
297,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Andhra Pradesh, and Rajasthan across 2020, 2021, 2022, and 2023.",
298,"Plot the yearly average PM2.5 trends for Nagaland, Uttar Pradesh, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
299,Plot the distribution of PM2.5 values in Sikkim across all years using a histogram.,
300,Show the monthly average PM10 trend for Rourkela from 2017 to 2022 as a line chart.,
301,Show the monthly average PM2.5 for Delhi in 2024 as a line chart with area fill.,
302,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Sikkim.,
303,Plot the weekly average PM2.5 for Gangtok in 2023 as a line chart.,
304,Show a cumulative area chart of PM2.5 readings for Singrauli across 2021.,
305,"Compare the monthly average PM2.5 of Kunjemura, Durgapur, and Mira-Bhayandar in 2023 as a multi-line chart.",
306,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Mizoram, and West Bengal across 2017, 2018, 2019, and 2020.",
307,"Scatter plot PM2.5 vs PM10 for Jharkhand stations in 2020, with a regression trend line.",
308,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Puducherry, and Himachal Pradesh across 2019, 2020, 2021, and 2022.",
309,Show the monthly average PM2.5 for Bikaner in 2019 as a line chart with area fill.,
310,"Scatter plot PM2.5 vs PM10 for Puducherry stations in 2024, with a regression trend line.",
311,Show a bar chart of the top 8 cities by median PM2.5 in 2017.,
312,"Create a faceted bar chart showing top 8 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
313,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
314,Show the monthly average PM2.5 for Bhilwara in 2024 as a line chart with area fill.,
315,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2019, with a regression trend line.",
316,"Create a faceted bar chart showing top 9 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
317,Visualize the bottom 12 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
318,"Compare the monthly average PM2.5 of Nalbari, Raichur, and Asansol in 2022 as a multi-line chart.",
319,"Scatter plot PM2.5 vs PM10 for Uttar Pradesh stations in 2020, with a regression trend line.",
320,"Visualize the monthly average PM10 for Himachal Pradesh, Tripura, and Puducherry in 2024 as a multi-line chart.",
321,"Create a faceted bar chart showing top 7 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
322,Plot the rolling 30-day average PM2.5 for Bihar in 2017 as a line chart.,
323,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2024, with a regression trend line.",
324,"Create a faceted bar chart showing top 13 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
325,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Maharashtra, and Karnataka across 2019, 2020, 2021, and 2022.",
326,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 7 most polluted states.,
327,"Compare the monthly average PM2.5 of Mumbai, Davanagere, and Samastipur in 2017 as a multi-line chart.",
328,"Visualize the monthly average PM10 for Mizoram, Sikkim, and Gujarat in 2023 as a multi-line chart.",
329,"Plot the yearly average PM2.5 trends for Haryana, Karnataka, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
330,Show the monthly average PM2.5 for Panipat in 2024 as a line chart with area fill.,
331,Show a monthly bar chart of the number of days Chandigarh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
332,Show a monthly bar chart of the number of days Rajasthan exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
333,"Create a faceted bar chart showing top 13 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
334,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Himachal Pradesh, and Uttar Pradesh across 2019, 2020, 2021, and 2022.",
335,"Plot the yearly average PM2.5 trends for West Bengal, Arunachal Pradesh, and Bihar from 2017 to 2024 on a single multi-line chart.",
336,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Bihar, and Mizoram across 2019, 2020, 2021, and 2022.",
337,Show a monthly bar chart of the number of days Meghalaya exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
338,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Manipur, and Jharkhand across 2017, 2018, 2019, and 2020.",
339,Show the monthly average PM2.5 for Dharwad in 2020 as a line chart with area fill.,
340,Plot the weekly average PM2.5 for Samastipur in 2023 as a line chart.,
341,"Compare the monthly average PM2.5 of Jalgaon, Barbil, and Badlapur in 2023 as a multi-line chart.",
342,Show a cumulative area chart of PM2.5 readings for Araria across 2021.,
343,"Plot the yearly average PM2.5 trends for Manipur, Telangana, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
344,"Visualize the monthly average PM10 for Andhra Pradesh, Mizoram, and Haryana in 2024 as a multi-line chart.",
345,Plot the rolling 30-day average PM2.5 for Andhra Pradesh in 2020 as a line chart.,
346,"Visualize the monthly average PM10 for Haryana, Nagaland, and Rajasthan in 2022 as a multi-line chart.",
347,Show a monthly bar chart of the number of days Delhi exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
348,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Chhattisgarh, and Uttarakhand across 2020, 2021, 2022, and 2023.",
349,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2020.,
350,Plot the weekly average PM2.5 for Manguraha in 2023 as a line chart.,
351,"Plot the yearly average PM2.5 trends for Delhi, Uttarakhand, and Telangana from 2017 to 2024 on a single multi-line chart.",
352,Show a bar chart of the top 6 cities by median PM2.5 in 2020.,
353,"Visualize the monthly average PM10 for Mizoram, Kerala, and Jammu and Kashmir in 2019 as a multi-line chart.",
354,"Visualize the monthly average PM10 for Maharashtra, Bihar, and Andhra Pradesh in 2018 as a multi-line chart.",
355,"Plot the yearly average PM2.5 trends for Rajasthan, Uttar Pradesh, and Sikkim from 2017 to 2024 on a single multi-line chart.",
356,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, West Bengal, and Manipur across 2019, 2020, 2021, and 2022.",
357,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Chandigarh, and Telangana across 2021, 2022, 2023, and 2024.",
358,Plot the distribution of PM2.5 values in Bihar across all years using a histogram.,
359,Plot the rolling 30-day average PM2.5 for Karnataka in 2017 as a line chart.,
360,"Compare the monthly average PM2.5 of Kolhapur, Maihar, and Muzaffarnagar in 2020 as a multi-line chart.",
361,Show a monthly bar chart of the number of days Andhra Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
362,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Telangana, and Arunachal Pradesh across 2021, 2022, 2023, and 2024.",
363,Show a cumulative area chart of PM2.5 readings for Bhagalpur across 2024.,
364,"Plot the yearly average PM2.5 trends for West Bengal, Punjab, and Assam from 2017 to 2024 on a single multi-line chart.",
365,Plot the weekly average PM2.5 for Dhule in 2024 as a line chart.,
366,"Plot the yearly average PM2.5 trends for Sikkim, Uttar Pradesh, and Kerala from 2017 to 2024 on a single multi-line chart.",
367,Plot the weekly average PM2.5 for Bihar Sharif in 2023 as a line chart.,
368,Show the monthly average PM2.5 for Raipur in 2019 as a line chart with area fill.,
369,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Sikkim, and Manipur across 2017, 2018, 2019, and 2020.",
370,"Compare the monthly average PM2.5 of Sagar, Baghpat, and Nagpur in 2018 as a multi-line chart.",
371,Plot a grouped bar chart of average PM10 by season and year (2018–2021) for all of India.,
372,"Compare the monthly average PM2.5 of Ahmedabad, Jaisalmer, and Patna in 2019 as a multi-line chart.",
373,"Plot the yearly average PM2.5 trends for West Bengal, Chandigarh, and Gujarat from 2017 to 2024 on a single multi-line chart.",
374,"Visualize the monthly average PM10 for Jharkhand, Puducherry, and Chhattisgarh in 2023 as a multi-line chart.",
375,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Meghalaya, and Delhi across 2021, 2022, 2023, and 2024.",
376,"Scatter plot PM2.5 vs PM10 for Kerala stations in 2018, with a regression trend line.",
377,Plot the rolling 30-day average PM2.5 for Arunachal Pradesh in 2020 as a line chart.,
378,Show a heatmap of average PM2.5 for the top 14 most polluted states by month for 2017.,
379,"Visualize the monthly average PM10 for Andhra Pradesh, Assam, and Kerala in 2018 as a multi-line chart.",
380,"Compare the monthly average PM2.5 of Satna, Vatva, and Dungarpur in 2024 as a multi-line chart.",
381,Plot the top 5 states by average PM2.5 in 2019 as a horizontal bar chart.,
382,Show the monthly average PM2.5 for Cuttack in 2017 as a line chart with area fill.,
383,Show a bar chart of the top 9 cities by median PM2.5 in 2019.,
384,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2017, with a regression trend line.",
385,Show the monthly average PM10 trend for Jalgaon from 2019 to 2024 as a line chart.,
386,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Chhattisgarh, and Odisha across 2020, 2021, 2022, and 2023.",
387,"Compare the monthly average PM2.5 of Brajrajnagar, Aurangabad, and Kaithal in 2018 as a multi-line chart.",
388,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2024.,
389,Show the monthly average PM2.5 for Nandesari in 2023 as a line chart with area fill.,
390,"Plot the yearly average PM2.5 trends for Jharkhand, Kerala, and Karnataka from 2017 to 2024 on a single multi-line chart.",
391,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Puducherry, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
392,"Show the top 10 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
393,Plot the yearly average PM2.5 for the top 6 most polluted states from 2017 to 2024 as a multi-line chart.,
394,"Plot the yearly average PM2.5 trends for Karnataka, Tamil Nadu, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
395,"Plot the yearly average PM2.5 trends for Jharkhand, Andhra Pradesh, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
396,"Plot the yearly average PM2.5 trends for Haryana, Himachal Pradesh, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
397,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Tamil Nadu.,
398,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Manipur, and Madhya Pradesh across 2021, 2022, 2023, and 2024.",
399,Plot the yearly average PM2.5 for the top 13 most polluted states from 2017 to 2024 as a multi-line chart.,
400,Plot the weekly average PM2.5 for Ramanathapuram in 2023 as a line chart.,
401,Plot the rolling 30-day average PM2.5 for Gujarat in 2020 as a line chart.,
402,"Compare the monthly average PM2.5 of Bathinda, Satna, and Darbhanga in 2019 as a multi-line chart.",
403,Show a bar chart of the top 14 cities by median PM2.5 in 2023.,
404,Visualize the bottom 9 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
405,Show a monthly bar chart of the number of days Puducherry exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
406,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Assam, and Chandigarh across 2019, 2020, 2021, and 2022.",
407,"Visualize the monthly average PM10 for Uttarakhand, Assam, and Bihar in 2021 as a multi-line chart.",
408,Show a monthly bar chart of the number of days Mizoram exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
409,"Compare the monthly average PM2.5 of Muzaffarpur, Kalyan, and Hubballi in 2019 as a multi-line chart.",
410,"Visualize the monthly average PM10 for Jharkhand, Delhi, and Himachal Pradesh in 2022 as a multi-line chart.",
411,"Visualize the monthly average PM10 for Mizoram, Jammu and Kashmir, and Meghalaya in 2024 as a multi-line chart.",
412,Show a bar chart comparing the 75th percentile PM2.5 of all states in winter 2019 (November–February).,
413,Show a bar chart of the top 14 cities by median PM2.5 in 2021.,
414,Show the monthly average PM2.5 for Pimpri-Chinchwad in 2019 as a line chart with area fill.,
415,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Chhattisgarh.,
416,"Plot the yearly average PM2.5 trends for Mizoram, Meghalaya, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
417,Show the monthly average PM2.5 for Maharashtra across each year from 2017 to 2024 as small multiples (faceted by year).,
418,"Create a faceted bar chart showing top 15 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
419,Plot the weekly average PM2.5 for Jalgaon in 2023 as a line chart.,
420,Show the monthly average PM2.5 for Alwar in 2020 as a line chart with area fill.,
421,"Visualize the monthly average PM10 for Rajasthan, Chandigarh, and Jharkhand in 2019 as a multi-line chart.",
422,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2023.,
423,"Compare the monthly average PM2.5 of Patna, Jind, and Khanna in 2018 as a multi-line chart.",
424,Show the monthly average PM10 trend for Kishanganj from 2019 to 2024 as a line chart.,
425,"Visualize the monthly average PM10 for Arunachal Pradesh, Maharashtra, and Uttarakhand in 2018 as a multi-line chart.",
426,"Compare the monthly average PM2.5 of Thiruvananthapuram, Anantapur, and Karwar in 2022 as a multi-line chart.",
427,Plot the rolling 30-day average PM2.5 for Nagaland in 2018 as a line chart.,
428,Show a monthly bar chart of the number of days Odisha exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
429,"Compare the monthly average PM2.5 of Brajrajnagar, Bahadurgarh, and Tumidih in 2024 as a multi-line chart.",
430,"Visualize the monthly average PM10 for Jammu and Kashmir, Mizoram, and Chhattisgarh in 2024 as a multi-line chart.",
431,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Assam, and Assam across 2017, 2018, 2019, and 2020.",
432,Plot the rolling 30-day average PM2.5 for Madhya Pradesh in 2024 as a line chart.,
433,"Plot the yearly average PM2.5 trends for West Bengal, Maharashtra, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
434,Show the monthly average PM2.5 for Hanumangarh in 2020 as a line chart with area fill.,
435,Show a scatter plot of total NCAP funding vs average PM2.5 (2020) per state.,
436,"Compare the monthly average PM2.5 of Yamuna Nagar, Visakhapatnam, and Mangalore in 2018 as a multi-line chart.",
437,"Compare the monthly average PM2.5 of Katni, Chandrapur, and Sasaram in 2019 as a multi-line chart.",
438,Show the monthly average PM10 trend for Begusarai from 2019 to 2024 as a line chart.,
439,"Plot the yearly average PM2.5 trends for Delhi, Karnataka, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
440,"Compare the monthly average PM2.5 of Sirohi, Talcher, and Manguraha in 2024 as a multi-line chart.",
441,Show the monthly average PM2.5 for Udaipur in 2022 as a line chart with area fill.,
442,Plot the weekly average PM2.5 for Palwal in 2020 as a line chart.,
443,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Nagaland, and Telangana across 2017, 2018, 2019, and 2020.",
444,"Plot the yearly average PM2.5 trends for Nagaland, Jammu and Kashmir, and Haryana from 2017 to 2024 on a single multi-line chart.",
445,Show the monthly average PM2.5 for Gwalior in 2024 as a line chart with area fill.,
446,Plot the weekly average PM2.5 for Amritsar in 2019 as a line chart.,
447,Plot the rolling 30-day average PM2.5 for Puducherry in 2023 as a line chart.,
448,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Chhattisgarh, and Puducherry across 2020, 2021, 2022, and 2023.",
449,Plot the weekly average PM2.5 for Siliguri in 2019 as a line chart.,
450,Plot the rolling 30-day average PM2.5 for Jammu and Kashmir in 2018 as a line chart.,
451,Show a cumulative area chart of PM2.5 readings for Mandideep across 2022.,
452,Plot the weekly average PM2.5 for Bhiwani in 2021 as a line chart.,
453,Plot the weekly average PM2.5 for Rajgir in 2021 as a line chart.,
454,Show a bar chart of the top 6 cities by median PM2.5 in 2017.,
455,Show a cumulative area chart of PM2.5 readings for Nanded across 2023.,
456,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Odisha, and Puducherry across 2020, 2021, 2022, and 2023.",
457,Plot the weekly average PM2.5 for Indore in 2024 as a line chart.,
458,Plot the weekly average PM2.5 for Jalandhar in 2018 as a line chart.,
459,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2017.,
460,"Show the top 13 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
461,Show a monthly bar chart of the number of days Delhi exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
462,"Scatter plot PM2.5 vs PM10 for Uttarakhand stations in 2021, with a regression trend line.",
463,"Compare the monthly average PM2.5 of Jhalawar, Gandhinagar, and Mira-Bhayandar in 2020 as a multi-line chart.",
464,"Visualize the monthly average PM10 for Uttarakhand, Andhra Pradesh, and Haryana in 2023 as a multi-line chart.",
465,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Assam, and Puducherry across 2021, 2022, 2023, and 2024.",
466,"Compare the monthly average PM2.5 of Hubballi, Tumakuru, and Sikar in 2024 as a multi-line chart.",
467,Show the monthly average PM2.5 for Pimpri-Chinchwad in 2022 as a line chart with area fill.,
468,Show a bar chart of the top 5 cities by median PM2.5 in 2023.,
469,Plot the rolling 30-day average PM2.5 for Assam in 2022 as a line chart.,
470,"Visualize the monthly average PM10 for Haryana, Manipur, and Kerala in 2023 as a multi-line chart.",
471,Show the monthly average PM2.5 for Sri Ganganagar in 2019 as a line chart with area fill.,
472,Plot the weekly average PM2.5 for Ulhasnagar in 2024 as a line chart.,
473,Show the monthly average PM2.5 for Kurukshetra in 2017 as a line chart with area fill.,
474,"Visualize the monthly average PM10 for Kerala, Chandigarh, and Chandigarh in 2018 as a multi-line chart.",
475,"Plot the yearly average PM2.5 trends for Assam, Jammu and Kashmir, and Sikkim from 2017 to 2024 on a single multi-line chart.",
476,Plot the average PM2.5 across all states in February 2019 as a horizontal bar chart.,
477,"Plot the yearly average PM2.5 trends for Tamil Nadu, Punjab, and Gujarat from 2017 to 2024 on a single multi-line chart.",
478,Plot the top 7 states by average PM2.5 in 2018 as a horizontal bar chart.,
479,Plot the rolling 30-day average PM2.5 for Sikkim in 2023 as a line chart.,
480,Bar chart of PM2.5 per capita (average PM2.5 × 1000 / population) for each state in 2020.,
481,Show a heatmap of average PM2.5 for the top 7 most polluted states by month for 2021.,
482,Show the monthly average PM10 trend for Thiruvananthapuram from 2019 to 2024 as a line chart.,
483,Show a cumulative area chart of PM2.5 readings for Bahadurgarh across 2019.,
484,Show a cumulative area chart of PM2.5 readings for Guwahati across 2024.,
485,"Visualize the monthly average PM10 for Tripura, Kerala, and Karnataka in 2024 as a multi-line chart.",
486,Show a cumulative area chart of PM2.5 readings for Bileipada across 2022.,
487,"Plot the yearly average PM2.5 trends for Bihar, Himachal Pradesh, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
488,Show the monthly average PM10 trend for Udaipur from 2019 to 2024 as a line chart.,
489,Plot the rolling 30-day average PM2.5 for Chhattisgarh in 2018 as a line chart.,
490,"Visualize the monthly average PM10 for Nagaland, Gujarat, and Tamil Nadu in 2019 as a multi-line chart.",
491,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Sikkim, and Punjab across 2019, 2020, 2021, and 2022.",
492,Show a bar chart of the top 15 cities by median PM2.5 in 2021.,
493,"Compare the monthly average PM2.5 of Hanumangarh, Eloor, and Perundurai in 2020 as a multi-line chart.",
494,"Plot the yearly average PM2.5 trends for Karnataka, Gujarat, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
495,Show the monthly average PM2.5 for Badlapur in 2018 as a line chart with area fill.,
496,Plot the rolling 30-day average PM2.5 for Chhattisgarh in 2024 as a line chart.,
497,Show the monthly average PM10 trend for Rourkela from 2019 to 2024 as a line chart.,
498,"Plot the yearly average PM2.5 trends for Puducherry, Madhya Pradesh, and Sikkim from 2017 to 2024 on a single multi-line chart.",
499,Show the monthly average PM2.5 for Jabalpur in 2018 as a line chart with area fill.,
500,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Himachal Pradesh, and Puducherry across 2019, 2020, 2021, and 2022.",
501,Plot the top 15 states by average PM2.5 in 2022 as a horizontal bar chart.,
502,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Tripura, and Puducherry from 2017 to 2024 on a single multi-line chart.",
503,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Gujarat, and West Bengal from 2017 to 2024 on a single multi-line chart.",
504,"Compare the monthly average PM2.5 of Sawai Madhopur, Jaipur, and Ankleshwar in 2024 as a multi-line chart.",
505,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Karnataka, and Delhi across 2019, 2020, 2021, and 2022.",
506,"Compare the monthly average PM2.5 of Ooty, Rupnagar, and Visakhapatnam in 2023 as a multi-line chart.",
507,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Chhattisgarh, and Assam across 2020, 2021, 2022, and 2023.",
508,"Plot the yearly average PM2.5 trends for Odisha, Tamil Nadu, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
509,"Visualize the monthly average PM10 for Gujarat, Gujarat, and Jharkhand in 2019 as a multi-line chart.",
510,"Plot the yearly average PM2.5 trends for Rajasthan, Uttar Pradesh, and Telangana from 2017 to 2024 on a single multi-line chart.",
511,Show the monthly average PM10 trend for Hassan from 2017 to 2022 as a line chart.,
512,"Plot the yearly average PM2.5 trends for Uttarakhand, Telangana, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
513,Show a monthly bar chart of the number of days Odisha exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
514,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Bihar, and Tripura across 2021, 2022, 2023, and 2024.",
515,Show a monthly bar chart of the number of days Uttar Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
516,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Punjab, and Punjab across 2020, 2021, 2022, and 2023.",
517,Show the monthly average PM10 trend for Hajipur from 2019 to 2024 as a line chart.,
518,Show a cumulative area chart of PM2.5 readings for Vatva across 2022.,
519,"Create a grouped bar chart comparing the average PM2.5 for Assam, Karnataka, and Meghalaya across 2017, 2018, 2019, and 2020.",
520,Plot the weekly average PM2.5 for Arrah in 2023 as a line chart.,
521,Plot the monthly average PM2.5 trend for Odisha from 2017 to 2024 as a line chart.,
522,"Compare the monthly average PM2.5 of Srinagar, Muzaffarpur, and Pimpri-Chinchwad in 2020 as a multi-line chart.",
523,"Scatter plot PM2.5 vs PM10 for Tripura stations in 2017, with a regression trend line.",
524,Show a cumulative area chart of PM2.5 readings for Mangalore across 2021.,
525,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Puducherry, and Meghalaya across 2017, 2018, 2019, and 2020.",
526,Plot the weekly average PM2.5 for Alwar in 2017 as a line chart.,
527,"Compare the monthly average PM2.5 of Sirsa, Thiruvananthapuram, and Byrnihat in 2022 as a multi-line chart.",
528,"Scatter plot PM2.5 vs PM10 for Jammu and Kashmir stations in 2017, with a regression trend line.",
529,Show the monthly average PM2.5 for Purnia in 2018 as a line chart with area fill.,
530,Show the monthly average PM10 trend for Bagalkot from 2017 to 2022 as a line chart.,
531,"Compare the monthly average PM2.5 of Agartala, Rishikesh, and Muzaffarpur in 2022 as a multi-line chart.",
532,Show the monthly average PM2.5 for Vatva in 2022 as a line chart with area fill.,
533,Plot the distribution of PM2.5 values in Rajasthan across all years using a histogram.,
534,"Visualize the monthly average PM10 for Tamil Nadu, Maharashtra, and Delhi in 2017 as a multi-line chart.",
535,"Create a faceted bar chart showing top 8 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
536,Show a cumulative area chart of PM2.5 readings for Davanagere across 2021.,
537,Show a cumulative area chart of PM2.5 readings for Chandigarh across 2024.,
538,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Nagaland, and Delhi across 2020, 2021, 2022, and 2023.",
539,Show the monthly average PM10 trend for Dharuhera from 2019 to 2024 as a line chart.,
540,"Plot the yearly average PM2.5 trends for Delhi, Maharashtra, and Kerala from 2017 to 2024 on a single multi-line chart.",
541,Show the monthly average PM10 trend for Nashik from 2019 to 2024 as a line chart.,
542,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2022 as a line chart.,
543,"Visualize the monthly average PM10 for Tamil Nadu, Delhi, and Sikkim in 2022 as a multi-line chart.",
544,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Himachal Pradesh, and Tripura across 2020, 2021, 2022, and 2023.",
545,Show a cumulative area chart of PM2.5 readings for Indore across 2022.,
546,"Visualize the monthly average PM10 for Andhra Pradesh, Telangana, and Kerala in 2024 as a multi-line chart.",
547,"Visualize the monthly average PM10 for Punjab, Odisha, and Jammu and Kashmir in 2022 as a multi-line chart.",
548,"Visualize the monthly average PM10 for Chhattisgarh, Delhi, and Sikkim in 2018 as a multi-line chart.",
549,Visualize the bottom 13 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
550,"Visualize the monthly average PM10 for Haryana, Manipur, and Nagaland in 2019 as a multi-line chart.",
551,Show the monthly average PM10 trend for Dehradun from 2019 to 2024 as a line chart.,
552,"Compare the monthly average PM2.5 of Ghaziabad, Pudukottai, and Jalna in 2023 as a multi-line chart.",
553,Show a bar chart of the top 13 cities by median PM2.5 in 2021.,
554,"Visualize the monthly average PM10 for Uttarakhand, Jammu and Kashmir, and Mizoram in 2022 as a multi-line chart.",
555,"Create a grouped bar chart comparing the average PM2.5 for Assam, Gujarat, and Haryana across 2017, 2018, 2019, and 2020.",
556,"Show the top 6 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
557,Show a bar chart of the top 11 cities by median PM2.5 in 2023.,
558,Show a cumulative area chart of PM2.5 readings for Surat across 2022.,
559,"Visualize the monthly average PM10 for Delhi, Kerala, and Telangana in 2017 as a multi-line chart.",
560,Show the monthly average PM2.5 for Jodhpur in 2020 as a line chart with area fill.,
561,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Sikkim, and Haryana across 2019, 2020, 2021, and 2022.",
562,Show the monthly average PM2.5 for Himachal Pradesh across each year from 2017 to 2024 as small multiples (faceted by year).,
563,Show the monthly average PM10 trend for Dindigul from 2019 to 2024 as a line chart.,
564,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Karnataka, and Jharkhand across 2019, 2020, 2021, and 2022.",
565,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Mizoram, and Assam across 2020, 2021, 2022, and 2023.",
566,Show the monthly average PM10 trend for Jalandhar from 2017 to 2022 as a line chart.,
567,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Arunachal Pradesh, and Punjab across 2021, 2022, 2023, and 2024.",
568,Show the monthly average PM2.5 for Aizawl in 2020 as a line chart with area fill.,
569,"Plot the yearly average PM2.5 trends for Mizoram, Mizoram, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
570,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Maharashtra, and Kerala across 2020, 2021, 2022, and 2023.",
571,Show the monthly average PM2.5 for Perundurai in 2019 as a line chart with area fill.,
572,Show the monthly average PM10 trend for Gaya from 2019 to 2024 as a line chart.,
573,Show the monthly average PM2.5 for Varanasi in 2023 as a line chart with area fill.,
574,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Delhi, and Tamil Nadu across 2020, 2021, 2022, and 2023.",
575,Plot the distribution of PM2.5 values in Tamil Nadu across all years using a histogram.,
576,"Scatter plot PM2.5 vs PM10 for Puducherry stations in 2023, with a regression trend line.",
577,Show the monthly average PM2.5 for Jharkhand across each year from 2017 to 2024 as small multiples (faceted by year).,
578,Visualize the bottom 11 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
579,Show a cumulative area chart of PM2.5 readings for Surat across 2024.,
580,Plot the weekly average PM2.5 for Gurugram in 2024 as a line chart.,
581,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Delhi, and Haryana from 2017 to 2024 on a single multi-line chart.",
582,Plot the weekly average PM2.5 for Jind in 2023 as a line chart.,
583,"Compare the monthly average PM2.5 of Raichur, Barrackpore, and Navi Raichur in 2024 as a multi-line chart.",
584,Plot the weekly average PM2.5 for Madikeri in 2021 as a line chart.,
585,Plot the rolling 30-day average PM2.5 for Andhra Pradesh in 2024 as a line chart.,
586,Show a cumulative area chart of PM2.5 readings for Kochi across 2021.,
587,"Compare the monthly average PM2.5 of Yadgir, Dholpur, and Barrackpore in 2023 as a multi-line chart.",
588,Show the monthly average PM2.5 for Guwahati in 2019 as a line chart with area fill.,
589,"Plot the yearly average PM2.5 trends for Jharkhand, Puducherry, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
590,"Show the top 7 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
591,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Mizoram, and Haryana across 2021, 2022, 2023, and 2024.",
592,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Chandigarh, and Gujarat across 2017, 2018, 2019, and 2020.",
593,"Compare the monthly average PM2.5 of Prayagraj, Udaipur, and Jaisalmer in 2018 as a multi-line chart.",
594,Show a cumulative area chart of PM2.5 readings for Yadgir across 2019.,
595,"Create a faceted bar chart showing top 13 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
596,Plot the weekly average PM2.5 for Nandesari in 2023 as a line chart.,
597,"Compare the monthly average PM2.5 of Jabalpur, Panchkula, and Gummidipoondi in 2022 as a multi-line chart.",
598,"Visualize the monthly average PM10 for Himachal Pradesh, Chhattisgarh, and Meghalaya in 2023 as a multi-line chart.",
599,Show a monthly bar chart of the number of days Kerala exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
600,Show a cumulative area chart of PM2.5 readings for Munger across 2023.,
601,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Andhra Pradesh, and Jharkhand across 2020, 2021, 2022, and 2023.",
602,Show the monthly average PM2.5 for Jalgaon in 2017 as a line chart with area fill.,
603,Show a monthly bar chart of the number of days Gujarat exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
604,"Plot the yearly average PM2.5 trends for Haryana, Andhra Pradesh, and Bihar from 2017 to 2024 on a single multi-line chart.",
605,Show the monthly average PM2.5 for Latur in 2018 as a line chart with area fill.,
606,Show a cumulative area chart of PM2.5 readings for Solapur across 2018.,
607,Plot the monthly average PM2.5 trend for Tripura from 2017 to 2024 as a line chart.,
608,"Compare the monthly average PM2.5 of Kanchipuram, Bhubaneswar, and Vatva in 2019 as a multi-line chart.",
609,"Visualize the monthly average PM10 for Maharashtra, Odisha, and Jammu and Kashmir in 2017 as a multi-line chart.",
610,Create a bar chart of NCAP funding utilisation rate (%) for each state.,
611,"Compare the monthly average PM2.5 of Kolkata, Baghpat, and Nanded in 2019 as a multi-line chart.",
612,Show the monthly average PM2.5 for Manesar in 2020 as a line chart with area fill.,
613,"Plot the yearly average PM2.5 trends for Telangana, Madhya Pradesh, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
614,Show the monthly average PM2.5 for Ratlam in 2020 as a line chart with area fill.,
615,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Tamil Nadu, and Nagaland across 2020, 2021, 2022, and 2023.",
616,"Compare the monthly average PM2.5 of Maihar, Nashik, and Chennai in 2023 as a multi-line chart.",
617,Show a cumulative area chart of PM2.5 readings for Shillong across 2024.,
618,"Plot the yearly average PM2.5 trends for Tripura, Tamil Nadu, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
619,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Manipur, and Puducherry from 2017 to 2024 on a single multi-line chart.",
620,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Delhi, and Chhattisgarh across 2020, 2021, 2022, and 2023.",
621,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Sikkim, and Jammu and Kashmir across 2017, 2018, 2019, and 2020.",
622,"Compare the monthly average PM2.5 of Thrissur, Karauli, and Jalna in 2024 as a multi-line chart.",
623,Show the monthly average PM2.5 for Rajsamand in 2023 as a line chart with area fill.,
624,"Visualize the monthly average PM10 for Rajasthan, Arunachal Pradesh, and Assam in 2023 as a multi-line chart.",
625,Show the monthly average PM2.5 for Madhya Pradesh across each year from 2017 to 2024 as small multiples (faceted by year).,
626,Plot the median PM10 for each state in summer 2023 (April–June) as a sorted bar chart.,
627,Plot the weekly average PM2.5 for Bengaluru in 2021 as a line chart.,
628,"Visualize the monthly average PM10 for Maharashtra, Jharkhand, and Rajasthan in 2017 as a multi-line chart.",
629,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Nagaland, and Chandigarh across 2019, 2020, 2021, and 2022.",
630,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Jammu and Kashmir, and Meghalaya across 2019, 2020, 2021, and 2022.",
631,"Scatter plot PM2.5 vs PM10 for Tamil Nadu stations in 2023, with a regression trend line.",
632,Plot the rolling 30-day average PM2.5 for Arunachal Pradesh in 2019 as a line chart.,
633,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Rajasthan, and Manipur from 2017 to 2024 on a single multi-line chart.",
634,Show the monthly average PM2.5 for Nagaur in 2018 as a line chart with area fill.,
635,Show the monthly average PM2.5 for Rupnagar in 2024 as a line chart with area fill.,
636,"Scatter plot PM2.5 vs PM10 for Uttar Pradesh stations in 2017, with a regression trend line.",
637,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
638,Show a monthly bar chart of the number of days Maharashtra exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
639,Show a cumulative area chart of PM2.5 readings for Greater Noida across 2019.,
640,Show a cumulative area chart of PM2.5 readings for Bareilly across 2024.,
641,Plot the rolling 30-day average PM2.5 for Delhi in 2021 as a line chart.,
642,Show the monthly average PM2.5 for Jaisalmer in 2018 as a line chart with area fill.,
643,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Punjab, and Arunachal Pradesh across 2017, 2018, 2019, and 2020.",
644,Plot the weekly average PM2.5 for Kohima in 2020 as a line chart.,
645,"Visualize the monthly average PM10 for Rajasthan, Madhya Pradesh, and Odisha in 2023 as a multi-line chart.",
646,"Scatter plot PM2.5 vs PM10 for Jammu and Kashmir stations in 2018, with a regression trend line.",
647,"Compare the monthly average PM2.5 of Jhalawar, Madurai, and Bulandshahr in 2022 as a multi-line chart.",
648,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Kerala, and Chhattisgarh across 2020, 2021, 2022, and 2023.",
649,"Visualize the monthly average PM10 for Rajasthan, Madhya Pradesh, and Chandigarh in 2018 as a multi-line chart.",
650,Plot the weekly average PM2.5 for Ludhiana in 2020 as a line chart.,
651,Show a cumulative area chart of PM2.5 readings for Vapi across 2021.,
652,"Plot the yearly average PM2.5 trends for Assam, Uttarakhand, and Gujarat from 2017 to 2024 on a single multi-line chart.",
653,Plot the weekly average PM2.5 for Gaya in 2023 as a line chart.,
654,Plot the rolling 30-day average PM2.5 for Andhra Pradesh in 2023 as a line chart.,
655,Show the monthly average PM2.5 for Parbhani in 2019 as a line chart with area fill.,
656,Show the monthly average PM2.5 for Udaipur in 2024 as a line chart with area fill.,
657,Show the monthly average PM2.5 for Karur in 2023 as a line chart with area fill.,
658,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Haryana.,
659,"Visualize the monthly average PM10 for Meghalaya, Chhattisgarh, and Haryana in 2019 as a multi-line chart.",
660,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Arunachal Pradesh, and Jammu and Kashmir across 2020, 2021, 2022, and 2023.",
661,Show the monthly average PM2.5 for Thanjavur in 2018 as a line chart with area fill.,
662,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2018.,
663,Visualize the bottom 8 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
664,"Visualize the monthly average PM10 for Karnataka, Jharkhand, and Manipur in 2017 as a multi-line chart.",
665,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, West Bengal, and Jharkhand across 2021, 2022, 2023, and 2024.",
666,"Compare the monthly average PM2.5 of Byrnihat, Rairangpur, and Bhiwadi in 2019 as a multi-line chart.",
667,"Scatter plot PM2.5 vs PM10 for Nagaland stations in 2020, with a regression trend line.",
668,Show a cumulative area chart of PM2.5 readings for Baripada across 2022.,
669,Visualize the bottom 12 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
670,Show the monthly average PM10 trend for Manguraha from 2019 to 2024 as a line chart.,
671,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Tamil Nadu, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
672,"Plot the yearly average PM2.5 trends for Chhattisgarh, Maharashtra, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
673,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2017.,
674,Show the monthly average PM2.5 for Raipur in 2024 as a line chart with area fill.,
675,Plot the rolling 30-day average PM2.5 for Maharashtra in 2019 as a line chart.,
676,"Visualize the monthly average PM10 for Punjab, Uttarakhand, and Assam in 2022 as a multi-line chart.",
677,"Plot the yearly average PM2.5 trends for Chandigarh, Delhi, and Delhi from 2017 to 2024 on a single multi-line chart.",
678,"Scatter plot PM2.5 vs PM10 for Maharashtra stations in 2020, with a regression trend line.",
679,Show a cumulative area chart of PM2.5 readings for Ratlam across 2022.,
680,Show a bar chart of the top 9 cities by median PM2.5 in 2023.,
681,Show a bar chart comparing the 75th percentile PM2.5 of all states in winter 2022 (November–February).,
682,"Plot the yearly average PM2.5 trends for Puducherry, Haryana, and Delhi from 2017 to 2024 on a single multi-line chart.",
683,Show a cumulative area chart of PM2.5 readings for Mandi Gobindgarh across 2021.,
684,Show a bar chart of the top 12 cities by median PM2.5 in 2024.,
685,Plot the top 13 states by average PM2.5 in 2022 as a horizontal bar chart.,
686,Show the monthly average PM10 trend for Dehradun from 2017 to 2022 as a line chart.,
687,Show the monthly average PM2.5 for Moradabad in 2019 as a line chart with area fill.,
688,Show the monthly average PM2.5 for Pudukottai in 2020 as a line chart with area fill.,
689,Plot the rolling 30-day average PM2.5 for West Bengal in 2022 as a line chart.,
690,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Manipur, and Himachal Pradesh across 2021, 2022, 2023, and 2024.",
691,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Rajasthan, and Odisha across 2020, 2021, 2022, and 2023.",
692,"Compare the monthly average PM2.5 of Belgaum, Hapur, and Agra in 2024 as a multi-line chart.",
693,"Plot the yearly average PM2.5 trends for Assam, Haryana, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
694,"Compare the monthly average PM2.5 of Hyderabad, Kozhikode, and Araria in 2022 as a multi-line chart.",
695,"Visualize the monthly average PM10 for Rajasthan, Odisha, and Tripura in 2023 as a multi-line chart.",
696,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Bihar, and Haryana across 2019, 2020, 2021, and 2022.",
697,"Compare the monthly average PM2.5 of Mandideep, Ankleshwar, and Hanumangarh in 2024 as a multi-line chart.",
698,"Compare the monthly average PM2.5 of Badlapur, Ooty, and Ajmer in 2022 as a multi-line chart.",
699,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2018.,
700,"Scatter plot PM2.5 vs PM10 for Tamil Nadu stations in 2017, with a regression trend line.",
701,"Plot average PM2.5 (2017) vs state population as a scatter plot, labeling each point with the state name.",
702,"Plot the yearly average PM2.5 trends for Mizoram, Madhya Pradesh, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
703,Show the monthly average PM2.5 for Anantapur in 2018 as a line chart with area fill.,
704,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Mizoram, and Manipur across 2020, 2021, 2022, and 2023.",
705,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Uttarakhand.,
706,Visualize the bottom 11 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
707,"Plot the yearly average PM2.5 trends for Tamil Nadu, Kerala, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
708,"Scatter plot PM2.5 vs PM10 for Arunachal Pradesh stations in 2020, with a regression trend line.",
709,Plot the rolling 30-day average PM2.5 for Arunachal Pradesh in 2018 as a line chart.,
710,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Telangana, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
711,Show a cumulative area chart of PM2.5 readings for Panchkula across 2019.,
712,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Mizoram, and Nagaland across 2021, 2022, 2023, and 2024.",
713,Show the monthly average PM2.5 for Karwar in 2020 as a line chart with area fill.,
714,Show the monthly average PM2.5 for Davanagere in 2018 as a line chart with area fill.,
715,"Scatter plot PM2.5 vs PM10 for Rajasthan stations in 2018, with a regression trend line.",
716,"Compare the monthly average PM2.5 of Tumakuru, Indore, and Angul in 2023 as a multi-line chart.",
717,"Visualize the monthly average PM10 for Karnataka, Odisha, and Jammu and Kashmir in 2024 as a multi-line chart.",
718,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Meghalaya, and Tripura across 2020, 2021, 2022, and 2023.",
719,Show the monthly average PM2.5 for Tirunelveli in 2022 as a line chart with area fill.,
720,Show the monthly average PM2.5 for Chengalpattu in 2020 as a line chart with area fill.,
721,"Scatter plot PM2.5 vs PM10 for Haryana stations in 2019, with a regression trend line.",
722,Show the monthly average PM2.5 for West Bengal across each year from 2017 to 2024 as small multiples (faceted by year).,
723,"Create a faceted bar chart showing top 12 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
724,Plot the top 13 states by average PM2.5 in 2017 as a horizontal bar chart.,
725,Show the monthly average PM2.5 for Ulhasnagar in 2020 as a line chart with area fill.,
726,Show a box plot of PM2.5 distribution for each state in 2022.,
727,"Compare the monthly average PM2.5 of Navi Mumbai, Bhilwara, and Dausa in 2022 as a multi-line chart.",
728,Plot the rolling 30-day average PM2.5 for Haryana in 2023 as a line chart.,
729,Show the monthly average PM2.5 for Brajrajnagar in 2019 as a line chart with area fill.,
730,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Chandigarh, and Punjab across 2020, 2021, 2022, and 2023.",
731,Show the monthly average PM2.5 for Bulandshahr in 2017 as a line chart with area fill.,
732,Show the monthly average PM10 trend for Baghpat from 2019 to 2024 as a line chart.,
733,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, West Bengal, and Gujarat across 2021, 2022, 2023, and 2024.",
734,"Plot average PM2.5 (2024) vs state population as a scatter plot, labeling each point with the state name.",
735,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Maharashtra, and Manipur across 2019, 2020, 2021, and 2022.",
736,"Show the top 14 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
737,Plot the top 8 states by average PM2.5 in 2023 as a horizontal bar chart.,
738,"Scatter plot PM2.5 vs PM10 for Arunachal Pradesh stations in 2021, with a regression trend line.",
739,Plot the rolling 30-day average PM2.5 for Rajasthan in 2023 as a line chart.,
740,"Compare the monthly average PM2.5 of Manguraha, Bathinda, and Ujjain in 2019 as a multi-line chart.",
741,"Plot the yearly average PM2.5 trends for Jharkhand, Odisha, and Haryana from 2017 to 2024 on a single multi-line chart.",
742,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Rajasthan, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
743,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Meghalaya, and Haryana across 2021, 2022, 2023, and 2024.",
744,Show the monthly average PM2.5 for Gandhinagar in 2020 as a line chart with area fill.,
745,Show the monthly average PM10 trend for Baripada from 2017 to 2022 as a line chart.,
746,"Plot the yearly average PM2.5 trends for Haryana, Meghalaya, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
747,Show a bar chart of the top 6 cities by median PM2.5 in 2019.,
748,Show a cumulative area chart of PM2.5 readings for Kohima across 2021.,
749,"Visualize the monthly average PM10 for Chhattisgarh, Andhra Pradesh, and Assam in 2023 as a multi-line chart.",
750,"Visualize the monthly average PM10 for Nagaland, Sikkim, and Madhya Pradesh in 2017 as a multi-line chart.",
751,Show a cumulative area chart of PM2.5 readings for Mumbai across 2024.,
752,"Plot the yearly average PM2.5 trends for Gujarat, Himachal Pradesh, and Gujarat from 2017 to 2024 on a single multi-line chart.",
753,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 6 most polluted states.,
754,"Scatter plot PM2.5 vs PM10 for Uttar Pradesh stations in 2021, with a regression trend line.",
755,"Plot the yearly average PM2.5 trends for Mizoram, Chandigarh, and Telangana from 2017 to 2024 on a single multi-line chart.",
756,Show the monthly average PM2.5 for Nanded in 2022 as a line chart with area fill.,
757,Show a monthly bar chart of the number of days Assam exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
758,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Jharkhand, and Himachal Pradesh across 2019, 2020, 2021, and 2022.",
759,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Meghalaya, and Meghalaya across 2017, 2018, 2019, and 2020.",
760,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Manipur, and Karnataka across 2019, 2020, 2021, and 2022.",
761,Show a cumulative area chart of PM2.5 readings for Ajmer across 2024.,
762,Show the monthly average PM2.5 for Damoh in 2017 as a line chart with area fill.,
763,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Rajasthan, and Kerala across 2019, 2020, 2021, and 2022.",
764,"Visualize the monthly average PM10 for West Bengal, Kerala, and Tripura in 2018 as a multi-line chart.",
765,"Plot the yearly average PM2.5 trends for Telangana, Tripura, and Gujarat from 2017 to 2024 on a single multi-line chart.",
766,Show a cumulative area chart of PM2.5 readings for Nashik across 2022.,
767,Plot the weekly average PM2.5 for Kalaburagi in 2023 as a line chart.,
768,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Mizoram, and Kerala across 2017, 2018, 2019, and 2020.",
769,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Maharashtra, and Andhra Pradesh across 2020, 2021, 2022, and 2023.",
770,"Compare the monthly average PM2.5 of Mumbai, Ghaziabad, and Kochi in 2020 as a multi-line chart.",
771,"Visualize the monthly average PM10 for Himachal Pradesh, Manipur, and Meghalaya in 2022 as a multi-line chart.",
772,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Tamil Nadu, and Jharkhand across 2020, 2021, 2022, and 2023.",
773,"Show a stacked bar chart of total NCAP funding per state broken down by fiscal year (FY19-20, FY20-21, FY21-22).",
774,Plot the rolling 30-day average PM2.5 for Manipur in 2020 as a line chart.,
775,Plot the rolling 30-day average PM2.5 for West Bengal in 2024 as a line chart.,
776,Show the monthly average PM2.5 for Motihari in 2018 as a line chart with area fill.,
777,"Plot average PM2.5 (2018) vs state population as a scatter plot, labeling each point with the state name.",
778,"Show the top 12 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
779,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Kerala, and Assam from 2017 to 2024 on a single multi-line chart.",
780,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2017.,
781,"Compare the monthly average PM2.5 of Ahmednagar, Chamarajanagar, and Ludhiana in 2019 as a multi-line chart.",
782,Plot the weekly average PM2.5 for Munger in 2021 as a line chart.,
783,Visualize the bottom 6 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
784,"Visualize the monthly average PM10 for Rajasthan, Himachal Pradesh, and Haryana in 2023 as a multi-line chart.",
785,"Compare the monthly average PM2.5 of Shivamogga, Ballabgarh, and Howrah in 2023 as a multi-line chart.",
786,Show a bar chart of the top 6 cities by median PM2.5 in 2018.,
787,Show the monthly average PM2.5 for Korba in 2017 as a line chart with area fill.,
788,Show a monthly bar chart of the number of days Rajasthan exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
789,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2022, with a regression trend line.",
790,Plot the rolling 30-day average PM2.5 for Haryana in 2018 as a line chart.,
791,Show the monthly average PM2.5 for Pimpri-Chinchwad in 2020 as a line chart with area fill.,
792,Show a monthly bar chart of the number of days Assam exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
793,Plot the rolling 30-day average PM2.5 for Odisha in 2022 as a line chart.,
794,"Visualize the monthly average PM10 for Arunachal Pradesh, Tamil Nadu, and Assam in 2019 as a multi-line chart.",
795,"Plot the yearly average PM2.5 trends for Madhya Pradesh, West Bengal, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
796,Plot the rolling 30-day average PM2.5 for Kerala in 2018 as a line chart.,
797,Plot the top 7 states by average PM2.5 in 2019 as a horizontal bar chart.,
798,Plot the top 13 states by average PM2.5 in 2024 as a horizontal bar chart.,
799,Show the monthly average PM2.5 for Ahmedabad in 2017 as a line chart with area fill.,
800,Show the monthly average PM2.5 for Dewas in 2023 as a line chart with area fill.,
801,"Plot the yearly average PM2.5 trends for Telangana, Assam, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
802,"Scatter plot PM2.5 vs PM10 for Jammu and Kashmir stations in 2019, with a regression trend line.",
803,"Compare the monthly average PM2.5 of Ratlam, Sonipat, and Hyderabad in 2024 as a multi-line chart.",
804,Plot the weekly average PM2.5 for Pune in 2021 as a line chart.,
805,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Bihar, and Tripura across 2020, 2021, 2022, and 2023.",
806,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Gujarat, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
807,"Plot the yearly average PM2.5 trends for Bihar, Rajasthan, and Mizoram from 2017 to 2024 on a single multi-line chart.",
808,"Visualize the monthly average PM10 for Mizoram, Sikkim, and Madhya Pradesh in 2017 as a multi-line chart.",
809,Show the monthly average PM2.5 for Ajmer in 2023 as a line chart with area fill.,
810,Plot the rolling 30-day average PM2.5 for Uttar Pradesh in 2019 as a line chart.,
811,Plot the weekly average PM2.5 for Bahadurgarh in 2024 as a line chart.,
812,Show the monthly average PM10 trend for Sivasagar from 2017 to 2022 as a line chart.,
813,Plot the weekly average PM2.5 for Ajmer in 2018 as a line chart.,
814,Show a bar chart of the top 8 cities by median PM2.5 in 2021.,
815,"Scatter plot PM2.5 vs PM10 for Madhya Pradesh stations in 2021, with a regression trend line.",
816,Plot the rolling 30-day average PM2.5 for Meghalaya in 2019 as a line chart.,
817,Show a cumulative area chart of PM2.5 readings for Hyderabad across 2020.,
818,Show the monthly average PM2.5 for Bihar across each year from 2017 to 2024 as small multiples (faceted by year).,
819,"Plot the yearly average PM2.5 trends for Gujarat, Mizoram, and Gujarat from 2017 to 2024 on a single multi-line chart.",
820,"Scatter plot PM2.5 vs PM10 for Punjab stations in 2024, with a regression trend line.",
821,Show the monthly average PM2.5 for Narnaul in 2017 as a line chart with area fill.,
822,Plot the weekly average PM2.5 for Chikkamagaluru in 2023 as a line chart.,
823,Plot the rolling 30-day average PM2.5 for Maharashtra in 2018 as a line chart.,
824,"Compare the monthly average PM2.5 of Muzaffarpur, Ujjain, and Latur in 2018 as a multi-line chart.",
825,"Plot the yearly average PM2.5 trends for Jharkhand, Manipur, and Haryana from 2017 to 2024 on a single multi-line chart.",
826,Show the monthly average PM10 trend for Rohtak from 2017 to 2022 as a line chart.,
827,Plot the weekly average PM2.5 for Kaithal in 2019 as a line chart.,
828,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2023, with a regression trend line.",
829,"Plot the yearly average PM2.5 trends for Mizoram, Odisha, and Manipur from 2017 to 2024 on a single multi-line chart.",
830,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Sikkim, and Rajasthan across 2021, 2022, 2023, and 2024.",
831,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Manipur, and Bihar across 2017, 2018, 2019, and 2020.",
832,Show the monthly average PM2.5 for Singrauli in 2023 as a line chart with area fill.,
833,Show a cumulative area chart of PM2.5 readings for Bhiwani across 2024.,
834,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Madhya Pradesh, and Uttar Pradesh across 2017, 2018, 2019, and 2020.",
835,Show the monthly average PM10 trend for Singrauli from 2017 to 2022 as a line chart.,
836,Show a cumulative area chart of PM2.5 readings for Singrauli across 2019.,
837,Visualize the bottom 5 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
838,"Plot the yearly average PM2.5 trends for Tamil Nadu, Chandigarh, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
839,"Plot the yearly average PM2.5 trends for Tamil Nadu, Himachal Pradesh, and Gujarat from 2017 to 2024 on a single multi-line chart.",
840,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Sikkim, and Tamil Nadu across 2017, 2018, 2019, and 2020.",
841,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
842,Show a bar chart of the top 7 cities by median PM2.5 in 2023.,
843,Show a cumulative area chart of PM2.5 readings for Raipur across 2023.,
844,"Plot the yearly average PM2.5 trends for Meghalaya, Puducherry, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
845,Show the monthly average PM10 trend for Ballabgarh from 2017 to 2022 as a line chart.,
846,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Jammu and Kashmir, and Madhya Pradesh across 2017, 2018, 2019, and 2020.",
847,Show the monthly average PM2.5 for Karauli in 2020 as a line chart with area fill.,
848,Show the monthly average PM2.5 for Navi Mumbai in 2022 as a line chart with area fill.,
849,Show a heatmap of average PM2.5 for the top 9 most polluted states by month for 2018.,
850,Show the monthly average PM2.5 for Damoh in 2019 as a line chart with area fill.,
851,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Assam, and Chandigarh across 2021, 2022, 2023, and 2024.",
852,Show the monthly average PM2.5 for Coimbatore in 2017 as a line chart with area fill.,
853,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2018.,
854,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Jharkhand, and Meghalaya across 2019, 2020, 2021, and 2022.",
855,"Plot the yearly average PM2.5 trends for Odisha, Sikkim, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
856,Show the monthly average PM10 trend for Kalyan from 2017 to 2022 as a line chart.,
857,Plot the rolling 30-day average PM2.5 for Mizoram in 2020 as a line chart.,
858,"Create a faceted bar chart showing top 11 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
859,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Gujarat, and Karnataka across 2021, 2022, 2023, and 2024.",
860,Show the monthly average PM2.5 for Sivasagar in 2023 as a line chart with area fill.,
861,"Visualize the monthly average PM10 for Punjab, Meghalaya, and Haryana in 2017 as a multi-line chart.",
862,Show the monthly average PM2.5 for Kishanganj in 2018 as a line chart with area fill.,
863,Visualize the bottom 15 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
864,Plot the yearly average PM2.5 for the top 7 most polluted states from 2017 to 2024 as a multi-line chart.,
865,Show a cumulative area chart of PM2.5 readings for Kota across 2021.,
866,"Compare the monthly average PM2.5 of Bengaluru, Shillong, and Sangli in 2017 as a multi-line chart.",
867,Show a cumulative area chart of PM2.5 readings for Kochi across 2024.,
868,Show a cumulative area chart of PM2.5 readings for Chamarajanagar across 2021.,
869,Show the monthly average PM10 trend for Ahmednagar from 2019 to 2024 as a line chart.,
870,Show the monthly average PM2.5 for Silchar in 2019 as a line chart with area fill.,
871,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Tripura.,
872,Plot the rolling 30-day average PM2.5 for Tamil Nadu in 2017 as a line chart.,
873,"Plot the yearly average PM2.5 trends for Odisha, Rajasthan, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
874,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Jammu and Kashmir, and West Bengal across 2021, 2022, 2023, and 2024.",
875,Show the monthly average PM10 trend for Gorakhpur from 2019 to 2024 as a line chart.,
876,Show a cumulative area chart of PM2.5 readings for Srinagar across 2023.,
877,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Karnataka, and Karnataka across 2021, 2022, 2023, and 2024.",
878,"Create a faceted bar chart showing top 14 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
879,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Jammu and Kashmir, and Andhra Pradesh across 2020, 2021, 2022, and 2023.",
880,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Meghalaya, and Uttar Pradesh across 2017, 2018, 2019, and 2020.",
881,"Compare the monthly average PM2.5 of Barbil, Agra, and Gaya in 2020 as a multi-line chart.",
882,"Scatter plot PM2.5 vs PM10 for Madhya Pradesh stations in 2024, with a regression trend line.",
883,"Compare the monthly average PM2.5 of Ujjain, Hajipur, and Pratapgarh in 2022 as a multi-line chart.",
884,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Sikkim, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
885,"Plot the yearly average PM2.5 trends for Chhattisgarh, Andhra Pradesh, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
886,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2021, with a regression trend line.",
887,Show a monthly bar chart of the number of days Punjab exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
888,Show the monthly average PM2.5 for Kolkata in 2021 as a line chart with area fill.,
889,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Haryana.,
890,"Scatter plot PM2.5 vs PM10 for Bihar stations in 2024, with a regression trend line.",
891,Show a monthly bar chart of the number of days Kerala exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
892,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Uttarakhand, and Delhi across 2019, 2020, 2021, and 2022.",
893,"Visualize the monthly average PM10 for Delhi, Maharashtra, and Haryana in 2024 as a multi-line chart.",
894,Show a cumulative area chart of PM2.5 readings for Ujjain across 2019.,
895,Show a cumulative area chart of PM2.5 readings for Purnia across 2023.,
896,"Plot the yearly average PM2.5 trends for Punjab, West Bengal, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
897,Show a cumulative area chart of PM2.5 readings for Kolar across 2018.,
898,Show a heatmap of average PM2.5 for the top 9 most polluted states by month for 2021.,
899,"Compare the monthly average PM2.5 of Gadag, Noida, and Vapi in 2022 as a multi-line chart.",
900,Show the monthly average PM10 trend for Hassan from 2019 to 2024 as a line chart.,
901,"Scatter plot PM2.5 vs PM10 for Maharashtra stations in 2019, with a regression trend line.",
902,Show a monthly bar chart of the number of days Andhra Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
903,"Plot the yearly average PM2.5 trends for Uttarakhand, Maharashtra, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
904,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Himachal Pradesh, and Assam from 2017 to 2024 on a single multi-line chart.",
905,"Plot the yearly average PM2.5 trends for Telangana, Odisha, and Mizoram from 2017 to 2024 on a single multi-line chart.",
906,"Compare the monthly average PM2.5 of Alwar, Chandigarh, and Agra in 2018 as a multi-line chart.",
907,"Scatter plot PM2.5 vs PM10 for Bihar stations in 2019, with a regression trend line.",
908,Plot the weekly average PM2.5 for Gwalior in 2021 as a line chart.,
909,"Scatter plot PM2.5 vs PM10 for Jammu and Kashmir stations in 2023, with a regression trend line.",
910,Show the monthly average PM10 trend for Sirsa from 2019 to 2024 as a line chart.,
911,"Plot the yearly average PM2.5 trends for Bihar, Uttarakhand, and West Bengal from 2017 to 2024 on a single multi-line chart.",
912,Show a monthly bar chart of the number of days Andhra Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
913,Plot the rolling 30-day average PM2.5 for Mizoram in 2024 as a line chart.,
914,Show a monthly bar chart of the number of days Odisha exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
915,"Create a grouped bar chart comparing the average PM2.5 for Assam, Nagaland, and Madhya Pradesh across 2021, 2022, 2023, and 2024.",
916,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Manipur, and Manipur across 2019, 2020, 2021, and 2022.",
917,Show the monthly average PM2.5 for Chamarajanagar in 2018 as a line chart with area fill.,
918,Plot the weekly average PM2.5 for Vatva in 2021 as a line chart.,
919,Show the monthly average PM2.5 for Dausa in 2022 as a line chart with area fill.,
920,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Chhattisgarh, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
921,"Visualize the monthly average PM10 for Tamil Nadu, Gujarat, and Sikkim in 2019 as a multi-line chart.",
922,Show the monthly average PM10 trend for Jhunjhunu from 2019 to 2024 as a line chart.,
923,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Nagaland, and Uttarakhand across 2019, 2020, 2021, and 2022.",
924,"Create a grouped bar chart comparing the average PM2.5 for Punjab, Rajasthan, and Kerala across 2019, 2020, 2021, and 2022.",
925,Show the monthly average PM10 trend for Vrindavan from 2017 to 2022 as a line chart.,
926,"Plot the yearly average PM2.5 trends for Jharkhand, Jharkhand, and Karnataka from 2017 to 2024 on a single multi-line chart.",
927,Show a cumulative area chart of PM2.5 readings for Bileipada across 2024.,
928,"Plot average PM2.5 (2020) vs state population as a scatter plot, labeling each point with the state name.",
929,Plot the weekly average PM2.5 for Udaipur in 2020 as a line chart.,
930,Show the monthly average PM2.5 for Uttarakhand across each year from 2017 to 2024 as small multiples (faceted by year).,
931,Show the monthly average PM10 trend for Hosur from 2019 to 2024 as a line chart.,
932,Plot the rolling 30-day average PM2.5 for Manipur in 2017 as a line chart.,
933,"Visualize the monthly average PM10 for Meghalaya, Gujarat, and Chhattisgarh in 2022 as a multi-line chart.",
934,"Compare the monthly average PM2.5 of Pithampur, Virudhunagar, and Meerut in 2018 as a multi-line chart.",
935,"Compare the monthly average PM2.5 of Mahad, Ratlam, and Pithampur in 2022 as a multi-line chart.",
936,Plot the weekly average PM2.5 for Chennai in 2020 as a line chart.,
937,Plot the distribution of PM2.5 values in Haryana across all years using a histogram.,
938,"Plot the yearly average PM2.5 trends for Haryana, Punjab, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
939,Plot the rolling 30-day average PM2.5 for Kerala in 2023 as a line chart.,
940,Show a cumulative area chart of PM2.5 readings for Ghaziabad across 2023.,
941,"Compare the monthly average PM2.5 of Jaipur, Satna, and Brajrajnagar in 2018 as a multi-line chart.",
942,Show the monthly average PM10 trend for Anantapur from 2019 to 2024 as a line chart.,
943,Plot the rolling 30-day average PM2.5 for Jharkhand in 2024 as a line chart.,
944,"Compare the monthly average PM2.5 of Ludhiana, Bhubaneswar, and Jalna in 2022 as a multi-line chart.",
945,"Scatter plot PM2.5 vs PM10 for Himachal Pradesh stations in 2017, with a regression trend line.",
946,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2017, with a regression trend line.",
947,"Visualize the monthly average PM10 for Chhattisgarh, Jammu and Kashmir, and Odisha in 2017 as a multi-line chart.",
948,"Plot the yearly average PM2.5 trends for Odisha, Kerala, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
949,Plot the monthly average PM2.5 trend for Telangana from 2017 to 2024 as a line chart.,
950,Show a cumulative area chart of PM2.5 readings for Nandesari across 2022.,
951,Plot the weekly average PM2.5 for Thane in 2017 as a line chart.,
952,"Show the top 15 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
953,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Chhattisgarh, and Jammu and Kashmir across 2019, 2020, 2021, and 2022.",
954,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 9 most polluted states.,
955,"Plot the yearly average PM2.5 trends for Assam, Nagaland, and Manipur from 2017 to 2024 on a single multi-line chart.",
956,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Chhattisgarh, and Nagaland across 2017, 2018, 2019, and 2020.",
957,"Compare the monthly average PM2.5 of Rohtak, Palkalaiperur, and Dewas in 2020 as a multi-line chart.",
958,Visualize the bottom 13 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
959,"Compare the monthly average PM2.5 of Chandrapur, Kunjemura, and Mahad in 2024 as a multi-line chart.",
960,Show a cumulative area chart of PM2.5 readings for Jabalpur across 2022.,
961,Show a cumulative area chart of PM2.5 readings for Chamarajanagar across 2022.,
962,Plot the median PM10 for each state in summer 2022 (April–June) as a sorted bar chart.,
963,"Visualize the monthly average PM10 for Mizoram, Himachal Pradesh, and Sikkim in 2024 as a multi-line chart.",
964,Show the monthly average PM2.5 for Samastipur in 2018 as a line chart with area fill.,
965,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Maharashtra, and Puducherry across 2021, 2022, 2023, and 2024.",
966,"Plot the yearly average PM2.5 trends for Nagaland, West Bengal, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
967,"Compare the monthly average PM2.5 of Bhilai, Mandikhera, and Bhiwandi in 2024 as a multi-line chart.",
968,"Visualize the monthly average PM10 for Bihar, Tamil Nadu, and Andhra Pradesh in 2021 as a multi-line chart.",
969,Show a cumulative area chart of PM2.5 readings for Palwal across 2022.,
970,Show the monthly average PM2.5 for Rourkela in 2022 as a line chart with area fill.,
971,Plot the top 9 states by average PM2.5 in 2024 as a horizontal bar chart.,
972,Show a cumulative area chart of PM2.5 readings for Ballabgarh across 2023.,
973,Plot the weekly average PM2.5 for Kalaburagi in 2018 as a line chart.,
974,Plot the top 15 states by average PM2.5 in 2019 as a horizontal bar chart.,
975,Show the monthly average PM2.5 for Eloor in 2023 as a line chart with area fill.,
976,Plot the weekly average PM2.5 for Bahadurgarh in 2023 as a line chart.,
977,"Plot the yearly average PM2.5 trends for Rajasthan, Sikkim, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
978,Plot the distribution of PM2.5 values in Himachal Pradesh across all years using a histogram.,
979,Show the monthly average PM2.5 for Manesar in 2019 as a line chart with area fill.,
980,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Sikkim, and Mizoram across 2021, 2022, 2023, and 2024.",
981,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Arunachal Pradesh, and West Bengal across 2019, 2020, 2021, and 2022.",
982,"Visualize the monthly average PM10 for West Bengal, Rajasthan, and Uttar Pradesh in 2021 as a multi-line chart.",
983,Plot the average PM2.5 across all states in February 2017 as a horizontal bar chart.,
984,"Visualize the monthly average PM10 for Puducherry, Telangana, and Odisha in 2019 as a multi-line chart.",
985,Plot the weekly average PM2.5 for Vatva in 2023 as a line chart.,
986,"Plot the yearly average PM2.5 trends for Haryana, Tamil Nadu, and Nagaland from 2017 to 2024 on a single multi-line chart.",
987,"Plot the yearly average PM2.5 trends for Bihar, Arunachal Pradesh, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
988,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Punjab, and Karnataka across 2020, 2021, 2022, and 2023.",
989,"Compare the monthly average PM2.5 of Bihar Sharif, Mangalore, and Ambala in 2024 as a multi-line chart.",
990,"Compare the monthly average PM2.5 of Sirsa, Hisar, and Imphal in 2024 as a multi-line chart.",
991,Plot the top 8 states by average PM2.5 in 2022 as a horizontal bar chart.,
992,Visualize the bottom 9 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
993,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Puducherry, and Madhya Pradesh across 2021, 2022, 2023, and 2024.",
994,Show a cumulative area chart of PM2.5 readings for Gummidipoondi across 2023.,
995,"Plot the yearly average PM2.5 trends for Odisha, Sikkim, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
996,"Visualize the monthly average PM10 for Odisha, Andhra Pradesh, and Uttar Pradesh in 2022 as a multi-line chart.",
997,Show a bar chart of the top 10 cities by median PM2.5 in 2020.,
998,"Compare the monthly average PM2.5 of Pali, Yamuna Nagar, and Badlapur in 2024 as a multi-line chart.",
999,Plot the rolling 30-day average PM2.5 for Chandigarh in 2017 as a line chart.,
1000,"Visualize the monthly average PM10 for Uttarakhand, Haryana, and Nagaland in 2023 as a multi-line chart.",
1001,"Plot the yearly average PM2.5 trends for Rajasthan, Uttarakhand, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
1002,Plot the weekly average PM2.5 for Koppal in 2020 as a line chart.,
1003,Show the monthly average PM2.5 for Mandikhera in 2019 as a line chart with area fill.,
1004,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Bihar, and Haryana from 2017 to 2024 on a single multi-line chart.",
1005,Plot the top 8 states by average PM2.5 in 2019 as a horizontal bar chart.,
1006,Plot the rolling 30-day average PM2.5 for Jammu and Kashmir in 2019 as a line chart.,
1007,"Compare the monthly average PM2.5 of Parbhani, Sri Ganganagar, and Mandideep in 2019 as a multi-line chart.",
1008,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Tamil Nadu, and Jharkhand across 2017, 2018, 2019, and 2020.",
1009,"Create a scatter plot of PM2.5 vs PM10 for all stations in 2022, colored by state.",
1010,Plot the rolling 30-day average PM2.5 for Himachal Pradesh in 2018 as a line chart.,
1011,Plot the weekly average PM2.5 for Panipat in 2020 as a line chart.,
1012,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Chhattisgarh, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1013,"Visualize the monthly average PM10 for Odisha, Sikkim, and Uttar Pradesh in 2023 as a multi-line chart.",
1014,"Plot the yearly average PM2.5 trends for Himachal Pradesh, West Bengal, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1015,Show the monthly average PM2.5 for Anantapur in 2017 as a line chart with area fill.,
1016,Plot the rolling 30-day average PM2.5 for Delhi in 2018 as a line chart.,
1017,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Himachal Pradesh, and Nagaland across 2017, 2018, 2019, and 2020.",
1018,"Plot the yearly average PM2.5 trends for Telangana, Assam, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
1019,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2024.,
1020,"Scatter plot PM2.5 vs PM10 for Maharashtra stations in 2017, with a regression trend line.",
1021,Plot the weekly average PM2.5 for Jodhpur in 2018 as a line chart.,
1022,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2017.,
1023,"Scatter plot PM2.5 vs PM10 for Rajasthan stations in 2017, with a regression trend line.",
1024,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Tamil Nadu, and Haryana across 2020, 2021, 2022, and 2023.",
1025,"Visualize the monthly average PM10 for Punjab, Jammu and Kashmir, and Gujarat in 2019 as a multi-line chart.",
1026,Plot the top 10 states by average PM2.5 in 2022 as a horizontal bar chart.,
1027,"Plot the yearly average PM2.5 trends for Manipur, Tamil Nadu, and Mizoram from 2017 to 2024 on a single multi-line chart.",
1028,Show a monthly bar chart of the number of days Karnataka exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
1029,Show a bar chart comparing the 75th percentile PM2.5 of all states in winter 2017 (November–February).,
1030,Show a monthly bar chart of the number of days Rajasthan exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1031,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Sikkim, and Delhi from 2017 to 2024 on a single multi-line chart.",
1032,"Plot the yearly average PM2.5 trends for Odisha, Nagaland, and Delhi from 2017 to 2024 on a single multi-line chart.",
1033,"Plot the yearly average PM2.5 trends for Karnataka, Tripura, and Kerala from 2017 to 2024 on a single multi-line chart.",
1034,"Show the top 13 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
1035,Visualize the bottom 14 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
1036,"Plot the yearly average PM2.5 trends for Sikkim, Odisha, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1037,Show the monthly average PM10 trend for Bilaspur from 2017 to 2022 as a line chart.,
1038,"Plot the yearly average PM2.5 trends for Telangana, Rajasthan, and Bihar from 2017 to 2024 on a single multi-line chart.",
1039,"Compare the monthly average PM2.5 of Bhilai, Kanpur, and Ballabgarh in 2023 as a multi-line chart.",
1040,"Plot the yearly average PM2.5 trends for Chhattisgarh, Kerala, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
1041,"Compare the monthly average PM2.5 of Kochi, Samastipur, and Pudukottai in 2022 as a multi-line chart.",
1042,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2021, with a regression trend line.",
1043,Visualize the bottom 7 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
1044,"Visualize the monthly average PM10 for Tamil Nadu, Maharashtra, and Kerala in 2024 as a multi-line chart.",
1045,"Plot the yearly average PM2.5 trends for Sikkim, Puducherry, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1046,Show the monthly average PM10 trend for Maihar from 2017 to 2022 as a line chart.,
1047,"Visualize the monthly average PM10 for Odisha, Gujarat, and Delhi in 2021 as a multi-line chart.",
1048,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Delhi, and Gujarat from 2017 to 2024 on a single multi-line chart.",
1049,Show a monthly bar chart of the number of days West Bengal exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
1050,"Create a grouped bar chart comparing the average PM2.5 for Punjab, Kerala, and Odisha across 2021, 2022, 2023, and 2024.",
1051,Show a cumulative area chart of PM2.5 readings for Greater Noida across 2022.,
1052,"Plot the yearly average PM2.5 trends for West Bengal, Jammu and Kashmir, and Odisha from 2017 to 2024 on a single multi-line chart.",
1053,Plot the monthly average PM2.5 trend for Gujarat from 2017 to 2024 as a line chart.,
1054,Show the monthly average PM10 trend for Hanumangarh from 2019 to 2024 as a line chart.,
1055,"Plot a scatter chart of state-level average PM2.5 versus population for 2024, with point size representing area.",
1056,"Plot the yearly average PM2.5 trends for Assam, Tripura, and Telangana from 2017 to 2024 on a single multi-line chart.",
1057,Show the monthly average PM2.5 for Sawai Madhopur in 2024 as a line chart with area fill.,
1058,"Scatter plot PM2.5 vs PM10 for Manipur stations in 2023, with a regression trend line.",
1059,Plot the weekly average PM2.5 for Nagapattinam in 2024 as a line chart.,
1060,Show a cumulative area chart of PM2.5 readings for Barbil across 2024.,
1061,Show the monthly average PM2.5 for Suakati in 2022 as a line chart with area fill.,
1062,Show a bar chart of the top 12 cities by median PM2.5 in 2021.,
1063,"Compare the monthly average PM2.5 of Kaithal, Ernakulam, and Boisar in 2020 as a multi-line chart.",
1064,"Compare the monthly average PM2.5 of Thiruvananthapuram, Tirupati, and Rourkela in 2023 as a multi-line chart.",
1065,"Compare the monthly average PM2.5 of Jalandhar, Ujjain, and Thanjavur in 2019 as a multi-line chart.",
1066,Show a bar chart comparing the 75th percentile PM2.5 of all states in winter 2021 (November–February).,
1067,Plot the rolling 30-day average PM2.5 for Bihar in 2022 as a line chart.,
1068,Show a bar chart of the top 5 cities by median PM2.5 in 2020.,
1069,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Chandigarh, and Meghalaya across 2017, 2018, 2019, and 2020.",
1070,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Himachal Pradesh, and Sikkim across 2019, 2020, 2021, and 2022.",
1071,"Compare the monthly average PM2.5 of Hanumangarh, Jhalawar, and Noida in 2018 as a multi-line chart.",
1072,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Chandigarh, and Mizoram across 2020, 2021, 2022, and 2023.",
1073,Plot the rolling 30-day average PM2.5 for Meghalaya in 2020 as a line chart.,
1074,Show a cumulative area chart of PM2.5 readings for Dharwad across 2023.,
1075,"Visualize the monthly average PM10 for Tripura, Meghalaya, and Kerala in 2022 as a multi-line chart.",
1076,Plot the rolling 30-day average PM2.5 for Meghalaya in 2024 as a line chart.,
1077,"Scatter plot PM2.5 vs PM10 for Puducherry stations in 2018, with a regression trend line.",
1078,"Visualize the monthly average PM10 for Tamil Nadu, Madhya Pradesh, and Arunachal Pradesh in 2019 as a multi-line chart.",
1079,Show the monthly average PM2.5 for Karauli in 2023 as a line chart with area fill.,
1080,"Plot the yearly average PM2.5 trends for Chhattisgarh, Sikkim, and Kerala from 2017 to 2024 on a single multi-line chart.",
1081,Show the monthly average PM2.5 for Ooty in 2020 as a line chart with area fill.,
1082,"Create a grouped bar chart comparing the average PM2.5 for Assam, Karnataka, and Delhi across 2019, 2020, 2021, and 2022.",
1083,"Compare the monthly average PM2.5 of Yadgir, Dhule, and Korba in 2019 as a multi-line chart.",
1084,"Plot the yearly average PM2.5 trends for Chhattisgarh, West Bengal, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1085,Show the monthly average PM2.5 for Angul in 2018 as a line chart with area fill.,
1086,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Maharashtra.,
1087,"Scatter plot PM2.5 vs PM10 for Maharashtra stations in 2018, with a regression trend line.",
1088,Show the monthly average PM10 trend for Buxar from 2019 to 2024 as a line chart.,
1089,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Nagaland, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
1090,"Compare the monthly average PM2.5 of Eloor, Siliguri, and Indore in 2024 as a multi-line chart.",
1091,"Visualize the monthly average PM10 for Andhra Pradesh, Telangana, and Nagaland in 2018 as a multi-line chart.",
1092,Show the monthly average PM10 trend for Bilaspur from 2019 to 2024 as a line chart.,
1093,Show a monthly bar chart of the number of days Maharashtra exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
1094,"Compare the monthly average PM2.5 of Nagaur, Bhopal, and Chhapra in 2023 as a multi-line chart.",
1095,"Visualize the monthly average PM10 for Jharkhand, Haryana, and Arunachal Pradesh in 2024 as a multi-line chart.",
1096,Show a bar chart of the top 12 cities by median PM2.5 in 2018.,
1097,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Jharkhand, and Haryana across 2019, 2020, 2021, and 2022.",
1098,Show the monthly average PM2.5 for Nandesari in 2024 as a line chart with area fill.,
1099,"Visualize the monthly average PM10 for Chhattisgarh, Tamil Nadu, and Odisha in 2021 as a multi-line chart.",
1100,Show a monthly bar chart of the number of days Jammu and Kashmir exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
1101,"Plot the yearly average PM2.5 trends for Telangana, Kerala, and Sikkim from 2017 to 2024 on a single multi-line chart.",
1102,"Visualize the monthly average PM10 for Haryana, Chandigarh, and Delhi in 2017 as a multi-line chart.",
1103,Plot the top 10 states by average PM2.5 in 2019 as a horizontal bar chart.,
1104,"Plot the yearly average PM2.5 trends for Rajasthan, Jammu and Kashmir, and Assam from 2017 to 2024 on a single multi-line chart.",
1105,"Scatter plot PM2.5 vs PM10 for Meghalaya stations in 2021, with a regression trend line.",
1106,"Visualize the monthly average PM10 for Mizoram, Puducherry, and Sikkim in 2023 as a multi-line chart.",
1107,Visualize the bottom 11 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
1108,Plot the rolling 30-day average PM2.5 for Arunachal Pradesh in 2023 as a line chart.,
1109,"Visualize the monthly average PM10 for Andhra Pradesh, Tripura, and Haryana in 2018 as a multi-line chart.",
1110,"Plot the yearly average PM2.5 trends for Sikkim, Meghalaya, and Kerala from 2017 to 2024 on a single multi-line chart.",
1111,Plot the weekly average PM2.5 for Ratlam in 2020 as a line chart.,
1112,Show a monthly bar chart of the number of days Bihar exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1113,"Compare the monthly average PM2.5 of Chikkaballapur, Chandrapur, and Sawai Madhopur in 2023 as a multi-line chart.",
1114,"Plot the yearly average PM2.5 trends for Assam, Himachal Pradesh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
1115,Plot the rolling 30-day average PM2.5 for Mizoram in 2022 as a line chart.,
1116,"Compare the monthly average PM2.5 of Bundi, Hisar, and Nagpur in 2019 as a multi-line chart.",
1117,Show a cumulative area chart of PM2.5 readings for Chittorgarh across 2023.,
1118,"Visualize the monthly average PM10 for Rajasthan, Karnataka, and Chandigarh in 2023 as a multi-line chart.",
1119,Show a monthly bar chart of the number of days Nagaland exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
1120,Show the monthly average PM10 trend for Mysuru from 2017 to 2022 as a line chart.,
1121,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Uttarakhand, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
1122,Show the monthly average PM2.5 for Amaravati in 2017 as a line chart with area fill.,
1123,Show a cumulative area chart of PM2.5 readings for Satna across 2022.,
1124,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Arunachal Pradesh, and Jharkhand across 2017, 2018, 2019, and 2020.",
1125,"Compare the monthly average PM2.5 of Boisar, Surat, and Durgapur in 2022 as a multi-line chart.",
1126,"Compare the monthly average PM2.5 of Sonipat, Solapur, and Rourkela in 2017 as a multi-line chart.",
1127,"Compare the monthly average PM2.5 of Kollam, Darbhanga, and Bhiwandi in 2024 as a multi-line chart.",
1128,"Compare the monthly average PM2.5 of Mahad, Perundurai, and Bhiwadi in 2020 as a multi-line chart.",
1129,"Compare the monthly average PM2.5 of Udaipur, Kashipur, and Pali in 2023 as a multi-line chart.",
1130,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Assam, and Haryana across 2021, 2022, 2023, and 2024.",
1131,Show the monthly average PM10 trend for Chikkaballapur from 2019 to 2024 as a line chart.,
1132,Visualize the bottom 10 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
1133,Show the monthly average PM2.5 for Kunjemura in 2023 as a line chart with area fill.,
1134,"Visualize the monthly average PM10 for Chandigarh, Nagaland, and Tripura in 2024 as a multi-line chart.",
1135,Show a cumulative area chart of PM2.5 readings for Ahmednagar across 2023.,
1136,Visualize the bottom 9 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
1137,Show a cumulative area chart of PM2.5 readings for Kannur across 2023.,
1138,"Compare the monthly average PM2.5 of Anantapur, Ramanathapuram, and Baran in 2024 as a multi-line chart.",
1139,"Plot the yearly average PM2.5 trends for Nagaland, Andhra Pradesh, and Gujarat from 2017 to 2024 on a single multi-line chart.",
1140,"Visualize the monthly average PM10 for Delhi, Karnataka, and Nagaland in 2022 as a multi-line chart.",
1141,Show a cumulative area chart of PM2.5 readings for Brajrajnagar across 2024.,
1142,"Visualize the monthly average PM10 for Tamil Nadu, Jammu and Kashmir, and Rajasthan in 2022 as a multi-line chart.",
1143,"Plot the yearly average PM2.5 trends for Nagaland, Uttarakhand, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
1144,Show the monthly average PM2.5 for Rohtak in 2022 as a line chart with area fill.,
1145,Plot the rolling 30-day average PM2.5 for Madhya Pradesh in 2022 as a line chart.,
1146,Show a monthly bar chart of the number of days Punjab exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1147,Show the monthly average PM2.5 for Gwalior in 2020 as a line chart with area fill.,
1148,"Plot the yearly average PM2.5 trends for Punjab, Assam, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1149,"Visualize the monthly average PM10 for Sikkim, Mizoram, and Delhi in 2021 as a multi-line chart.",
1150,Show the monthly average PM10 trend for Aizawl from 2017 to 2022 as a line chart.,
1151,"Plot the yearly average PM2.5 trends for Manipur, West Bengal, and Assam from 2017 to 2024 on a single multi-line chart.",
1152,Plot the weekly average PM2.5 for Tirupati in 2017 as a line chart.,
1153,Show a heatmap of average PM2.5 for the top 9 most polluted states by month for 2022.,
1154,"Plot the yearly average PM2.5 trends for Jharkhand, Jharkhand, and Kerala from 2017 to 2024 on a single multi-line chart.",
1155,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2020, with a regression trend line.",
1156,"Plot the yearly average PM2.5 trends for Telangana, Uttar Pradesh, and Bihar from 2017 to 2024 on a single multi-line chart.",
1157,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Haryana, and Jammu and Kashmir across 2021, 2022, 2023, and 2024.",
1158,"Visualize the monthly average PM10 for Karnataka, Nagaland, and Himachal Pradesh in 2021 as a multi-line chart.",
1159,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Jharkhand.,
1160,Plot the monthly average PM2.5 trend for Jammu and Kashmir from 2017 to 2024 as a line chart.,
1161,"Create a faceted bar chart showing top 11 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
1162,Plot the weekly average PM2.5 for Damoh in 2023 as a line chart.,
1163,"Visualize the monthly average PM10 for Haryana, Mizoram, and Nagaland in 2021 as a multi-line chart.",
1164,"Compare the monthly average PM2.5 of Ratlam, Katihar, and Chamarajanagar in 2020 as a multi-line chart.",
1165,Plot the weekly average PM2.5 for Singrauli in 2020 as a line chart.,
1166,Show the monthly average PM2.5 for Jhalawar in 2018 as a line chart with area fill.,
1167,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Jammu and Kashmir, and Haryana across 2019, 2020, 2021, and 2022.",
1168,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Odisha, and Madhya Pradesh across 2017, 2018, 2019, and 2020.",
1169,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Tamil Nadu, and Punjab across 2019, 2020, 2021, and 2022.",
1170,Plot the weekly average PM2.5 for Singrauli in 2017 as a line chart.,
1171,Show the monthly average PM10 trend for Gadag from 2017 to 2022 as a line chart.,
1172,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Manipur.,
1173,Show the monthly average PM2.5 for Kohima in 2023 as a line chart with area fill.,
1174,Show a bar chart of the top 9 cities by median PM2.5 in 2020.,
1175,"Plot the yearly average PM2.5 trends for Haryana, Arunachal Pradesh, and Assam from 2017 to 2024 on a single multi-line chart.",
1176,"Compare the monthly average PM2.5 of Perundurai, Nagaon, and Purnia in 2023 as a multi-line chart.",
1177,"Plot the yearly average PM2.5 trends for Odisha, Arunachal Pradesh, and Gujarat from 2017 to 2024 on a single multi-line chart.",
1178,"Plot the yearly average PM2.5 trends for Gujarat, Telangana, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1179,"Compare the monthly average PM2.5 of Pimpri-Chinchwad, Dhule, and Haldia in 2024 as a multi-line chart.",
1180,Show the monthly average PM10 trend for Rairangpur from 2017 to 2022 as a line chart.,
1181,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Madhya Pradesh, and Delhi across 2021, 2022, 2023, and 2024.",
1182,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Punjab, and Madhya Pradesh across 2020, 2021, 2022, and 2023.",
1183,Visualize the bottom 8 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
1184,Show the monthly average PM2.5 for Akola in 2022 as a line chart with area fill.,
1185,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Puducherry, and Tripura across 2021, 2022, 2023, and 2024.",
1186,"Plot the yearly average PM2.5 trends for Odisha, Kerala, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1187,Show a heatmap of average PM2.5 for the top 14 most polluted states by month for 2021.,
1188,"Create a faceted bar chart showing top 11 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
1189,"Compare the monthly average PM2.5 of Rishikesh, Bengaluru, and Samastipur in 2019 as a multi-line chart.",
1190,"Plot a scatter chart of state-level average PM2.5 versus population for 2020, with point size representing area.",
1191,Visualize the bottom 10 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
1192,Plot the weekly average PM2.5 for Dewas in 2023 as a line chart.,
1193,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Sikkim, and Arunachal Pradesh across 2019, 2020, 2021, and 2022.",
1194,Plot a grouped bar chart of average PM10 by season and year (2021–2024) for all of India.,
1195,Show a cumulative area chart of PM2.5 readings for Belapur across 2024.,
1196,Plot the top 11 states by average PM2.5 in 2022 as a horizontal bar chart.,
1197,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Tamil Nadu.,
1198,Show the monthly average PM2.5 for Madikeri in 2017 as a line chart with area fill.,
1199,Plot the top 15 states by average PM2.5 in 2018 as a horizontal bar chart.,
1200,"Show the top 5 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
1201,Plot the top 6 states by average PM2.5 in 2024 as a horizontal bar chart.,
1202,Show the monthly average PM10 trend for Hosur from 2017 to 2022 as a line chart.,
1203,"Create a faceted bar chart showing top 10 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
1204,"Plot the yearly average PM2.5 trends for Uttarakhand, Uttar Pradesh, and Punjab from 2017 to 2024 on a single multi-line chart.",
1205,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Sikkim.,
1206,Plot the rolling 30-day average PM2.5 for Odisha in 2020 as a line chart.,
1207,Show the monthly average PM10 trend for Belgaum from 2017 to 2022 as a line chart.,
1208,"Compare the monthly average PM2.5 of Ramanathapuram, Kashipur, and Shillong in 2024 as a multi-line chart.",
1209,Plot the rolling 30-day average PM2.5 for Mizoram in 2017 as a line chart.,
1210,"Visualize the monthly average PM10 for Uttarakhand, Madhya Pradesh, and Gujarat in 2022 as a multi-line chart.",
1211,"Scatter plot PM2.5 vs PM10 for Himachal Pradesh stations in 2023, with a regression trend line.",
1212,"Plot the yearly average PM2.5 trends for Telangana, Himachal Pradesh, and West Bengal from 2017 to 2024 on a single multi-line chart.",
1213,Show the monthly average PM2.5 for Vapi in 2020 as a line chart with area fill.,
1214,Show a cumulative area chart of PM2.5 readings for Palkalaiperur across 2024.,
1215,"Visualize the monthly average PM10 for Jharkhand, Karnataka, and Arunachal Pradesh in 2023 as a multi-line chart.",
1216,Show the monthly average PM2.5 for Muzaffarpur in 2023 as a line chart with area fill.,
1217,"Plot the yearly average PM2.5 trends for Kerala, Kerala, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1218,"Plot the yearly average PM2.5 trends for Odisha, Bihar, and Bihar from 2017 to 2024 on a single multi-line chart.",
1219,"Compare the monthly average PM2.5 of Araria, Chamarajanagar, and Gummidipoondi in 2020 as a multi-line chart.",
1220,Show a bar chart of the top 15 cities by median PM2.5 in 2017.,
1221,Plot the weekly average PM2.5 for Bidar in 2021 as a line chart.,
1222,"Visualize the monthly average PM10 for Punjab, Odisha, and Andhra Pradesh in 2018 as a multi-line chart.",
1223,"Scatter plot PM2.5 vs PM10 for Arunachal Pradesh stations in 2018, with a regression trend line.",
1224,Show the monthly average PM10 trend for Tirupur from 2017 to 2022 as a line chart.,
1225,"Plot the yearly average PM2.5 trends for Nagaland, Nagaland, and Puducherry from 2017 to 2024 on a single multi-line chart.",
1226,Show the monthly average PM2.5 for Kolhapur in 2017 as a line chart with area fill.,
1227,Plot the average PM2.5 across all states in February 2024 as a horizontal bar chart.,
1228,"Scatter plot PM2.5 vs PM10 for Nagaland stations in 2023, with a regression trend line.",
1229,Show a cumulative area chart of PM2.5 readings for Shivamogga across 2022.,
1230,Show the monthly average PM2.5 for Bhilai in 2018 as a line chart with area fill.,
1231,"Plot the yearly average PM2.5 trends for Chandigarh, Punjab, and Tripura from 2017 to 2024 on a single multi-line chart.",
1232,Show the monthly average PM2.5 for Damoh in 2023 as a line chart with area fill.,
1233,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Sikkim, and Nagaland across 2020, 2021, 2022, and 2023.",
1234,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Arunachal Pradesh, and Chandigarh across 2021, 2022, 2023, and 2024.",
1235,Show a monthly bar chart of the number of days Telangana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
1236,"Visualize the monthly average PM10 for Sikkim, Karnataka, and Mizoram in 2024 as a multi-line chart.",
1237,Visualize the bottom 13 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
1238,"Compare the monthly average PM2.5 of Tirupati, Pithampur, and Charkhi Dadri in 2017 as a multi-line chart.",
1239,"Compare the monthly average PM2.5 of Hassan, Raipur, and Rohtak in 2018 as a multi-line chart.",
1240,"Create a grouped bar chart comparing the average PM2.5 for Bihar, West Bengal, and Delhi across 2019, 2020, 2021, and 2022.",
1241,Show a monthly bar chart of the number of days Karnataka exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
1242,Show a monthly bar chart of the number of days Meghalaya exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1243,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Telangana, and Chandigarh across 2021, 2022, 2023, and 2024.",
1244,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Mizoram, and Gujarat across 2020, 2021, 2022, and 2023.",
1245,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Mizoram, and Delhi across 2017, 2018, 2019, and 2020.",
1246,"Plot the yearly average PM2.5 trends for Delhi, Uttarakhand, and Assam from 2017 to 2024 on a single multi-line chart.",
1247,Show the monthly average PM2.5 for Nagaland across each year from 2017 to 2024 as small multiples (faceted by year).,
1248,"Show the top 9 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
1249,"Show the top 6 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
1250,"Plot the yearly average PM2.5 trends for Gujarat, Tripura, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1251,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Chhattisgarh, and Haryana across 2021, 2022, 2023, and 2024.",
1252,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2023, with a regression trend line.",
1253,Show a bar chart of the top 14 cities by median PM2.5 in 2017.,
1254,Show a cumulative area chart of PM2.5 readings for Bettiah across 2024.,
1255,Show the monthly average PM10 trend for Pathardih from 2019 to 2024 as a line chart.,
1256,"Compare the monthly average PM2.5 of Siwan, Jodhpur, and Karauli in 2024 as a multi-line chart.",
1257,"Show the top 15 states by average PM10 in 2022 as a bar chart, sorted in descending order.",
1258,Show the monthly average PM2.5 for Talcher in 2019 as a line chart with area fill.,
1259,Visualize the bottom 8 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
1260,"Visualize the monthly average PM10 for Jharkhand, Jharkhand, and Sikkim in 2019 as a multi-line chart.",
1261,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2021.,
1262,Visualize the bottom 15 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
1263,Show the monthly average PM2.5 for Indore in 2020 as a line chart with area fill.,
1264,Plot the rolling 30-day average PM2.5 for Odisha in 2019 as a line chart.,
1265,"Visualize the monthly average PM10 for Jharkhand, Mizoram, and Arunachal Pradesh in 2018 as a multi-line chart.",
1266,Show the monthly average PM10 trend for Satna from 2019 to 2024 as a line chart.,
1267,Show the monthly average PM10 trend for Karwar from 2019 to 2024 as a line chart.,
1268,Show a bar chart of the top 6 cities by median PM2.5 in 2024.,
1269,Visualize the bottom 12 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
1270,Show a monthly bar chart of the number of days Delhi exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
1271,Plot the top 11 states by average PM2.5 in 2019 as a horizontal bar chart.,
1272,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for West Bengal.,
1273,"Plot the yearly average PM2.5 trends for Chhattisgarh, Karnataka, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1274,"Visualize the monthly average PM10 for Jammu and Kashmir, Nagaland, and West Bengal in 2022 as a multi-line chart.",
1275,Show a cumulative area chart of PM2.5 readings for Jhunjhunu across 2023.,
1276,Plot the weekly average PM2.5 for Solapur in 2019 as a line chart.,
1277,"Plot the yearly average PM2.5 trends for Nagaland, Bihar, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1278,"Plot the yearly average PM2.5 trends for Rajasthan, Meghalaya, and Odisha from 2017 to 2024 on a single multi-line chart.",
1279,"Compare the monthly average PM2.5 of Navi Mumbai, Bhubaneswar, and Asansol in 2018 as a multi-line chart.",
1280,Plot the rolling 30-day average PM2.5 for Jharkhand in 2022 as a line chart.,
1281,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Delhi, and Chandigarh across 2021, 2022, 2023, and 2024.",
1282,"Compare the monthly average PM2.5 of Koppal, Bhubaneswar, and Muzaffarnagar in 2023 as a multi-line chart.",
1283,Show the monthly average PM2.5 for Delhi in 2023 as a line chart with area fill.,
1284,Show the monthly average PM10 trend for Amaravati from 2019 to 2024 as a line chart.,
1285,Show the monthly average PM10 trend for Ballabgarh from 2019 to 2024 as a line chart.,
1286,Show the monthly average PM2.5 for Hubballi in 2019 as a line chart with area fill.,
1287,"Compare the monthly average PM2.5 of Dhule, Bengaluru, and Kurukshetra in 2022 as a multi-line chart.",
1288,"Visualize the monthly average PM10 for Assam, Madhya Pradesh, and Andhra Pradesh in 2022 as a multi-line chart.",
1289,Plot the top 10 states by average PM2.5 in 2020 as a horizontal bar chart.,
1290,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Chhattisgarh, and Andhra Pradesh across 2019, 2020, 2021, and 2022.",
1291,"Plot the yearly average PM2.5 trends for Karnataka, Meghalaya, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1292,"Visualize the monthly average PM10 for Uttarakhand, Mizoram, and Maharashtra in 2017 as a multi-line chart.",
1293,Show the monthly average PM10 trend for Sikar from 2019 to 2024 as a line chart.,
1294,"Show the top 5 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
1295,Show the monthly average PM10 trend for Noida from 2017 to 2022 as a line chart.,
1296,Show the monthly average PM2.5 for Ajmer in 2022 as a line chart with area fill.,
1297,"Compare the monthly average PM2.5 of Jalore, Bathinda, and Vijayawada in 2024 as a multi-line chart.",
1298,"Visualize the monthly average PM10 for Manipur, Sikkim, and Kerala in 2018 as a multi-line chart.",
1299,"Compare the monthly average PM2.5 of Gorakhpur, Araria, and Ajmer in 2024 as a multi-line chart.",
1300,"Compare the monthly average PM2.5 of Howrah, Sonipat, and Pune in 2023 as a multi-line chart.",
1301,Show the monthly average PM10 trend for Gadag from 2019 to 2024 as a line chart.,
1302,Show the monthly average PM10 trend for Hajipur from 2017 to 2022 as a line chart.,
1303,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Rajasthan, and Karnataka across 2017, 2018, 2019, and 2020.",
1304,Plot the weekly average PM2.5 for Mandideep in 2019 as a line chart.,
1305,"Visualize the monthly average PM10 for Haryana, Gujarat, and Chandigarh in 2017 as a multi-line chart.",
1306,Plot the rolling 30-day average PM2.5 for Telangana in 2023 as a line chart.,
1307,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Tamil Nadu, and Jharkhand across 2021, 2022, 2023, and 2024.",
1308,Show a cumulative area chart of PM2.5 readings for Udaipur across 2018.,
1309,Show a cumulative area chart of PM2.5 readings for Nagpur across 2021.,
1310,"Show the top 10 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
1311,Show the monthly average PM2.5 for Rajgir in 2022 as a line chart with area fill.,
1312,Visualize the bottom 5 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
1313,Plot the rolling 30-day average PM2.5 for Manipur in 2022 as a line chart.,
1314,Show the monthly average PM2.5 for Sri Ganganagar in 2018 as a line chart with area fill.,
1315,Show the monthly average PM10 trend for Pithampur from 2019 to 2024 as a line chart.,
1316,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Himachal Pradesh, and Andhra Pradesh across 2017, 2018, 2019, and 2020.",
1317,"Visualize the monthly average PM10 for Karnataka, Chandigarh, and Nagaland in 2017 as a multi-line chart.",
1318,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Punjab, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
1319,"Create a faceted bar chart showing top 10 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
1320,Plot the rolling 30-day average PM2.5 for Tamil Nadu in 2019 as a line chart.,
1321,Show a bar chart of the top 12 cities by median PM2.5 in 2017.,
1322,"Create a grouped bar chart comparing the average PM2.5 for Assam, Uttar Pradesh, and Haryana across 2017, 2018, 2019, and 2020.",
1323,Show a bar chart of the top 13 cities by median PM2.5 in 2017.,
1324,"Compare the monthly average PM2.5 of Amaravati, Lucknow, and Visakhapatnam in 2020 as a multi-line chart.",
1325,"Compare the monthly average PM2.5 of Chandrapur, Jhansi, and Belapur in 2022 as a multi-line chart.",
1326,Show the monthly average PM10 trend for Panipat from 2019 to 2024 as a line chart.,
1327,"Scatter plot PM2.5 vs PM10 for Meghalaya stations in 2024, with a regression trend line.",
1328,"Plot the yearly average PM2.5 trends for Sikkim, Chhattisgarh, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1329,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Andhra Pradesh, and Chhattisgarh across 2017, 2018, 2019, and 2020.",
1330,"Visualize the monthly average PM10 for Nagaland, Bihar, and Andhra Pradesh in 2022 as a multi-line chart.",
1331,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Tripura, and Sikkim from 2017 to 2024 on a single multi-line chart.",
1332,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2023, with a regression trend line.",
1333,Show the monthly average PM10 trend for Siliguri from 2019 to 2024 as a line chart.,
1334,"Visualize the monthly average PM10 for Delhi, Arunachal Pradesh, and Odisha in 2023 as a multi-line chart.",
1335,"Create a faceted bar chart showing top 6 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
1336,Plot the monthly average PM2.5 trend for Jharkhand from 2017 to 2024 as a line chart.,
1337,Show a bar chart of the top 15 cities by median PM2.5 in 2024.,
1338,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2018, with a regression trend line.",
1339,Show a monthly bar chart of the number of days Chandigarh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
1340,Plot the rolling 30-day average PM2.5 for Nagaland in 2022 as a line chart.,
1341,Show the monthly average PM2.5 for Jalore in 2019 as a line chart with area fill.,
1342,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Jammu and Kashmir, and Andhra Pradesh across 2017, 2018, 2019, and 2020.",
1343,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
1344,"Plot the yearly average PM2.5 trends for Punjab, Nagaland, and Mizoram from 2017 to 2024 on a single multi-line chart.",
1345,"Show the top 11 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
1346,"Scatter plot PM2.5 vs PM10 for Odisha stations in 2023, with a regression trend line.",
1347,Show a cumulative area chart of PM2.5 readings for Bidar across 2021.,
1348,Plot the weekly average PM2.5 for Dindigul in 2024 as a line chart.,
1349,Plot the distribution of PM2.5 values in Chandigarh across all years using a histogram.,
1350,"Scatter plot PM2.5 vs PM10 for Kerala stations in 2024, with a regression trend line.",
1351,"Compare the monthly average PM2.5 of Malegaon, Meerut, and Siliguri in 2024 as a multi-line chart.",
1352,"Visualize the monthly average PM10 for Mizoram, Jharkhand, and Andhra Pradesh in 2023 as a multi-line chart.",
1353,Plot the top 6 states by average PM2.5 in 2018 as a horizontal bar chart.,
1354,"Plot the yearly average PM2.5 trends for Uttarakhand, Arunachal Pradesh, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
1355,Show the monthly average PM10 trend for Siwan from 2019 to 2024 as a line chart.,
1356,Plot the top 13 states by average PM2.5 in 2018 as a horizontal bar chart.,
1357,"Show the top 15 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
1358,Show the monthly average PM2.5 for Bhilai in 2023 as a line chart with area fill.,
1359,Show a monthly bar chart of the number of days Gujarat exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
1360,"Compare the monthly average PM2.5 of Gandhinagar, Kota, and Aizawl in 2024 as a multi-line chart.",
1361,Show a heatmap of average PM2.5 for the top 14 most polluted states by month for 2018.,
1362,Show the monthly average PM2.5 for Baghpat in 2022 as a line chart with area fill.,
1363,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Uttarakhand, and Assam across 2020, 2021, 2022, and 2023.",
1364,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Jharkhand, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1365,"Show the top 8 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
1366,Show a monthly bar chart of the number of days West Bengal exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
1367,Show a cumulative area chart of PM2.5 readings for Srinagar across 2021.,
1368,Visualize the bottom 5 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
1369,Plot the distribution of PM2.5 values in Mizoram across all years using a histogram.,
1370,"Visualize the monthly average PM10 for Chhattisgarh, Odisha, and Assam in 2021 as a multi-line chart.",
1371,"Visualize the monthly average PM10 for Tamil Nadu, Odisha, and Nagaland in 2021 as a multi-line chart.",
1372,"Plot the yearly average PM2.5 trends for Haryana, Himachal Pradesh, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
1373,Plot the rolling 30-day average PM2.5 for Assam in 2020 as a line chart.,
1374,"Visualize the monthly average PM10 for Puducherry, Maharashtra, and Bihar in 2018 as a multi-line chart.",
1375,"Compare the monthly average PM2.5 of Madikeri, Ahmedabad, and Nanded in 2023 as a multi-line chart.",
1376,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2022.,
1377,"Create a bubble chart of PM2.5 vs area for each state in 2024, sized by population.",
1378,"Visualize the monthly average PM10 for Manipur, Andhra Pradesh, and Uttarakhand in 2018 as a multi-line chart.",
1379,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2017.,
1380,"Compare the monthly average PM2.5 of Agra, Bhiwadi, and Akola in 2022 as a multi-line chart.",
1381,"Compare the monthly average PM2.5 of Jalna, Palwal, and Panipat in 2019 as a multi-line chart.",
1382,Plot the weekly average PM2.5 for Muzaffarnagar in 2023 as a line chart.,
1383,"Visualize the monthly average PM10 for Maharashtra, Jharkhand, and Manipur in 2023 as a multi-line chart.",
1384,Show the monthly average PM2.5 for Vijayawada in 2018 as a line chart with area fill.,
1385,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Haryana, and Tripura across 2021, 2022, 2023, and 2024.",
1386,Plot the weekly average PM2.5 for Firozabad in 2023 as a line chart.,
1387,Plot the rolling 30-day average PM2.5 for Odisha in 2017 as a line chart.,
1388,Show the monthly average PM2.5 for Chamarajanagar in 2020 as a line chart with area fill.,
1389,"Compare the monthly average PM2.5 of Chhapra, Raichur, and Katihar in 2022 as a multi-line chart.",
1390,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2021.,
1391,Show the monthly average PM10 trend for Sasaram from 2019 to 2024 as a line chart.,
1392,"Compare the monthly average PM2.5 of Tiruchirappalli, Charkhi Dadri, and Bilaspur in 2022 as a multi-line chart.",
1393,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 8 most polluted states.,
1394,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Maharashtra, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1395,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1396,Plot the monthly average PM2.5 trend for Delhi from 2017 to 2024 as a line chart.,
1397,Show a cumulative area chart of PM2.5 readings for Dharwad across 2024.,
1398,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Rajasthan, and Madhya Pradesh across 2017, 2018, 2019, and 2020.",
1399,"Plot the yearly average PM2.5 trends for Delhi, Jammu and Kashmir, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
1400,"Plot the yearly average PM2.5 trends for Tamil Nadu, Chandigarh, and Odisha from 2017 to 2024 on a single multi-line chart.",
1401,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Bihar, and Puducherry from 2017 to 2024 on a single multi-line chart.",
1402,"Visualize the monthly average PM10 for Telangana, Telangana, and Uttar Pradesh in 2024 as a multi-line chart.",
1403,"Compare the monthly average PM2.5 of Brajrajnagar, Nagapattinam, and Nanded in 2022 as a multi-line chart.",
1404,Show the monthly average PM10 trend for Pimpri-Chinchwad from 2019 to 2024 as a line chart.,
1405,Plot the distribution of PM2.5 values in Maharashtra across all years using a histogram.,
1406,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Madhya Pradesh, and Odisha from 2017 to 2024 on a single multi-line chart.",
1407,Show the monthly average PM2.5 for Belgaum in 2024 as a line chart with area fill.,
1408,Show a cumulative area chart of PM2.5 readings for Bihar Sharif across 2022.,
1409,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Sikkim, and Rajasthan across 2019, 2020, 2021, and 2022.",
1410,"Plot the yearly average PM2.5 trends for Karnataka, Telangana, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
1411,Plot the weekly average PM2.5 for Hubballi in 2019 as a line chart.,
1412,Plot the distribution of PM2.5 values in Nagaland across all years using a histogram.,
1413,"Compare the monthly average PM2.5 of Chamarajanagar, Chittoor, and Amritsar in 2022 as a multi-line chart.",
1414,Show a cumulative area chart of PM2.5 readings for Guwahati across 2022.,
1415,Show the monthly average PM2.5 for Bhilai in 2020 as a line chart with area fill.,
1416,Plot the weekly average PM2.5 for Chengalpattu in 2023 as a line chart.,
1417,Show the monthly average PM2.5 for Boisar in 2020 as a line chart with area fill.,
1418,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Rajasthan, and Telangana across 2021, 2022, 2023, and 2024.",
1419,"Compare the monthly average PM2.5 of Karnal, Manguraha, and Gandhinagar in 2022 as a multi-line chart.",
1420,"Create a faceted bar chart showing top 12 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
1421,"Visualize the monthly average PM10 for Sikkim, Himachal Pradesh, and Haryana in 2018 as a multi-line chart.",
1422,Show the monthly average PM2.5 for Kalyan in 2017 as a line chart with area fill.,
1423,Visualize the bottom 8 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
1424,"Visualize the monthly average PM10 for Andhra Pradesh, Telangana, and Kerala in 2018 as a multi-line chart.",
1425,"Show the top 15 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
1426,"Visualize the monthly average PM10 for Andhra Pradesh, Kerala, and Madhya Pradesh in 2019 as a multi-line chart.",
1427,Show the monthly average PM2.5 for Pimpri-Chinchwad in 2017 as a line chart with area fill.,
1428,Plot the weekly average PM2.5 for Dharwad in 2024 as a line chart.,
1429,Show a bar chart of the top 13 cities by median PM2.5 in 2018.,
1430,"Scatter plot PM2.5 vs PM10 for Bihar stations in 2023, with a regression trend line.",
1431,Show the monthly average PM2.5 for Nagapattinam in 2023 as a line chart with area fill.,
1432,Show the monthly average PM2.5 for Araria in 2019 as a line chart with area fill.,
1433,"Compare the monthly average PM2.5 of Nagaur, Cuttack, and Siliguri in 2022 as a multi-line chart.",
1434,"Compare the monthly average PM2.5 of Ratlam, Amritsar, and Nagaur in 2022 as a multi-line chart.",
1435,Plot total NCAP funding vs total fund utilisation for each state as a grouped bar chart.,
1436,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, West Bengal, and Andhra Pradesh across 2020, 2021, 2022, and 2023.",
1437,"Visualize the monthly average PM10 for Gujarat, Karnataka, and Kerala in 2017 as a multi-line chart.",
1438,"Plot the yearly average PM2.5 trends for Tamil Nadu, Telangana, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1439,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Madhya Pradesh, and Gujarat across 2021, 2022, 2023, and 2024.",
1440,Show the monthly average PM2.5 for Karnal in 2018 as a line chart with area fill.,
1441,Show the monthly average PM10 trend for Haldia from 2017 to 2022 as a line chart.,
1442,Show the monthly average PM10 trend for Bikaner from 2019 to 2024 as a line chart.,
1443,Show a cumulative area chart of PM2.5 readings for Kochi across 2022.,
1444,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Bihar, and Rajasthan across 2017, 2018, 2019, and 2020.",
1445,Show a cumulative area chart of PM2.5 readings for Bidar across 2022.,
1446,"Plot the yearly average PM2.5 trends for Odisha, Rajasthan, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
1447,"Plot the yearly average PM2.5 trends for Delhi, Sikkim, and Delhi from 2017 to 2024 on a single multi-line chart.",
1448,"Compare the monthly average PM2.5 of Ahmednagar, Siliguri, and Tiruchirappalli in 2019 as a multi-line chart.",
1449,Show a cumulative area chart of PM2.5 readings for Ramanagara across 2021.,
1450,Show the monthly average PM2.5 for Chennai in 2020 as a line chart with area fill.,
1451,Plot the weekly average PM2.5 for Byrnihat in 2023 as a line chart.,
1452,"Plot the yearly average PM2.5 trends for Puducherry, Jharkhand, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
1453,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Jammu and Kashmir, and West Bengal across 2017, 2018, 2019, and 2020.",
1454,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Rajasthan, and Tripura across 2019, 2020, 2021, and 2022.",
1455,"Plot the yearly average PM2.5 trends for Meghalaya, Telangana, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
1456,"Visualize the monthly average PM10 for Kerala, Haryana, and Uttar Pradesh in 2022 as a multi-line chart.",
1457,"Compare the monthly average PM2.5 of Ooty, Chandigarh, and Kozhikode in 2022 as a multi-line chart.",
1458,Plot the weekly average PM2.5 for Prayagraj in 2024 as a line chart.,
1459,"Show the top 13 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
1460,Show a cumulative area chart of PM2.5 readings for Varanasi across 2018.,
1461,Plot the rolling 30-day average PM2.5 for Meghalaya in 2023 as a line chart.,
1462,Plot the weekly average PM2.5 for Ernakulam in 2020 as a line chart.,
1463,"Create a grouped bar chart comparing the average PM2.5 for Odisha, West Bengal, and Haryana across 2020, 2021, 2022, and 2023.",
1464,"Visualize the monthly average PM10 for Sikkim, Tamil Nadu, and Himachal Pradesh in 2022 as a multi-line chart.",
1465,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2023.,
1466,Plot the weekly average PM2.5 for Sirohi in 2023 as a line chart.,
1467,Plot the weekly average PM2.5 for Rajamahendravaram in 2021 as a line chart.,
1468,Show the monthly average PM2.5 for Silchar in 2018 as a line chart with area fill.,
1469,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Himachal Pradesh, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
1470,"Scatter plot PM2.5 vs PM10 for Himachal Pradesh stations in 2021, with a regression trend line.",
1471,"Visualize the monthly average PM10 for Karnataka, Jharkhand, and Uttar Pradesh in 2017 as a multi-line chart.",
1472,"Compare the monthly average PM2.5 of Thrissur, Karur, and Thane in 2018 as a multi-line chart.",
1473,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Maharashtra, and Arunachal Pradesh across 2019, 2020, 2021, and 2022.",
1474,Show the monthly average PM2.5 for Palwal in 2022 as a line chart with area fill.,
1475,Plot the rolling 30-day average PM2.5 for Jammu and Kashmir in 2017 as a line chart.,
1476,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Delhi, and Manipur across 2021, 2022, 2023, and 2024.",
1477,"Scatter plot PM2.5 vs PM10 for Punjab stations in 2023, with a regression trend line.",
1478,"Visualize the monthly average PM10 for Tamil Nadu, Uttarakhand, and Punjab in 2022 as a multi-line chart.",
1479,Show a cumulative area chart of PM2.5 readings for Kanpur across 2018.,
1480,"Scatter plot PM2.5 vs PM10 for Arunachal Pradesh stations in 2019, with a regression trend line.",
1481,"Visualize the monthly average PM10 for Arunachal Pradesh, Andhra Pradesh, and Haryana in 2022 as a multi-line chart.",
1482,"Create a faceted bar chart showing top 5 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
1483,"Scatter plot PM2.5 vs PM10 for Karnataka stations in 2023, with a regression trend line.",
1484,"Compare the monthly average PM2.5 of Jalgaon, Bhilai, and Bhopal in 2022 as a multi-line chart.",
1485,"Compare the monthly average PM2.5 of Suakati, Tirupur, and Noida in 2019 as a multi-line chart.",
1486,Plot the weekly average PM2.5 for Bettiah in 2023 as a line chart.,
1487,"Visualize the monthly average PM10 for Bihar, Kerala, and Chhattisgarh in 2023 as a multi-line chart.",
1488,"Visualize the monthly average PM10 for Punjab, Chandigarh, and Arunachal Pradesh in 2021 as a multi-line chart.",
1489,Plot the weekly average PM2.5 for Sonipat in 2024 as a line chart.,
1490,Show a cumulative area chart of PM2.5 readings for Panchkula across 2017.,
1491,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Arunachal Pradesh.,
1492,"Visualize the monthly average PM10 for Nagaland, Odisha, and Manipur in 2023 as a multi-line chart.",
1493,"Show the top 12 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
1494,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Puducherry, and Uttarakhand across 2021, 2022, 2023, and 2024.",
1495,Bar chart of PM2.5 per capita (average PM2.5 × 1000 / population) for each state in 2021.,
1496,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Gujarat, and Gujarat across 2017, 2018, 2019, and 2020.",
1497,"Visualize the monthly average PM10 for Tripura, Madhya Pradesh, and Meghalaya in 2023 as a multi-line chart.",
1498,Show a monthly bar chart of the number of days Nagaland exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1499,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Uttar Pradesh.,
1500,"Plot the yearly average PM2.5 trends for Rajasthan, Jharkhand, and Puducherry from 2017 to 2024 on a single multi-line chart.",
1501,"Show the top 15 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
1502,"Plot the yearly average PM2.5 trends for Rajasthan, Sikkim, and Punjab from 2017 to 2024 on a single multi-line chart.",
1503,Show the monthly average PM2.5 for Dharuhera in 2024 as a line chart with area fill.,
1504,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Arunachal Pradesh, and Sikkim across 2019, 2020, 2021, and 2022.",
1505,Plot the monthly average PM2.5 trend for Uttar Pradesh from 2017 to 2024 as a line chart.,
1506,"Compare the monthly average PM2.5 of Panipat, Kalyan, and Hisar in 2019 as a multi-line chart.",
1507,"Compare the monthly average PM2.5 of Maihar, Ernakulam, and Visakhapatnam in 2023 as a multi-line chart.",
1508,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Manipur, and Arunachal Pradesh across 2020, 2021, 2022, and 2023.",
1509,"Visualize the monthly average PM10 for West Bengal, Madhya Pradesh, and Jammu and Kashmir in 2019 as a multi-line chart.",
1510,Show a cumulative area chart of PM2.5 readings for Asansol across 2024.,
1511,Show a cumulative area chart of PM2.5 readings for Bidar across 2023.,
1512,"Scatter plot PM2.5 vs PM10 for Uttarakhand stations in 2023, with a regression trend line.",
1513,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Maharashtra, and Meghalaya across 2021, 2022, 2023, and 2024.",
1514,Show the monthly average PM10 trend for Virudhunagar from 2019 to 2024 as a line chart.,
1515,Show the monthly average PM2.5 for Guwahati in 2022 as a line chart with area fill.,
1516,Plot the top 15 states by average PM2.5 in 2017 as a horizontal bar chart.,
1517,Plot the top 8 states by average PM2.5 in 2018 as a horizontal bar chart.,
1518,"Plot the yearly average PM2.5 trends for Odisha, Nagaland, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
1519,Visualize the bottom 8 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
1520,"Plot average PM2.5 (2019) vs state population as a scatter plot, labeling each point with the state name.",
1521,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Mizoram, and Tripura across 2020, 2021, 2022, and 2023.",
1522,Plot the top 13 states by average PM2.5 in 2021 as a horizontal bar chart.,
1523,"Compare the monthly average PM2.5 of Puducherry, Raipur, and Boisar in 2023 as a multi-line chart.",
1524,Show a cumulative area chart of PM2.5 readings for Ramanathapuram across 2024.,
1525,"Visualize the monthly average PM10 for Chandigarh, Puducherry, and Puducherry in 2019 as a multi-line chart.",
1526,"Visualize the monthly average PM10 for Meghalaya, Sikkim, and Mizoram in 2022 as a multi-line chart.",
1527,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Rajasthan, and Rajasthan across 2021, 2022, 2023, and 2024.",
1528,Plot the weekly average PM2.5 for Rohtak in 2023 as a line chart.,
1529,Show the monthly average PM2.5 for Jabalpur in 2023 as a line chart with area fill.,
1530,"Visualize the monthly average PM10 for Haryana, Bihar, and Madhya Pradesh in 2021 as a multi-line chart.",
1531,Plot the weekly average PM2.5 for Hapur in 2021 as a line chart.,
1532,"Plot the yearly average PM2.5 trends for Mizoram, Tamil Nadu, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
1533,Show the monthly average PM10 trend for Lucknow from 2017 to 2022 as a line chart.,
1534,"Plot the yearly average PM2.5 trends for Telangana, Odisha, and Assam from 2017 to 2024 on a single multi-line chart.",
1535,"Visualize the monthly average PM10 for Kerala, Sikkim, and Jammu and Kashmir in 2017 as a multi-line chart.",
1536,Show a cumulative area chart of PM2.5 readings for Kolkata across 2023.,
1537,Plot the monthly average PM2.5 trend for Arunachal Pradesh from 2017 to 2024 as a line chart.,
1538,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Arunachal Pradesh, and Bihar across 2017, 2018, 2019, and 2020.",
1539,Show the monthly average PM10 trend for Vellore from 2019 to 2024 as a line chart.,
1540,"Visualize the monthly average PM10 for Odisha, Meghalaya, and West Bengal in 2021 as a multi-line chart.",
1541,Show the monthly average PM2.5 for Noida in 2017 as a line chart with area fill.,
1542,"Visualize the monthly average PM10 for Rajasthan, Meghalaya, and Jammu and Kashmir in 2021 as a multi-line chart.",
1543,Plot the weekly average PM2.5 for Darbhanga in 2021 as a line chart.,
1544,"Create a grouped bar chart comparing the average PM2.5 for Punjab, Andhra Pradesh, and Bihar across 2017, 2018, 2019, and 2020.",
1545,"Plot the yearly average PM2.5 trends for Rajasthan, Andhra Pradesh, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
1546,Plot the weekly average PM2.5 for Aurangabad in 2023 as a line chart.,
1547,"Scatter plot PM2.5 vs PM10 for Haryana stations in 2024, with a regression trend line.",
1548,"Create a grouped bar chart comparing the average PM2.5 for Assam, Meghalaya, and Tamil Nadu across 2020, 2021, 2022, and 2023.",
1549,"Visualize the monthly average PM10 for Kerala, Andhra Pradesh, and Arunachal Pradesh in 2021 as a multi-line chart.",
1550,"Compare the monthly average PM2.5 of Pali, Ramanathapuram, and Ratlam in 2019 as a multi-line chart.",
1551,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Tamil Nadu, and Tripura across 2019, 2020, 2021, and 2022.",
1552,Plot the rolling 30-day average PM2.5 for Uttar Pradesh in 2023 as a line chart.,
1553,Plot the weekly average PM2.5 for Fatehabad in 2020 as a line chart.,
1554,"Visualize the monthly average PM10 for Himachal Pradesh, Meghalaya, and Jammu and Kashmir in 2024 as a multi-line chart.",
1555,"Plot the yearly average PM2.5 trends for Meghalaya, Karnataka, and Odisha from 2017 to 2024 on a single multi-line chart.",
1556,"Scatter plot PM2.5 vs PM10 for Tamil Nadu stations in 2024, with a regression trend line.",
1557,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2022.,
1558,"Compare the monthly average PM2.5 of Udaipur, Chamarajanagar, and Sirsa in 2020 as a multi-line chart.",
1559,Plot the weekly average PM2.5 for Talcher in 2021 as a line chart.,
1560,Show the monthly average PM2.5 for Guwahati in 2024 as a line chart with area fill.,
1561,Show the monthly average PM10 trend for Manesar from 2019 to 2024 as a line chart.,
1562,Show the monthly average PM2.5 for Hanumangarh in 2024 as a line chart with area fill.,
1563,"Visualize the monthly average PM10 for Chhattisgarh, Gujarat, and Tripura in 2024 as a multi-line chart.",
1564,"Compare the monthly average PM2.5 of Jalgaon, Gwalior, and Bengaluru in 2019 as a multi-line chart.",
1565,Show the monthly average PM2.5 for Bhiwani in 2018 as a line chart with area fill.,
1566,"Plot the yearly average PM2.5 trends for Bihar, Andhra Pradesh, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1567,Show the monthly average PM2.5 for Ambala in 2022 as a line chart with area fill.,
1568,Show the monthly average PM2.5 for Angul in 2017 as a line chart with area fill.,
1569,Show the monthly average PM2.5 for Pathardih in 2018 as a line chart with area fill.,
1570,"Plot the yearly average PM2.5 trends for Telangana, Kerala, and Haryana from 2017 to 2024 on a single multi-line chart.",
1571,"Plot the yearly average PM2.5 trends for Odisha, Jammu and Kashmir, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1572,Show the monthly average PM2.5 for Siwan in 2019 as a line chart with area fill.,
1573,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2023, with a regression trend line.",
1574,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Mizoram, and Chhattisgarh across 2019, 2020, 2021, and 2022.",
1575,"Compare the monthly average PM2.5 of Mandi Gobindgarh, Ariyalur, and Araria in 2023 as a multi-line chart.",
1576,Show the monthly average PM2.5 for Jhalawar in 2024 as a line chart with area fill.,
1577,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Jammu and Kashmir, and West Bengal across 2019, 2020, 2021, and 2022.",
1578,"Compare the monthly average PM2.5 of Byasanagar, Sonipat, and Jhansi in 2024 as a multi-line chart.",
1579,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Tamil Nadu, and Rajasthan across 2021, 2022, 2023, and 2024.",
1580,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Kerala, and Punjab from 2017 to 2024 on a single multi-line chart.",
1581,"Plot the yearly average PM2.5 trends for Tripura, Arunachal Pradesh, and Puducherry from 2017 to 2024 on a single multi-line chart.",
1582,Plot the rolling 30-day average PM2.5 for Tamil Nadu in 2020 as a line chart.,
1583,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Madhya Pradesh, and Sikkim from 2017 to 2024 on a single multi-line chart.",
1584,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2021, with a regression trend line.",
1585,Show a monthly bar chart of the number of days Haryana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
1586,Show the monthly average PM2.5 for Akola in 2017 as a line chart with area fill.,
1587,"Visualize the monthly average PM10 for Himachal Pradesh, Jammu and Kashmir, and Kerala in 2018 as a multi-line chart.",
1588,"Visualize the monthly average PM10 for Tripura, Madhya Pradesh, and Haryana in 2017 as a multi-line chart.",
1589,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Tripura, and Kerala across 2017, 2018, 2019, and 2020.",
1590,"Visualize the monthly average PM10 for Mizoram, Puducherry, and Meghalaya in 2019 as a multi-line chart.",
1591,Plot the weekly average PM2.5 for Asansol in 2023 as a line chart.,
1592,"Compare the monthly average PM2.5 of Kannur, Gummidipoondi, and Koppal in 2020 as a multi-line chart.",
1593,"Plot the yearly average PM2.5 trends for Bihar, Nagaland, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
1594,Plot the weekly average PM2.5 for Muzaffarnagar in 2024 as a line chart.,
1595,"Visualize the monthly average PM10 for Punjab, Rajasthan, and Jammu and Kashmir in 2024 as a multi-line chart.",
1596,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Nagaland.,
1597,Plot the weekly average PM2.5 for Ramanagara in 2023 as a line chart.,
1598,"Compare the monthly average PM2.5 of Bhilwara, Kunjemura, and Bhiwadi in 2024 as a multi-line chart.",
1599,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Sikkim, and Kerala across 2021, 2022, 2023, and 2024.",
1600,Plot the weekly average PM2.5 for Kolar in 2020 as a line chart.,
1601,"Plot the yearly average PM2.5 trends for Tripura, Jammu and Kashmir, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
1602,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Tripura, and Madhya Pradesh across 2021, 2022, 2023, and 2024.",
1603,"Plot the yearly average PM2.5 trends for Tamil Nadu, Jammu and Kashmir, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1604,"Compare the monthly average PM2.5 of Ajmer, Kolar, and Barrackpore in 2017 as a multi-line chart.",
1605,"Compare the monthly average PM2.5 of Ooty, Samastipur, and Indore in 2024 as a multi-line chart.",
1606,"Show the top 7 states by average PM10 in 2022 as a bar chart, sorted in descending order.",
1607,Show the monthly average PM10 trend for Coimbatore from 2019 to 2024 as a line chart.,
1608,Show the monthly average PM2.5 for Tirupati in 2024 as a line chart with area fill.,
1609,Plot the top 5 states by average PM2.5 in 2022 as a horizontal bar chart.,
1610,"Create a scatter plot of PM2.5 vs PM10 for all stations in 2023, colored by state.",
1611,Plot the weekly average PM2.5 for Guwahati in 2023 as a line chart.,
1612,"Visualize the monthly average PM10 for Odisha, Karnataka, and Mizoram in 2023 as a multi-line chart.",
1613,"Create a scatter plot of PM2.5 vs PM10 for all stations in 2017, colored by state.",
1614,Visualize the bottom 6 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
1615,"Visualize the monthly average PM10 for Karnataka, Bihar, and Arunachal Pradesh in 2023 as a multi-line chart.",
1616,Show the monthly average PM10 trend for Hapur from 2017 to 2022 as a line chart.,
1617,Plot the rolling 30-day average PM2.5 for Meghalaya in 2018 as a line chart.,
1618,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Tripura, and Odisha across 2019, 2020, 2021, and 2022.",
1619,Plot the weekly average PM2.5 for Dausa in 2024 as a line chart.,
1620,"Plot the yearly average PM2.5 trends for Manipur, Madhya Pradesh, and Haryana from 2017 to 2024 on a single multi-line chart.",
1621,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Maharashtra, and Kerala from 2017 to 2024 on a single multi-line chart.",
1622,Plot the distribution of PM2.5 values in Arunachal Pradesh across all years using a histogram.,
1623,Show a cumulative area chart of PM2.5 readings for Manesar across 2022.,
1624,Show a monthly bar chart of the number of days Andhra Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
1625,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2019.,
1626,"Show the top 7 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
1627,"Scatter plot PM2.5 vs PM10 for Andhra Pradesh stations in 2024, with a regression trend line.",
1628,Show the monthly average PM10 trend for Hisar from 2019 to 2024 as a line chart.,
1629,Show the monthly average PM2.5 for Katni in 2024 as a line chart with area fill.,
1630,Show the monthly average PM2.5 for Vatva in 2020 as a line chart with area fill.,
1631,"Compare the monthly average PM2.5 of Bahadurgarh, Bulandshahr, and Bagalkot in 2024 as a multi-line chart.",
1632,"Plot the yearly average PM2.5 trends for Haryana, Bihar, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
1633,Show the monthly average PM2.5 for Keonjhar in 2018 as a line chart with area fill.,
1634,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Meghalaya.,
1635,Visualize the bottom 12 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
1636,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2019 as a line chart.,
1637,"Visualize the monthly average PM10 for Tamil Nadu, Chhattisgarh, and Haryana in 2019 as a multi-line chart.",
1638,Show the monthly average PM2.5 for Aurangabad in 2022 as a line chart with area fill.,
1639,Show a monthly bar chart of the number of days Chhattisgarh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1640,Plot the weekly average PM2.5 for Sonipat in 2021 as a line chart.,
1641,"Compare the monthly average PM2.5 of Delhi, Bhilai, and Dhule in 2023 as a multi-line chart.",
1642,Plot the rolling 30-day average PM2.5 for Gujarat in 2018 as a line chart.,
1643,Show the monthly average PM2.5 for Nandesari in 2017 as a line chart with area fill.,
1644,Show a scatter plot of total NCAP funding vs average PM2.5 (2022) per state.,
1645,Show the monthly average PM10 trend for Bhiwadi from 2017 to 2022 as a line chart.,
1646,"Create a faceted bar chart showing top 7 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
1647,"Create a grouped bar chart comparing the average PM2.5 for Assam, Telangana, and Nagaland across 2019, 2020, 2021, and 2022.",
1648,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Jharkhand, and Rajasthan across 2017, 2018, 2019, and 2020.",
1649,"Compare the monthly average PM2.5 of Dhanbad, Raipur, and Kota in 2022 as a multi-line chart.",
1650,Show a cumulative area chart of PM2.5 readings for Kanchipuram across 2023.,
1651,Show the monthly average PM2.5 for Ujjain in 2022 as a line chart with area fill.,
1652,Plot the rolling 30-day average PM2.5 for Punjab in 2022 as a line chart.,
1653,Plot the rolling 30-day average PM2.5 for Jharkhand in 2019 as a line chart.,
1654,"Plot the yearly average PM2.5 trends for Gujarat, Manipur, and Puducherry from 2017 to 2024 on a single multi-line chart.",
1655,Show the monthly average PM2.5 for Tirupur in 2017 as a line chart with area fill.,
1656,Show the monthly average PM2.5 for Bettiah in 2022 as a line chart with area fill.,
1657,Show the monthly average PM10 trend for Kannur from 2019 to 2024 as a line chart.,
1658,Show the monthly average PM2.5 for Barmer in 2022 as a line chart with area fill.,
1659,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2018.,
1660,"Visualize the monthly average PM10 for Tripura, Jammu and Kashmir, and Assam in 2024 as a multi-line chart.",
1661,"Compare the monthly average PM2.5 of Ambala, Brajrajnagar, and Guwahati in 2020 as a multi-line chart.",
1662,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Maharashtra, and Puducherry across 2020, 2021, 2022, and 2023.",
1663,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Arunachal Pradesh, and Meghalaya across 2021, 2022, 2023, and 2024.",
1664,Show the monthly average PM10 trend for Pithampur from 2017 to 2022 as a line chart.,
1665,"Plot the yearly average PM2.5 trends for Puducherry, Assam, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
1666,Show a monthly bar chart of the number of days Odisha exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
1667,Plot the monthly average PM2.5 trend for Madhya Pradesh from 2017 to 2024 as a line chart.,
1668,Plot the rolling 30-day average PM2.5 for Nagaland in 2024 as a line chart.,
1669,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 7 cities.,
1670,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Andhra Pradesh, and Delhi across 2020, 2021, 2022, and 2023.",
1671,"Scatter plot PM2.5 vs PM10 for Uttarakhand stations in 2017, with a regression trend line.",
1672,"Visualize the monthly average PM10 for Maharashtra, Nagaland, and Arunachal Pradesh in 2021 as a multi-line chart.",
1673,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Karnataka, and Rajasthan across 2020, 2021, 2022, and 2023.",
1674,Show the monthly average PM2.5 for Keonjhar in 2019 as a line chart with area fill.,
1675,Plot the median PM10 for each state in summer 2017 (April–June) as a sorted bar chart.,
1676,Plot the rolling 30-day average PM2.5 for Manipur in 2023 as a line chart.,
1677,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2022.,
1678,Show the monthly average PM2.5 for Jhunjhunu in 2017 as a line chart with area fill.,
1679,"Visualize the monthly average PM10 for Assam, Madhya Pradesh, and Punjab in 2019 as a multi-line chart.",
1680,Show the monthly average PM2.5 for Alwar in 2023 as a line chart with area fill.,
1681,"Scatter plot PM2.5 vs PM10 for Andhra Pradesh stations in 2019, with a regression trend line.",
1682,Show the monthly average PM2.5 for Rishikesh in 2018 as a line chart with area fill.,
1683,Show a heatmap of average PM2.5 for the top 14 most polluted states by month for 2023.,
1684,"Create a grouped bar chart comparing the average PM2.5 for Assam, Andhra Pradesh, and Mizoram across 2019, 2020, 2021, and 2022.",
1685,"Compare the monthly average PM2.5 of Ariyalur, Bahadurgarh, and Kalyan in 2019 as a multi-line chart.",
1686,"Plot the yearly average PM2.5 trends for Assam, Nagaland, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1687,Show a monthly bar chart of the number of days Sikkim exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1688,"Plot the yearly average PM2.5 trends for Chandigarh, Uttar Pradesh, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
1689,Plot the rolling 30-day average PM2.5 for Tripura in 2019 as a line chart.,
1690,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Jammu and Kashmir, and Jharkhand across 2019, 2020, 2021, and 2022.",
1691,Show the monthly average PM10 trend for Gaya from 2017 to 2022 as a line chart.,
1692,Plot the rolling 30-day average PM2.5 for Manipur in 2018 as a line chart.,
1693,Show the monthly average PM2.5 for Dausa in 2019 as a line chart with area fill.,
1694,Plot the weekly average PM2.5 for Gadag in 2023 as a line chart.,
1695,"Visualize the monthly average PM10 for Delhi, Tamil Nadu, and Mizoram in 2019 as a multi-line chart.",
1696,Show the monthly average PM2.5 for Silchar in 2020 as a line chart with area fill.,
1697,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 5 cities.,
1698,Show the monthly average PM2.5 for Chhal in 2017 as a line chart with area fill.,
1699,"Scatter plot PM2.5 vs PM10 for Assam stations in 2023, with a regression trend line.",
1700,Plot the weekly average PM2.5 for Faridabad in 2017 as a line chart.,
1701,Show the monthly average PM10 trend for Barbil from 2019 to 2024 as a line chart.,
1702,Show the monthly average PM2.5 for Amritsar in 2024 as a line chart with area fill.,
1703,Show the monthly average PM2.5 for Dholpur in 2017 as a line chart with area fill.,
1704,Show a cumulative area chart of PM2.5 readings for Bhagalpur across 2023.,
1705,Show the monthly average PM2.5 for Arrah in 2023 as a line chart with area fill.,
1706,Create a heatmap showing the average PM2.5 by state and year from 2017 to 2024.,
1707,Show a monthly bar chart of the number of days Maharashtra exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1708,"Visualize the monthly average PM10 for West Bengal, Puducherry, and Uttarakhand in 2023 as a multi-line chart.",
1709,Plot the rolling 30-day average PM2.5 for Manipur in 2019 as a line chart.,
1710,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Maharashtra, and Haryana across 2021, 2022, 2023, and 2024.",
1711,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Haryana, and Bihar across 2017, 2018, 2019, and 2020.",
1712,Show the monthly average PM10 trend for Kadapa from 2019 to 2024 as a line chart.,
1713,"Plot the yearly average PM2.5 trends for Tripura, Jharkhand, and Bihar from 2017 to 2024 on a single multi-line chart.",
1714,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Assam, and Uttar Pradesh across 2020, 2021, 2022, and 2023.",
1715,"Compare the monthly average PM2.5 of Shillong, Palwal , and Jodhpur in 2022 as a multi-line chart.",
1716,"Compare the monthly average PM2.5 of Bharatpur, Mahad, and Cuttack in 2023 as a multi-line chart.",
1717,"Show the top 6 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
1718,Plot the median PM10 for each state in summer 2024 (April–June) as a sorted bar chart.,
1719,Plot the weekly average PM2.5 for Nalbari in 2023 as a line chart.,
1720,Show a cumulative area chart of PM2.5 readings for Gangtok across 2022.,
1721,"Compare the monthly average PM2.5 of Surat, Chittorgarh, and Bathinda in 2023 as a multi-line chart.",
1722,Show a cumulative area chart of PM2.5 readings for Bengaluru across 2017.,
1723,"Visualize the monthly average PM10 for Odisha, Maharashtra, and Punjab in 2023 as a multi-line chart.",
1724,"Plot the yearly average PM2.5 trends for Tripura, Nagaland, and Assam from 2017 to 2024 on a single multi-line chart.",
1725,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Karnataka, and Bihar across 2017, 2018, 2019, and 2020.",
1726,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Telangana, and Nagaland across 2017, 2018, 2019, and 2020.",
1727,Show a monthly bar chart of the number of days Nagaland exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1728,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Maharashtra, and Kerala across 2019, 2020, 2021, and 2022.",
1729,Plot the weekly average PM2.5 for Bharatpur in 2024 as a line chart.,
1730,"Compare the monthly average PM2.5 of Ankleshwar, Kashipur, and Bhiwani in 2023 as a multi-line chart.",
1731,Show the monthly average PM10 trend for Chennai from 2017 to 2022 as a line chart.,
1732,"Visualize the monthly average PM10 for Puducherry, Rajasthan, and Sikkim in 2018 as a multi-line chart.",
1733,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Tamil Nadu, and Bihar across 2017, 2018, 2019, and 2020.",
1734,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Rajasthan, and Haryana across 2020, 2021, 2022, and 2023.",
1735,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Chhattisgarh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
1736,"Visualize the monthly average PM10 for Haryana, Tripura, and Sikkim in 2017 as a multi-line chart.",
1737,Show the monthly average PM10 trend for Greater Noida from 2019 to 2024 as a line chart.,
1738,Plot the rolling 30-day average PM2.5 for Delhi in 2019 as a line chart.,
1739,"Scatter plot PM2.5 vs PM10 for Odisha stations in 2019, with a regression trend line.",
1740,"Visualize the monthly average PM10 for Meghalaya, Maharashtra, and Uttarakhand in 2022 as a multi-line chart.",
1741,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Maharashtra, and Kerala across 2020, 2021, 2022, and 2023.",
1742,"Compare the monthly average PM2.5 of Bilaspur, Rajsamand, and Thane in 2017 as a multi-line chart.",
1743,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Chhattisgarh, and Tripura across 2017, 2018, 2019, and 2020.",
1744,"Scatter plot PM2.5 vs PM10 for Kerala stations in 2021, with a regression trend line.",
1745,Plot the weekly average PM2.5 for Hapur in 2019 as a line chart.,
1746,"Compare the monthly average PM2.5 of Faridabad, Nagaon, and Bileipada in 2024 as a multi-line chart.",
1747,"Visualize the monthly average PM10 for Himachal Pradesh, Kerala, and Mizoram in 2022 as a multi-line chart.",
1748,Plot the top 9 states by average PM2.5 in 2021 as a horizontal bar chart.,
1749,Show the monthly average PM10 trend for Koppal from 2017 to 2022 as a line chart.,
1750,Plot the rolling 30-day average PM2.5 for Punjab in 2018 as a line chart.,
1751,"Visualize the monthly average PM10 for Uttarakhand, Odisha, and Delhi in 2024 as a multi-line chart.",
1752,Plot the rolling 30-day average PM2.5 for Chhattisgarh in 2017 as a line chart.,
1753,Show the monthly average PM2.5 for Bhubaneswar in 2023 as a line chart with area fill.,
1754,Plot the weekly average PM2.5 for Chhal in 2023 as a line chart.,
1755,"Scatter plot PM2.5 vs PM10 for Jharkhand stations in 2023, with a regression trend line.",
1756,"Plot the yearly average PM2.5 trends for Sikkim, Chhattisgarh, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1757,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Tripura, and Punjab across 2019, 2020, 2021, and 2022.",
1758,Show a bar chart of the top 10 cities by median PM2.5 in 2017.,
1759,Plot the top 13 states by average PM2.5 in 2019 as a horizontal bar chart.,
1760,Show the monthly average PM10 trend for Sivasagar from 2019 to 2024 as a line chart.,
1761,"Visualize the monthly average PM10 for Haryana, Karnataka, and Telangana in 2019 as a multi-line chart.",
1762,"Visualize the monthly average PM10 for Nagaland, Chandigarh, and Karnataka in 2019 as a multi-line chart.",
1763,Show the monthly average PM2.5 for Palkalaiperur in 2024 as a line chart with area fill.,
1764,Show a cumulative area chart of PM2.5 readings for Darbhanga across 2021.,
1765,"Visualize the monthly average PM10 for Manipur, Puducherry, and Bihar in 2022 as a multi-line chart.",
1766,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Puducherry.,
1767,Visualize the bottom 13 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
1768,"Visualize the monthly average PM10 for Kerala, Chandigarh, and Tripura in 2019 as a multi-line chart.",
1769,"Visualize the monthly average PM10 for Karnataka, Jharkhand, and West Bengal in 2019 as a multi-line chart.",
1770,"Visualize the monthly average PM10 for Maharashtra, Jammu and Kashmir, and Punjab in 2017 as a multi-line chart.",
1771,Plot the weekly average PM2.5 for Eloor in 2019 as a line chart.,
1772,Show the monthly average PM10 trend for Patna from 2017 to 2022 as a line chart.,
1773,Plot the top 10 states by average PM2.5 in 2024 as a horizontal bar chart.,
1774,Show the monthly average PM2.5 for Buxar in 2020 as a line chart with area fill.,
1775,Show a cumulative area chart of PM2.5 readings for Ooty across 2023.,
1776,"Compare the monthly average PM2.5 of Bareilly, Nashik, and Thiruvananthapuram in 2022 as a multi-line chart.",
1777,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 12 cities.,
1778,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2022.,
1779,Show a cumulative area chart of PM2.5 readings for Gorakhpur across 2021.,
1780,Show a bar chart of the top 7 cities by median PM2.5 in 2020.,
1781,Plot the weekly average PM2.5 for Pali in 2017 as a line chart.,
1782,"Plot the yearly average PM2.5 trends for West Bengal, Manipur, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
1783,Show the monthly average PM2.5 for Karnal in 2017 as a line chart with area fill.,
1784,"Compare the monthly average PM2.5 of Navi Mumbai, Purnia, and Jalna in 2022 as a multi-line chart.",
1785,"Show the top 10 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
1786,"Compare the monthly average PM2.5 of Hubballi, Darbhanga, and Ramanagara in 2019 as a multi-line chart.",
1787,Plot the rolling 30-day average PM2.5 for Chandigarh in 2019 as a line chart.,
1788,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Haryana, and Himachal Pradesh across 2021, 2022, 2023, and 2024.",
1789,Show the monthly average PM2.5 for Bengaluru in 2020 as a line chart with area fill.,
1790,"Plot the yearly average PM2.5 trends for West Bengal, Tripura, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
1791,Show a cumulative area chart of PM2.5 readings for Bengaluru across 2021.,
1792,Show the monthly average PM2.5 for Andhra Pradesh across each year from 2017 to 2024 as small multiples (faceted by year).,
1793,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Delhi, and Assam across 2019, 2020, 2021, and 2022.",
1794,"Visualize the monthly average PM10 for Telangana, West Bengal, and Jharkhand in 2021 as a multi-line chart.",
1795,"Visualize the monthly average PM10 for Sikkim, Puducherry, and Madhya Pradesh in 2017 as a multi-line chart.",
1796,"Compare the monthly average PM2.5 of Bathinda, Hapur, and Maihar in 2022 as a multi-line chart.",
1797,"Compare the monthly average PM2.5 of Narnaul, Bagalkot, and Kohima in 2023 as a multi-line chart.",
1798,"Create a bubble chart of PM2.5 vs area for each state in 2022, sized by population.",
1799,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Mizoram, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
1800,Plot the weekly average PM2.5 for Pathardih in 2024 as a line chart.,
1801,Plot the rolling 30-day average PM2.5 for Tripura in 2023 as a line chart.,
1802,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Arunachal Pradesh, and Delhi across 2021, 2022, 2023, and 2024.",
1803,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Punjab, and Tripura across 2021, 2022, 2023, and 2024.",
1804,Plot the top 6 states by average PM2.5 in 2021 as a horizontal bar chart.,
1805,Show the monthly average PM2.5 for Banswara in 2018 as a line chart with area fill.,
1806,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Punjab, and Gujarat across 2021, 2022, 2023, and 2024.",
1807,Show the monthly average PM2.5 for Thanjavur in 2019 as a line chart with area fill.,
1808,Plot the top 6 states by average PM2.5 in 2022 as a horizontal bar chart.,
1809,"Show the top 9 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
1810,Plot the rolling 30-day average PM2.5 for Bihar in 2020 as a line chart.,
1811,Show a cumulative area chart of PM2.5 readings for Chandigarh across 2021.,
1812,"Plot the yearly average PM2.5 trends for Puducherry, Andhra Pradesh, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
1813,"Visualize the monthly average PM10 for Gujarat, Nagaland, and Telangana in 2024 as a multi-line chart.",
1814,Plot the weekly average PM2.5 for Sirsa in 2023 as a line chart.,
1815,Plot the rolling 30-day average PM2.5 for Delhi in 2020 as a line chart.,
1816,"Compare the monthly average PM2.5 of Bagalkot, Jaisalmer, and Udaipur in 2024 as a multi-line chart.",
1817,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Jammu and Kashmir.,
1818,Plot the top 10 states by average PM2.5 in 2017 as a horizontal bar chart.,
1819,"Plot the yearly average PM2.5 trends for Nagaland, Jharkhand, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
1820,"Plot the yearly average PM2.5 trends for Sikkim, Chhattisgarh, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
1821,"Plot the yearly average PM2.5 trends for Sikkim, Gujarat, and Kerala from 2017 to 2024 on a single multi-line chart.",
1822,"Visualize the monthly average PM10 for Arunachal Pradesh, Tripura, and Telangana in 2024 as a multi-line chart.",
1823,"Visualize the monthly average PM10 for Tamil Nadu, Sikkim, and West Bengal in 2021 as a multi-line chart.",
1824,Show the monthly average PM10 trend for Bhiwani from 2019 to 2024 as a line chart.,
1825,Plot the weekly average PM2.5 for Dharuhera in 2019 as a line chart.,
1826,"Visualize the monthly average PM10 for Chandigarh, Delhi, and Bihar in 2021 as a multi-line chart.",
1827,"Compare the monthly average PM2.5 of Chittoor, Bharatpur, and Thanjavur in 2024 as a multi-line chart.",
1828,Plot the rolling 30-day average PM2.5 for Bihar in 2023 as a line chart.,
1829,Show a cumulative area chart of PM2.5 readings for Panipat across 2023.,
1830,Show a cumulative area chart of PM2.5 readings for Shivamogga across 2023.,
1831,Plot the top 11 states by average PM2.5 in 2021 as a horizontal bar chart.,
1832,Show a cumulative area chart of PM2.5 readings for Gurugram across 2018.,
1833,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Delhi, and Jammu and Kashmir across 2020, 2021, 2022, and 2023.",
1834,Visualize the bottom 8 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
1835,"Visualize the monthly average PM10 for Karnataka, Tripura, and Assam in 2024 as a multi-line chart.",
1836,Show the monthly average PM2.5 for Navi Mumbai in 2019 as a line chart with area fill.,
1837,Show the monthly average PM2.5 for Kochi in 2022 as a line chart with area fill.,
1838,Plot the weekly average PM2.5 for Chikkamagaluru in 2024 as a line chart.,
1839,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2019.,
1840,Show a monthly bar chart of the number of days Uttar Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
1841,Plot the rolling 30-day average PM2.5 for Rajasthan in 2024 as a line chart.,
1842,"Visualize the monthly average PM10 for Nagaland, Jharkhand, and Gujarat in 2018 as a multi-line chart.",
1843,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 14 most polluted states.,
1844,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Gujarat, and Karnataka from 2017 to 2024 on a single multi-line chart.",
1845,Show a cumulative area chart of PM2.5 readings for Prayagraj across 2023.,
1846,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Chhattisgarh, and Haryana across 2017, 2018, 2019, and 2020.",
1847,"Scatter plot PM2.5 vs PM10 for Chandigarh stations in 2017, with a regression trend line.",
1848,"Compare the monthly average PM2.5 of Agra, Rishikesh, and Visakhapatnam in 2023 as a multi-line chart.",
1849,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Karnataka.,
1850,Show the monthly average PM2.5 for Pathardih in 2024 as a line chart with area fill.,
1851,Show a monthly bar chart of the number of days Telangana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
1852,"Visualize the monthly average PM10 for Kerala, Sikkim, and Telangana in 2023 as a multi-line chart.",
1853,"Visualize the monthly average PM10 for Rajasthan, Jammu and Kashmir, and Maharashtra in 2018 as a multi-line chart.",
1854,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Meghalaya, and Bihar across 2017, 2018, 2019, and 2020.",
1855,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Sikkim, and Tamil Nadu across 2017, 2018, 2019, and 2020.",
1856,Show the monthly average PM10 trend for Ooty from 2017 to 2022 as a line chart.,
1857,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Delhi, and Kerala across 2017, 2018, 2019, and 2020.",
1858,"Scatter plot PM2.5 vs PM10 for Himachal Pradesh stations in 2019, with a regression trend line.",
1859,Plot the weekly average PM2.5 for Vijayawada in 2023 as a line chart.,
1860,"Plot the yearly average PM2.5 trends for Chandigarh, Maharashtra, and Manipur from 2017 to 2024 on a single multi-line chart.",
1861,"Compare the monthly average PM2.5 of Angul, Thiruvananthapuram, and Jalore in 2020 as a multi-line chart.",
1862,Show the monthly average PM2.5 for Belgaum in 2019 as a line chart with area fill.,
1863,Show the monthly average PM10 trend for Chengalpattu from 2017 to 2022 as a line chart.,
1864,Plot the rolling 30-day average PM2.5 for Uttar Pradesh in 2024 as a line chart.,
1865,"Create a faceted bar chart showing top 14 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
1866,Show the monthly average PM10 trend for Aurangabad from 2019 to 2024 as a line chart.,
1867,Visualize the bottom 5 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
1868,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Mizoram, and Kerala across 2021, 2022, 2023, and 2024.",
1869,Plot the distribution of PM2.5 values in Punjab across all years using a histogram.,
1870,"Scatter plot PM2.5 vs PM10 for Rajasthan stations in 2023, with a regression trend line.",
1871,Plot the monthly average PM2.5 trend for Karnataka from 2017 to 2024 as a line chart.,
1872,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Andhra Pradesh, and Chandigarh across 2019, 2020, 2021, and 2022.",
1873,Plot the weekly average PM2.5 for Gummidipoondi in 2023 as a line chart.,
1874,Plot the rolling 30-day average PM2.5 for West Bengal in 2023 as a line chart.,
1875,"Visualize the monthly average PM10 for Bihar, Chandigarh, and Punjab in 2021 as a multi-line chart.",
1876,Show the monthly average PM10 trend for Ariyalur from 2019 to 2024 as a line chart.,
1877,"Compare the monthly average PM2.5 of Patna, Chamarajanagar, and Kashipur in 2023 as a multi-line chart.",
1878,Plot the rolling 30-day average PM2.5 for Gujarat in 2022 as a line chart.,
1879,Show the monthly average PM2.5 for Gujarat across each year from 2017 to 2024 as small multiples (faceted by year).,
1880,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2018, with a regression trend line.",
1881,Show the monthly average PM2.5 for Malegaon in 2018 as a line chart with area fill.,
1882,Plot the weekly average PM2.5 for Kalyan in 2021 as a line chart.,
1883,Show a monthly bar chart of the number of days Mizoram exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1884,Show the monthly average PM2.5 for Hosur in 2023 as a line chart with area fill.,
1885,Show a bar chart of the top 5 cities by median PM2.5 in 2018.,
1886,"Visualize the monthly average PM10 for Arunachal Pradesh, Rajasthan, and Delhi in 2024 as a multi-line chart.",
1887,Show the monthly average PM10 trend for Bagalkot from 2019 to 2024 as a line chart.,
1888,Show the monthly average PM2.5 for Ahmednagar in 2019 as a line chart with area fill.,
1889,Show a cumulative area chart of PM2.5 readings for Ankleshwar across 2019.,
1890,Bar chart of PM2.5 per capita (average PM2.5 × 1000 / population) for each state in 2017.,
1891,Show the monthly average PM2.5 for Bhiwani in 2020 as a line chart with area fill.,
1892,"Plot the yearly average PM2.5 trends for Gujarat, Tripura, and Telangana from 2017 to 2024 on a single multi-line chart.",
1893,"Show the top 8 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
1894,Plot the distribution of PM2.5 values in Manipur across all years using a histogram.,
1895,"Compare the monthly average PM2.5 of Nagaur, Chikkamagaluru, and Barbil in 2023 as a multi-line chart.",
1896,Show a cumulative area chart of PM2.5 readings for Nagaur across 2024.,
1897,Show the monthly average PM10 trend for Bareilly from 2017 to 2022 as a line chart.,
1898,"Visualize the monthly average PM10 for Uttarakhand, Haryana, and West Bengal in 2017 as a multi-line chart.",
1899,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2017.,
1900,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Tripura, and Odisha from 2017 to 2024 on a single multi-line chart.",
1901,Visualize the bottom 10 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
1902,"Visualize the monthly average PM10 for Gujarat, Himachal Pradesh, and Himachal Pradesh in 2023 as a multi-line chart.",
1903,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Tamil Nadu, and Tripura across 2020, 2021, 2022, and 2023.",
1904,"Compare the monthly average PM2.5 of Boisar, Parbhani, and Amaravati in 2020 as a multi-line chart.",
1905,"Visualize the monthly average PM10 for Maharashtra, West Bengal, and Tamil Nadu in 2022 as a multi-line chart.",
1906,"Plot the yearly average PM2.5 trends for Rajasthan, West Bengal, and Mizoram from 2017 to 2024 on a single multi-line chart.",
1907,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Haryana, and Madhya Pradesh across 2020, 2021, 2022, and 2023.",
1908,Show the monthly average PM10 trend for Bareilly from 2019 to 2024 as a line chart.,
1909,"Compare the monthly average PM2.5 of Rishikesh, Kolkata, and Saharsa in 2020 as a multi-line chart.",
1910,Show the monthly average PM2.5 for Naharlagun in 2020 as a line chart with area fill.,
1911,Show a cumulative area chart of PM2.5 readings for Vrindavan across 2024.,
1912,Plot the weekly average PM2.5 for Boisar in 2024 as a line chart.,
1913,"Scatter plot PM2.5 vs PM10 for Tripura stations in 2024, with a regression trend line.",
1914,"Plot the yearly average PM2.5 trends for Assam, Karnataka, and Telangana from 2017 to 2024 on a single multi-line chart.",
1915,"Plot the yearly average PM2.5 trends for Mizoram, Himachal Pradesh, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
1916,"Visualize the monthly average PM10 for Bihar, Meghalaya, and Haryana in 2017 as a multi-line chart.",
1917,Show the monthly average PM2.5 for Lucknow in 2018 as a line chart with area fill.,
1918,Show a monthly bar chart of the number of days Gujarat exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1919,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Telangana, and Karnataka across 2017, 2018, 2019, and 2020.",
1920,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Meghalaya, and Haryana from 2017 to 2024 on a single multi-line chart.",
1921,"Compare the monthly average PM2.5 of Malegaon, Kadapa, and Patna in 2022 as a multi-line chart.",
1922,Show a bar chart of the top 9 cities by median PM2.5 in 2021.,
1923,Show the monthly average PM2.5 for Chikkamagaluru in 2018 as a line chart with area fill.,
1924,Plot the weekly average PM2.5 for Siwan in 2021 as a line chart.,
1925,Show the monthly average PM2.5 for Aurangabad in 2024 as a line chart with area fill.,
1926,"Plot the yearly average PM2.5 trends for Tripura, Madhya Pradesh, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
1927,"Visualize the monthly average PM10 for Kerala, Tamil Nadu, and Rajasthan in 2019 as a multi-line chart.",
1928,"Plot the yearly average PM2.5 trends for Meghalaya, Punjab, and Tripura from 2017 to 2024 on a single multi-line chart.",
1929,"Visualize the monthly average PM10 for Assam, Karnataka, and Tamil Nadu in 2021 as a multi-line chart.",
1930,Show the monthly average PM2.5 for Mandi Gobindgarh in 2020 as a line chart with area fill.,
1931,"Plot the yearly average PM2.5 trends for Uttarakhand, Andhra Pradesh, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
1932,Plot the top 9 states by average PM2.5 in 2019 as a horizontal bar chart.,
1933,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2022.,
1934,"Create a grouped bar chart comparing the average PM2.5 for Bihar, Madhya Pradesh, and Assam across 2021, 2022, 2023, and 2024.",
1935,Show the monthly average PM2.5 for Gorakhpur in 2022 as a line chart with area fill.,
1936,Show a monthly bar chart of the number of days Bihar exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1937,Show the monthly average PM10 trend for Bhagalpur from 2019 to 2024 as a line chart.,
1938,Plot the top 8 states by average PM2.5 in 2024 as a horizontal bar chart.,
1939,Show a cumulative area chart of PM2.5 readings for Maihar across 2021.,
1940,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Delhi, and Assam across 2019, 2020, 2021, and 2022.",
1941,"Visualize the monthly average PM10 for Tripura, Telangana, and Karnataka in 2022 as a multi-line chart.",
1942,Show the monthly average PM10 trend for Bhiwadi from 2019 to 2024 as a line chart.,
1943,Show a cumulative area chart of PM2.5 readings for Imphal across 2024.,
1944,Show a cumulative area chart of PM2.5 readings for Muzaffarnagar across 2019.,
1945,"Visualize the monthly average PM10 for Chandigarh, Telangana, and Bihar in 2019 as a multi-line chart.",
1946,"Compare the monthly average PM2.5 of Latur, Dehradun, and Vijayawada in 2024 as a multi-line chart.",
1947,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Sikkim, and Himachal Pradesh across 2020, 2021, 2022, and 2023.",
1948,Show a monthly bar chart of the number of days Kerala exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
1949,Plot the top 12 states by average PM2.5 in 2021 as a horizontal bar chart.,
1950,Plot the rolling 30-day average PM2.5 for West Bengal in 2018 as a line chart.,
1951,"Compare the monthly average PM2.5 of Jalgaon, Latur, and Thrissur in 2024 as a multi-line chart.",
1952,"Create a faceted bar chart showing top 15 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
1953,Show the monthly average PM10 trend for Udaipur from 2017 to 2022 as a line chart.,
1954,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Uttarakhand, and Assam across 2021, 2022, 2023, and 2024.",
1955,"Compare the monthly average PM2.5 of Araria, Milupara, and Yamuna Nagar in 2019 as a multi-line chart.",
1956,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Gujarat, and Jammu and Kashmir across 2019, 2020, 2021, and 2022.",
1957,Show a monthly bar chart of the number of days Haryana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
1958,Plot the rolling 30-day average PM2.5 for Gujarat in 2023 as a line chart.,
1959,Plot the monthly average PM2.5 trend for Andhra Pradesh from 2017 to 2024 as a line chart.,
1960,Plot the rolling 30-day average PM2.5 for Odisha in 2023 as a line chart.,
1961,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Rajasthan.,
1962,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2021, with a regression trend line.",
1963,Show the monthly average PM10 trend for Keonjhar from 2019 to 2024 as a line chart.,
1964,Show the monthly average PM10 trend for Solapur from 2019 to 2024 as a line chart.,
1965,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Chhattisgarh, and Mizoram from 2017 to 2024 on a single multi-line chart.",
1966,"Visualize the monthly average PM10 for Andhra Pradesh, Puducherry, and Telangana in 2019 as a multi-line chart.",
1967,"Plot the yearly average PM2.5 trends for Punjab, Haryana, and Bihar from 2017 to 2024 on a single multi-line chart.",
1968,"Visualize the monthly average PM10 for Meghalaya, Kerala, and Manipur in 2024 as a multi-line chart.",
1969,"Plot the yearly average PM2.5 trends for Tamil Nadu, Tripura, and Kerala from 2017 to 2024 on a single multi-line chart.",
1970,Show the PM2.5 per 1000 km² (air quality density) for each state in 2021 as a bar chart.,
1971,"Plot the yearly average PM2.5 trends for Telangana, Chandigarh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
1972,"Compare the monthly average PM2.5 of Perundurai, Pune, and Jhalawar in 2023 as a multi-line chart.",
1973,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Rajasthan, and Telangana across 2020, 2021, 2022, and 2023.",
1974,Plot the top 14 states by average PM2.5 in 2019 as a horizontal bar chart.,
1975,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Nagaland, and Haryana across 2020, 2021, 2022, and 2023.",
1976,"Scatter plot PM2.5 vs PM10 for Arunachal Pradesh stations in 2024, with a regression trend line.",
1977,Show the monthly average PM2.5 for Kerala across each year from 2017 to 2024 as small multiples (faceted by year).,
1978,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Odisha, and Puducherry across 2019, 2020, 2021, and 2022.",
1979,Plot the top 5 states by average PM2.5 in 2018 as a horizontal bar chart.,
1980,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Arunachal Pradesh, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
1981,"Plot the yearly average PM2.5 trends for Manipur, Sikkim, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
1982,"Visualize the monthly average PM10 for Sikkim, Meghalaya, and Andhra Pradesh in 2017 as a multi-line chart.",
1983,"Scatter plot PM2.5 vs PM10 for Haryana stations in 2021, with a regression trend line.",
1984,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Puducherry, and West Bengal across 2017, 2018, 2019, and 2020.",
1985,"Visualize the monthly average PM10 for Madhya Pradesh, Sikkim, and Rajasthan in 2021 as a multi-line chart.",
1986,Show the monthly average PM10 trend for Muzaffarpur from 2019 to 2024 as a line chart.,
1987,"Scatter plot PM2.5 vs PM10 for Jharkhand stations in 2017, with a regression trend line.",
1988,"Compare the monthly average PM2.5 of Ernakulam, Rourkela, and Bhagalpur in 2020 as a multi-line chart.",
1989,Show the monthly average PM2.5 for Charkhi Dadri in 2022 as a line chart with area fill.,
1990,Show the monthly average PM2.5 for Jhalawar in 2020 as a line chart with area fill.,
1991,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Mizoram, and Nagaland across 2019, 2020, 2021, and 2022.",
1992,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Karnataka, and Punjab across 2019, 2020, 2021, and 2022.",
1993,Show a cumulative area chart of PM2.5 readings for Bathinda across 2024.,
1994,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Himachal Pradesh, and Himachal Pradesh across 2021, 2022, 2023, and 2024.",
1995,"Compare the monthly average PM2.5 of Faridabad, Shivamogga, and Chennai in 2022 as a multi-line chart.",
1996,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Punjab, and Gujarat from 2017 to 2024 on a single multi-line chart.",
1997,"Plot the yearly average PM2.5 trends for Punjab, Odisha, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
1998,Show the monthly average PM2.5 for Sawai Madhopur in 2019 as a line chart with area fill.,
1999,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Himachal Pradesh, and Nagaland from 2017 to 2024 on a single multi-line chart.",
2000,"Visualize the monthly average PM10 for Punjab, Bihar, and Gujarat in 2022 as a multi-line chart.",
2001,Show the monthly average PM10 trend for Chhapra from 2019 to 2024 as a line chart.,
2002,"Visualize the monthly average PM10 for Jharkhand, Nagaland, and Jharkhand in 2019 as a multi-line chart.",
2003,Show a cumulative area chart of PM2.5 readings for Panipat across 2024.,
2004,"Compare the monthly average PM2.5 of Korba, Thoothukudi, and Muzaffarnagar in 2020 as a multi-line chart.",
2005,Visualize the bottom 9 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
2006,Plot the rolling 30-day average PM2.5 for Haryana in 2019 as a line chart.,
2007,Show the monthly average PM10 trend for Nalbari from 2019 to 2024 as a line chart.,
2008,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Tamil Nadu, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2009,"Visualize the monthly average PM10 for Jammu and Kashmir, Jharkhand, and Manipur in 2019 as a multi-line chart.",
2010,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, West Bengal, and Manipur across 2019, 2020, 2021, and 2022.",
2011,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Arunachal Pradesh, and Telangana across 2019, 2020, 2021, and 2022.",
2012,"Plot the yearly average PM2.5 trends for West Bengal, Maharashtra, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
2013,"Plot average PM2.5 (2022) vs state population as a scatter plot, labeling each point with the state name.",
2014,"Plot the yearly average PM2.5 trends for Odisha, Himachal Pradesh, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2015,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Jammu and Kashmir, and Assam across 2019, 2020, 2021, and 2022.",
2016,Plot the distribution of PM2.5 values in Tripura across all years using a histogram.,
2017,"Visualize the monthly average PM10 for Tripura, Assam, and Andhra Pradesh in 2024 as a multi-line chart.",
2018,"Visualize the monthly average PM10 for Telangana, Gujarat, and West Bengal in 2017 as a multi-line chart.",
2019,"Compare the monthly average PM2.5 of Srinagar, Dharuhera, and Panipat in 2022 as a multi-line chart.",
2020,"Show the top 7 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
2021,"Plot the yearly average PM2.5 trends for Puducherry, Jammu and Kashmir, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
2022,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Andhra Pradesh, and Kerala across 2021, 2022, 2023, and 2024.",
2023,"Plot the yearly average PM2.5 trends for Assam, West Bengal, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2024,Show the monthly average PM2.5 for Thoothukudi in 2019 as a line chart with area fill.,
2025,Show a monthly bar chart of the number of days Punjab exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
2026,"Plot the yearly average PM2.5 trends for Rajasthan, Punjab, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2027,"Visualize the monthly average PM10 for Arunachal Pradesh, Delhi, and Uttar Pradesh in 2021 as a multi-line chart.",
2028,Show a bar chart of the top 11 cities by median PM2.5 in 2017.,
2029,Plot the weekly average PM2.5 for Perundurai in 2024 as a line chart.,
2030,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Haryana, and Chhattisgarh across 2019, 2020, 2021, and 2022.",
2031,Plot the rolling 30-day average PM2.5 for Nagaland in 2020 as a line chart.,
2032,"Compare the monthly average PM2.5 of Chamarajanagar, Ahmedabad, and Indore in 2018 as a multi-line chart.",
2033,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Jharkhand, and Chandigarh across 2021, 2022, 2023, and 2024.",
2034,Show a monthly bar chart of the number of days Punjab exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2035,"Plot the yearly average PM2.5 trends for Punjab, Chhattisgarh, and Telangana from 2017 to 2024 on a single multi-line chart.",
2036,"Scatter plot PM2.5 vs PM10 for Kerala stations in 2020, with a regression trend line.",
2037,"Show the top 11 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
2038,Show the monthly average PM10 trend for Tensa from 2017 to 2022 as a line chart.,
2039,"Show the top 9 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
2040,"Plot the yearly average PM2.5 trends for West Bengal, Uttarakhand, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
2041,"Visualize the monthly average PM10 for Uttarakhand, Karnataka, and Bihar in 2023 as a multi-line chart.",
2042,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Mizoram, and Meghalaya across 2021, 2022, 2023, and 2024.",
2043,"Plot the yearly average PM2.5 trends for Punjab, Haryana, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
2044,"Visualize the monthly average PM10 for Chandigarh, Jharkhand, and Rajasthan in 2022 as a multi-line chart.",
2045,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Assam, and Puducherry across 2021, 2022, 2023, and 2024.",
2046,"Compare the monthly average PM2.5 of Mandideep, Gurugram, and Kaithal in 2023 as a multi-line chart.",
2047,Show the monthly average PM2.5 for Karnal in 2022 as a line chart with area fill.,
2048,"Compare the monthly average PM2.5 of Virudhunagar, Visakhapatnam, and Virudhunagar in 2019 as a multi-line chart.",
2049,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Haryana, and Kerala across 2017, 2018, 2019, and 2020.",
2050,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 11 most polluted states.,
2051,Show a cumulative area chart of PM2.5 readings for Damoh across 2023.,
2052,"Scatter plot PM2.5 vs PM10 for Himachal Pradesh stations in 2020, with a regression trend line.",
2053,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Tamil Nadu, and West Bengal across 2021, 2022, 2023, and 2024.",
2054,"Visualize the monthly average PM10 for Mizoram, Telangana, and Nagaland in 2023 as a multi-line chart.",
2055,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Bihar.,
2056,Show the monthly average PM2.5 for Boisar in 2018 as a line chart with area fill.,
2057,"Plot the yearly average PM2.5 trends for Puducherry, Telangana, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2058,Show the monthly average PM2.5 for Malegaon in 2019 as a line chart with area fill.,
2059,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2019, with a regression trend line.",
2060,Show the monthly average PM10 trend for Kaithal from 2017 to 2022 as a line chart.,
2061,"Plot the yearly average PM2.5 trends for Manipur, Punjab, and Haryana from 2017 to 2024 on a single multi-line chart.",
2062,"Create a grouped bar chart comparing the average PM2.5 for West Bengal, Bihar, and Uttar Pradesh across 2021, 2022, 2023, and 2024.",
2063,Show the monthly average PM2.5 for Rajgir in 2024 as a line chart with area fill.,
2064,Show the monthly average PM2.5 for Jodhpur in 2022 as a line chart with area fill.,
2065,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Arunachal Pradesh, and West Bengal across 2020, 2021, 2022, and 2023.",
2066,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Telangana, and West Bengal across 2020, 2021, 2022, and 2023.",
2067,"Plot the yearly average PM2.5 trends for Gujarat, West Bengal, and Haryana from 2017 to 2024 on a single multi-line chart.",
2068,"Plot the yearly average PM2.5 trends for Bihar, Delhi, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
2069,"Visualize the monthly average PM10 for Jharkhand, Bihar, and Chandigarh in 2022 as a multi-line chart.",
2070,Show the monthly average PM10 trend for Barmer from 2019 to 2024 as a line chart.,
2071,Show a monthly bar chart of the number of days Arunachal Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
2072,Show the monthly average PM10 trend for Latur from 2019 to 2024 as a line chart.,
2073,"Show a box plot of PM10 for each season (Winter, Summer, Monsoon, Post-Monsoon) for all of India.",
2074,"Create a faceted bar chart showing top 13 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2075,"Create a faceted bar chart showing top 5 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
2076,"Scatter plot PM2.5 vs PM10 for Assam stations in 2017, with a regression trend line.",
2077,"Plot the yearly average PM2.5 trends for Haryana, Haryana, and Gujarat from 2017 to 2024 on a single multi-line chart.",
2078,Show the monthly average PM2.5 for Dholpur in 2019 as a line chart with area fill.,
2079,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Uttarakhand, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2080,"Visualize the monthly average PM10 for Bihar, Maharashtra, and Jammu and Kashmir in 2017 as a multi-line chart.",
2081,Plot the monthly average PM2.5 trend for Nagaland from 2017 to 2024 as a line chart.,
2082,Show a monthly bar chart of the number of days Bihar exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
2083,"Scatter plot PM2.5 vs PM10 for Jharkhand stations in 2018, with a regression trend line.",
2084,"Plot the yearly average PM2.5 trends for Rajasthan, Haryana, and West Bengal from 2017 to 2024 on a single multi-line chart.",
2085,Show a monthly bar chart of the number of days Manipur exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2086,"Visualize the monthly average PM10 for Tamil Nadu, Andhra Pradesh, and Rajasthan in 2021 as a multi-line chart.",
2087,"Compare the monthly average PM2.5 of Jabalpur, Kochi, and Karwar in 2023 as a multi-line chart.",
2088,"Compare the monthly average PM2.5 of Sagar, Rajsamand, and Durgapur in 2024 as a multi-line chart.",
2089,Show the monthly average PM2.5 for Ooty in 2024 as a line chart with area fill.,
2090,"Plot the yearly average PM2.5 trends for Tripura, Kerala, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2091,Show the monthly average PM2.5 for Ernakulam in 2017 as a line chart with area fill.,
2092,Plot the weekly average PM2.5 for Nayagarh in 2023 as a line chart.,
2093,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2018.,
2094,Show the monthly average PM2.5 for Tonk in 2024 as a line chart with area fill.,
2095,Show the monthly average PM10 trend for Bhopal from 2019 to 2024 as a line chart.,
2096,Show the monthly average PM10 trend for Dholpur from 2019 to 2024 as a line chart.,
2097,Show the monthly average PM2.5 for Dindigul in 2018 as a line chart with area fill.,
2098,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Uttar Pradesh, and Jharkhand across 2019, 2020, 2021, and 2022.",
2099,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Tamil Nadu, and Karnataka across 2020, 2021, 2022, and 2023.",
2100,"Show the top 6 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
2101,Show a cumulative area chart of PM2.5 readings for Ajmer across 2022.,
2102,Show the monthly average PM10 trend for Durgapur from 2019 to 2024 as a line chart.,
2103,Show a cumulative area chart of PM2.5 readings for Bundi across 2023.,
2104,Show the monthly average PM10 trend for Salem from 2017 to 2022 as a line chart.,
2105,Plot the weekly average PM2.5 for Mysuru in 2020 as a line chart.,
2106,Plot the rolling 30-day average PM2.5 for Tripura in 2018 as a line chart.,
2107,"Compare the monthly average PM2.5 of Pithampur, Palwal , and Dhanbad in 2022 as a multi-line chart.",
2108,Show a bar chart of the top 15 cities by median PM2.5 in 2018.,
2109,"Create a grouped bar chart comparing the average PM2.5 for Delhi, West Bengal, and Meghalaya across 2017, 2018, 2019, and 2020.",
2110,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Telangana, and Rajasthan across 2021, 2022, 2023, and 2024.",
2111,"Compare the monthly average PM2.5 of Raichur, Ghaziabad, and Mira-Bhayandar in 2024 as a multi-line chart.",
2112,Plot the rolling 30-day average PM2.5 for Kerala in 2017 as a line chart.,
2113,Show the monthly average PM2.5 for Sangli in 2019 as a line chart with area fill.,
2114,"Visualize the monthly average PM10 for Jharkhand, Nagaland, and Madhya Pradesh in 2021 as a multi-line chart.",
2115,Show a cumulative area chart of PM2.5 readings for Gummidipoondi across 2022.,
2116,Show the monthly average PM2.5 for Bulandshahr in 2019 as a line chart with area fill.,
2117,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Chhattisgarh, and Manipur from 2017 to 2024 on a single multi-line chart.",
2118,Plot the top 14 states by average PM2.5 in 2024 as a horizontal bar chart.,
2119,Show the monthly average PM10 trend for Mumbai from 2017 to 2022 as a line chart.,
2120,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2023.,
2121,"Visualize the monthly average PM10 for Madhya Pradesh, Chandigarh, and Rajasthan in 2019 as a multi-line chart.",
2122,Show a heatmap of average PM2.5 for the top 13 most polluted states by month for 2021.,
2123,"Plot the yearly average PM2.5 trends for Haryana, Uttarakhand, and Karnataka from 2017 to 2024 on a single multi-line chart.",
2124,Show a cumulative area chart of PM2.5 readings for Sirohi across 2023.,
2125,Plot the rolling 30-day average PM2.5 for Karnataka in 2019 as a line chart.,
2126,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2127,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2018, with a regression trend line.",
2128,"Visualize the monthly average PM10 for Chandigarh, Andhra Pradesh, and Jharkhand in 2023 as a multi-line chart.",
2129,Plot the weekly average PM2.5 for Malegaon in 2024 as a line chart.,
2130,"Show the top 13 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
2131,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Delhi, and Nagaland across 2019, 2020, 2021, and 2022.",
2132,Plot the weekly average PM2.5 for Sawai Madhopur in 2023 as a line chart.,
2133,Show the monthly average PM10 trend for Nagpur from 2019 to 2024 as a line chart.,
2134,"Create a grouped bar chart comparing the average PM2.5 for Jammu and Kashmir, Madhya Pradesh, and Chhattisgarh across 2021, 2022, 2023, and 2024.",
2135,"Visualize the monthly average PM10 for Bihar, Andhra Pradesh, and Punjab in 2024 as a multi-line chart.",
2136,Show the monthly average PM10 trend for Byrnihat from 2019 to 2024 as a line chart.,
2137,Show the monthly average PM2.5 for Jalore in 2022 as a line chart with area fill.,
2138,Plot the weekly average PM2.5 for Araria in 2023 as a line chart.,
2139,Plot the weekly average PM2.5 for Rajamahendravaram in 2019 as a line chart.,
2140,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2018.,
2141,Show the monthly average PM2.5 for Kashipur in 2019 as a line chart with area fill.,
2142,"Compare the monthly average PM2.5 of Jind, Gadag, and Kishanganj in 2022 as a multi-line chart.",
2143,Show the monthly average PM2.5 for Dhule in 2019 as a line chart with area fill.,
2144,Show the monthly average PM10 trend for Thoothukudi from 2017 to 2022 as a line chart.,
2145,"Plot the yearly average PM2.5 trends for Mizoram, Uttar Pradesh, and Odisha from 2017 to 2024 on a single multi-line chart.",
2146,Show a monthly bar chart of the number of days Puducherry exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2147,Show a cumulative area chart of PM2.5 readings for Pune across 2022.,
2148,"Visualize the monthly average PM10 for Tamil Nadu, Haryana, and Arunachal Pradesh in 2022 as a multi-line chart.",
2149,Visualize the bottom 15 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
2150,"Visualize the monthly average PM10 for Himachal Pradesh, Karnataka, and Telangana in 2024 as a multi-line chart.",
2151,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Haryana, and Punjab from 2017 to 2024 on a single multi-line chart.",
2152,Plot the monthly average PM2.5 trend for Maharashtra from 2017 to 2024 as a line chart.,
2153,Show the monthly average PM2.5 for Nagpur in 2018 as a line chart with area fill.,
2154,Plot the rolling 30-day average PM2.5 for Odisha in 2024 as a line chart.,
2155,Show a bar chart of the top 5 cities by median PM2.5 in 2017.,
2156,"Visualize the monthly average PM10 for Bihar, Tamil Nadu, and Chandigarh in 2022 as a multi-line chart.",
2157,"Compare the monthly average PM2.5 of Ooty, Khanna, and Kunjemura in 2020 as a multi-line chart.",
2158,"Scatter plot PM2.5 vs PM10 for Manipur stations in 2019, with a regression trend line.",
2159,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Assam, and Uttarakhand across 2017, 2018, 2019, and 2020.",
2160,"Create a faceted bar chart showing top 9 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
2161,"Plot the yearly average PM2.5 trends for Gujarat, Delhi, and Haryana from 2017 to 2024 on a single multi-line chart.",
2162,"Show the top 13 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
2163,Show the monthly average PM2.5 for Perundurai in 2020 as a line chart with area fill.,
2164,"Visualize the monthly average PM10 for Chandigarh, Odisha, and Madhya Pradesh in 2024 as a multi-line chart.",
2165,Show the monthly average PM2.5 for Patna in 2017 as a line chart with area fill.,
2166,Plot the weekly average PM2.5 for Guwahati in 2020 as a line chart.,
2167,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Kerala, and Manipur across 2021, 2022, 2023, and 2024.",
2168,Show a heatmap of average PM2.5 for the top 7 most polluted states by month for 2022.,
2169,Show the monthly average PM10 trend for Katihar from 2017 to 2022 as a line chart.,
2170,Show a monthly bar chart of the number of days Delhi exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2171,Show the monthly average PM10 trend for Kanchipuram from 2019 to 2024 as a line chart.,
2172,"Plot the yearly average PM2.5 trends for Jharkhand, Puducherry, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2173,"Visualize the monthly average PM10 for Puducherry, Karnataka, and Bihar in 2022 as a multi-line chart.",
2174,Show the monthly average PM10 trend for Delhi from 2017 to 2022 as a line chart.,
2175,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 14 cities.,
2176,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Andhra Pradesh, and Karnataka across 2021, 2022, 2023, and 2024.",
2177,Show a cumulative area chart of PM2.5 readings for Kishanganj across 2021.,
2178,Show a monthly bar chart of the number of days Uttar Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2179,Visualize the bottom 13 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
2180,"Visualize the monthly average PM10 for Rajasthan, Tamil Nadu, and Mizoram in 2018 as a multi-line chart.",
2181,Plot the rolling 30-day average PM2.5 for Chandigarh in 2023 as a line chart.,
2182,"Compare the monthly average PM2.5 of Hapur, Noida, and Agra in 2018 as a multi-line chart.",
2183,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2017 as a line chart.,
2184,"Compare the monthly average PM2.5 of Chengalpattu, Kolar, and Kohima in 2020 as a multi-line chart.",
2185,"Plot the yearly average PM2.5 trends for Gujarat, Karnataka, and Bihar from 2017 to 2024 on a single multi-line chart.",
2186,Plot the rolling 30-day average PM2.5 for Telangana in 2024 as a line chart.,
2187,"Visualize the monthly average PM10 for Telangana, Tamil Nadu, and Jharkhand in 2021 as a multi-line chart.",
2188,"Visualize the monthly average PM10 for Odisha, Tripura, and Punjab in 2019 as a multi-line chart.",
2189,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Puducherry, and Gujarat across 2021, 2022, 2023, and 2024.",
2190,"Compare the monthly average PM2.5 of Pithampur, Milupara, and Barrackpore in 2022 as a multi-line chart.",
2191,"Compare the monthly average PM2.5 of Rajgir, Purnia, and Dharwad in 2024 as a multi-line chart.",
2192,"Create a grouped bar chart comparing the average PM2.5 for Assam, Meghalaya, and Bihar across 2020, 2021, 2022, and 2023.",
2193,Show the monthly average PM10 trend for Baripada from 2019 to 2024 as a line chart.,
2194,Show a monthly bar chart of the number of days Manipur exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2195,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, West Bengal, and Rajasthan across 2017, 2018, 2019, and 2020.",
2196,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2024, with a regression trend line.",
2197,Show the monthly average PM2.5 for Ulhasnagar in 2022 as a line chart with area fill.,
2198,"Plot the yearly average PM2.5 trends for Odisha, Delhi, and Assam from 2017 to 2024 on a single multi-line chart.",
2199,Show the monthly average PM2.5 for Churu in 2020 as a line chart with area fill.,
2200,"Visualize the monthly average PM10 for Meghalaya, Jharkhand, and Jammu and Kashmir in 2022 as a multi-line chart.",
2201,"Visualize the monthly average PM10 for Nagaland, Madhya Pradesh, and Madhya Pradesh in 2023 as a multi-line chart.",
2202,"Plot the yearly average PM2.5 trends for Haryana, Kerala, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
2203,Visualize the bottom 11 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
2204,Show a monthly bar chart of the number of days Himachal Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2205,"Compare the monthly average PM2.5 of Balasore, Jalore, and Haveri in 2024 as a multi-line chart.",
2206,Show the monthly average PM2.5 for Howrah in 2020 as a line chart with area fill.,
2207,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Manipur, and Kerala across 2017, 2018, 2019, and 2020.",
2208,"Plot the yearly average PM2.5 trends for Bihar, Gujarat, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
2209,"Scatter plot PM2.5 vs PM10 for Tripura stations in 2020, with a regression trend line.",
2210,Show a cumulative area chart of PM2.5 readings for Hyderabad across 2023.,
2211,Show the monthly average PM2.5 for Katihar in 2018 as a line chart with area fill.,
2212,"Plot the yearly average PM2.5 trends for Telangana, Andhra Pradesh, and Telangana from 2017 to 2024 on a single multi-line chart.",
2213,"Visualize the monthly average PM10 for Kerala, Haryana, and West Bengal in 2023 as a multi-line chart.",
2214,"Scatter plot PM2.5 vs PM10 for Tripura stations in 2021, with a regression trend line.",
2215,Show the monthly average PM10 trend for Palkalaiperur from 2019 to 2024 as a line chart.,
2216,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Arunachal Pradesh, and Kerala across 2020, 2021, 2022, and 2023.",
2217,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Madhya Pradesh, and Himachal Pradesh across 2019, 2020, 2021, and 2022.",
2218,Plot the top 15 states by average PM2.5 in 2024 as a horizontal bar chart.,
2219,"Scatter plot PM2.5 vs PM10 for Puducherry stations in 2019, with a regression trend line.",
2220,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Himachal Pradesh, and Delhi across 2021, 2022, 2023, and 2024.",
2221,"Scatter plot PM2.5 vs PM10 for West Bengal stations in 2020, with a regression trend line.",
2222,Show a cumulative area chart of PM2.5 readings for Katni across 2021.,
2223,Show a cumulative area chart of PM2.5 readings for Sikar across 2023.,
2224,"Show the top 8 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
2225,Show the monthly average PM2.5 for Ratlam in 2017 as a line chart with area fill.,
2226,"Visualize the monthly average PM10 for Punjab, Andhra Pradesh, and Nagaland in 2019 as a multi-line chart.",
2227,Plot the weekly average PM2.5 for Kolkata in 2019 as a line chart.,
2228,"Visualize the monthly average PM10 for Manipur, Gujarat, and West Bengal in 2022 as a multi-line chart.",
2229,Plot the weekly average PM2.5 for Bulandshahr in 2023 as a line chart.,
2230,Show a bar chart of the top 9 cities by median PM2.5 in 2018.,
2231,Show a cumulative area chart of PM2.5 readings for Charkhi Dadri across 2022.,
2232,"Plot the yearly average PM2.5 trends for Telangana, Nagaland, and Kerala from 2017 to 2024 on a single multi-line chart.",
2233,"Visualize the monthly average PM10 for Jharkhand, Jharkhand, and Jharkhand in 2018 as a multi-line chart.",
2234,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Jammu and Kashmir, and Tripura across 2017, 2018, 2019, and 2020.",
2235,Show a cumulative area chart of PM2.5 readings for Damoh across 2024.,
2236,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Meghalaya, and West Bengal across 2019, 2020, 2021, and 2022.",
2237,Show the monthly average PM10 trend for Kalaburagi from 2019 to 2024 as a line chart.,
2238,Show a box plot of PM2.5 distribution for each state in 2018.,
2239,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Tripura, and Karnataka across 2021, 2022, 2023, and 2024.",
2240,Show the monthly average PM2.5 for Ulhasnagar in 2024 as a line chart with area fill.,
2241,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Andhra Pradesh.,
2242,Visualize the bottom 11 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
2243,"Visualize the monthly average PM10 for Kerala, Delhi, and Assam in 2024 as a multi-line chart.",
2244,Plot the rolling 30-day average PM2.5 for Andhra Pradesh in 2019 as a line chart.,
2245,Show the monthly average PM2.5 for Kurukshetra in 2018 as a line chart with area fill.,
2246,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Delhi, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
2247,Visualize the bottom 15 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
2248,"Plot the yearly average PM2.5 trends for Delhi, Manipur, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2249,"Visualize the monthly average PM10 for Gujarat, Telangana, and Maharashtra in 2024 as a multi-line chart.",
2250,Show the monthly average PM2.5 for Ariyalur in 2017 as a line chart with area fill.,
2251,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Jharkhand, and Sikkim across 2021, 2022, 2023, and 2024.",
2252,Show a scatter plot of total NCAP funding vs average PM2.5 (2021) per state.,
2253,"Compare the monthly average PM2.5 of Bikaner, Thane, and Howrah in 2024 as a multi-line chart.",
2254,Show a cumulative area chart of PM2.5 readings for Chandrapur across 2017.,
2255,Show a bar chart of the top 15 cities by median PM2.5 in 2019.,
2256,Show a monthly bar chart of the number of days Arunachal Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2257,Show the monthly average PM2.5 for Gurugram in 2018 as a line chart with area fill.,
2258,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Karnataka, and Sikkim across 2021, 2022, 2023, and 2024.",
2259,Show a cumulative area chart of PM2.5 readings for Gurugram across 2021.,
2260,Show a heatmap of average PM2.5 for the top 10 most polluted states by month for 2017.,
2261,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Tamil Nadu, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
2262,Show a monthly bar chart of the number of days Arunachal Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2263,Show a cumulative area chart of PM2.5 readings for Sonipat across 2024.,
2264,Show the monthly average PM10 trend for Surat from 2019 to 2024 as a line chart.,
2265,Plot the weekly average PM2.5 for Delhi in 2021 as a line chart.,
2266,Show the monthly average PM2.5 for Delhi across each year from 2017 to 2024 as small multiples (faceted by year).,
2267,"Compare the monthly average PM2.5 of Chandrapur, Bhilwara, and Arrah in 2024 as a multi-line chart.",
2268,Show the monthly average PM2.5 for Cuttack in 2024 as a line chart with area fill.,
2269,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2019.,
2270,"Visualize the monthly average PM10 for Puducherry, Delhi, and Jharkhand in 2022 as a multi-line chart.",
2271,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2020, with a regression trend line.",
2272,Plot the weekly average PM2.5 for Khanna in 2020 as a line chart.,
2273,"Visualize the monthly average PM10 for Delhi, Karnataka, and Assam in 2021 as a multi-line chart.",
2274,Show the monthly average PM10 trend for Chandigarh from 2017 to 2022 as a line chart.,
2275,"Compare the monthly average PM2.5 of Khurja, Tensa, and Rajamahendravaram in 2022 as a multi-line chart.",
2276,Show a cumulative area chart of PM2.5 readings for Narnaul across 2019.,
2277,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Arunachal Pradesh, and Tripura across 2021, 2022, 2023, and 2024.",
2278,"Visualize the monthly average PM10 for Andhra Pradesh, Telangana, and Uttar Pradesh in 2018 as a multi-line chart.",
2279,Plot the distribution of PM2.5 values in Uttarakhand across all years using a histogram.,
2280,Show a heatmap of average PM2.5 for the top 15 most polluted states by month for 2018.,
2281,"Plot the yearly average PM2.5 trends for Rajasthan, Jharkhand, and Delhi from 2017 to 2024 on a single multi-line chart.",
2282,Show a monthly bar chart of the number of days Himachal Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2283,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
2284,Show the monthly average PM2.5 for Vellore in 2022 as a line chart with area fill.,
2285,Plot the top 7 states by average PM2.5 in 2023 as a horizontal bar chart.,
2286,Plot the weekly average PM2.5 for Hisar in 2020 as a line chart.,
2287,Visualize the bottom 9 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
2288,Show a cumulative area chart of PM2.5 readings for Muzaffarpur across 2022.,
2289,"Compare the monthly average PM2.5 of Gummidipoondi, Vatva, and Kashipur in 2019 as a multi-line chart.",
2290,"Compare the monthly average PM2.5 of Kolkata, Hubballi, and Meerut in 2023 as a multi-line chart.",
2291,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2017, with a regression trend line.",
2292,"Show the top 12 states by average PM10 in 2018 as a bar chart, sorted in descending order.",
2293,Show the monthly average PM2.5 for Nandesari in 2022 as a line chart with area fill.,
2294,"Compare the monthly average PM2.5 of Munger, Palkalaiperur, and Pudukottai in 2023 as a multi-line chart.",
2295,"Compare the monthly average PM2.5 of Rajsamand, Sikar, and Pithampur in 2019 as a multi-line chart.",
2296,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Tripura, and Tamil Nadu across 2019, 2020, 2021, and 2022.",
2297,"Visualize the monthly average PM10 for Karnataka, Madhya Pradesh, and Andhra Pradesh in 2024 as a multi-line chart.",
2298,Show a bar chart of the top 9 cities by median PM2.5 in 2017.,
2299,Show the monthly average PM2.5 for Ahmednagar in 2017 as a line chart with area fill.,
2300,Plot the average PM2.5 across all states in February 2023 as a horizontal bar chart.,
2301,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Meghalaya.,
2302,Show the monthly average PM2.5 for Mahad in 2019 as a line chart with area fill.,
2303,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Bihar, and Uttarakhand across 2021, 2022, 2023, and 2024.",
2304,"Create a faceted bar chart showing top 6 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
2305,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Karnataka, and Kerala across 2021, 2022, 2023, and 2024.",
2306,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Punjab, and Andhra Pradesh across 2021, 2022, 2023, and 2024.",
2307,Show a monthly bar chart of the number of days Kerala exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2308,Show the monthly average PM10 trend for Manesar from 2017 to 2022 as a line chart.,
2309,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Madhya Pradesh, and Uttar Pradesh across 2020, 2021, 2022, and 2023.",
2310,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Mizoram, and Telangana across 2021, 2022, 2023, and 2024.",
2311,"Plot the yearly average PM2.5 trends for Nagaland, Himachal Pradesh, and Delhi from 2017 to 2024 on a single multi-line chart.",
2312,"Visualize the monthly average PM10 for Telangana, Assam, and Uttar Pradesh in 2023 as a multi-line chart.",
2313,Show the monthly average PM10 trend for Kanpur from 2019 to 2024 as a line chart.,
2314,"Compare the monthly average PM2.5 of Rajamahendravaram, Araria, and Jalgaon in 2017 as a multi-line chart.",
2315,"Visualize the monthly average PM10 for Delhi, Meghalaya, and Karnataka in 2023 as a multi-line chart.",
2316,Show a cumulative area chart of PM2.5 readings for Muzaffarpur across 2023.,
2317,"Plot the yearly average PM2.5 trends for Uttarakhand, Arunachal Pradesh, and Assam from 2017 to 2024 on a single multi-line chart.",
2318,Plot the top 12 states by average PM2.5 in 2017 as a horizontal bar chart.,
2319,"Visualize the monthly average PM10 for Assam, Uttarakhand, and Haryana in 2024 as a multi-line chart.",
2320,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Assam.,
2321,"Plot the yearly average PM2.5 trends for Delhi, Chandigarh, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
2322,"Compare the monthly average PM2.5 of Rajamahendravaram, Durgapur, and Kaithal in 2024 as a multi-line chart.",
2323,"Visualize the monthly average PM10 for Andhra Pradesh, Chhattisgarh, and Chandigarh in 2024 as a multi-line chart.",
2324,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Sikkim, and Bihar across 2019, 2020, 2021, and 2022.",
2325,"Visualize the monthly average PM10 for Assam, Odisha, and Telangana in 2021 as a multi-line chart.",
2326,Plot the weekly average PM2.5 for Hapur in 2023 as a line chart.,
2327,Show the monthly average PM10 trend for Katihar from 2019 to 2024 as a line chart.,
2328,Show a cumulative area chart of PM2.5 readings for Kannur across 2022.,
2329,"Scatter plot PM2.5 vs PM10 for Meghalaya stations in 2020, with a regression trend line.",
2330,Show the monthly average PM2.5 for Katihar in 2024 as a line chart with area fill.,
2331,Show a monthly bar chart of the number of days Rajasthan exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2332,Plot the distribution of PM2.5 values in Karnataka across all years using a histogram.,
2333,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Uttar Pradesh, and Rajasthan across 2021, 2022, 2023, and 2024.",
2334,"Visualize the monthly average PM10 for Maharashtra, Haryana, and Chhattisgarh in 2021 as a multi-line chart.",
2335,"Plot the yearly average PM2.5 trends for Nagaland, Puducherry, and Haryana from 2017 to 2024 on a single multi-line chart.",
2336,Plot the distribution of PM2.5 values in Puducherry across all years using a histogram.,
2337,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Odisha, and Nagaland across 2019, 2020, 2021, and 2022.",
2338,"Scatter plot PM2.5 vs PM10 for Meghalaya stations in 2023, with a regression trend line.",
2339,Show the monthly average PM2.5 for Sonipat in 2018 as a line chart with area fill.,
2340,"Compare the monthly average PM2.5 of Thane, Kolar, and Hajipur in 2018 as a multi-line chart.",
2341,"Plot the yearly average PM2.5 trends for Assam, Andhra Pradesh, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2342,"Visualize the monthly average PM10 for West Bengal, Nagaland, and Madhya Pradesh in 2023 as a multi-line chart.",
2343,"Visualize the monthly average PM10 for Tripura, Meghalaya, and Sikkim in 2024 as a multi-line chart.",
2344,"Visualize the monthly average PM10 for Meghalaya, Andhra Pradesh, and Mizoram in 2018 as a multi-line chart.",
2345,"Compare the monthly average PM2.5 of Amritsar, Khanna, and Tonk in 2022 as a multi-line chart.",
2346,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Puducherry, and Karnataka across 2019, 2020, 2021, and 2022.",
2347,Visualize the bottom 14 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
2348,Show the monthly average PM2.5 for Byasanagar in 2020 as a line chart with area fill.,
2349,Plot the rolling 30-day average PM2.5 for Karnataka in 2022 as a line chart.,
2350,"Create a grouped bar chart comparing the average PM2.5 for Punjab, Nagaland, and Kerala across 2021, 2022, 2023, and 2024.",
2351,Show the monthly average PM10 trend for Bhopal from 2017 to 2022 as a line chart.,
2352,Plot the rolling 30-day average PM2.5 for Sikkim in 2017 as a line chart.,
2353,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Sikkim, and Telangana across 2017, 2018, 2019, and 2020.",
2354,Plot the weekly average PM2.5 for Haveri in 2024 as a line chart.,
2355,Plot the rolling 30-day average PM2.5 for Uttar Pradesh in 2022 as a line chart.,
2356,"Visualize the monthly average PM10 for Gujarat, Bihar, and Karnataka in 2017 as a multi-line chart.",
2357,"Visualize the monthly average PM10 for Jammu and Kashmir, Haryana, and Himachal Pradesh in 2024 as a multi-line chart.",
2358,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2023.,
2359,Show the monthly average PM2.5 for Visakhapatnam in 2024 as a line chart with area fill.,
2360,Show the monthly average PM10 trend for Tirupur from 2019 to 2024 as a line chart.,
2361,Show the PM2.5 per 1000 km² (air quality density) for each state in 2019 as a bar chart.,
2362,Plot the distribution of PM2.5 values in Odisha across all years using a histogram.,
2363,Show the monthly average PM2.5 for Patna in 2020 as a line chart with area fill.,
2364,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2020, with a regression trend line.",
2365,"Visualize the monthly average PM10 for Chhattisgarh, Haryana, and Rajasthan in 2018 as a multi-line chart.",
2366,"Compare the monthly average PM2.5 of Mandi Gobindgarh, Madurai, and Lucknow in 2020 as a multi-line chart.",
2367,Show the monthly average PM2.5 for Kohima in 2018 as a line chart with area fill.,
2368,"Visualize the monthly average PM10 for Chandigarh, Rajasthan, and Sikkim in 2024 as a multi-line chart.",
2369,"Plot the yearly average PM2.5 trends for Chhattisgarh, Manipur, and West Bengal from 2017 to 2024 on a single multi-line chart.",
2370,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Rajasthan, and Manipur across 2021, 2022, 2023, and 2024.",
2371,Show a cumulative area chart of PM2.5 readings for Amaravati across 2021.,
2372,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Uttarakhand, and Assam from 2017 to 2024 on a single multi-line chart.",
2373,Show the monthly average PM2.5 for Brajrajnagar in 2024 as a line chart with area fill.,
2374,"Visualize the monthly average PM10 for Tamil Nadu, Jharkhand, and Tamil Nadu in 2018 as a multi-line chart.",
2375,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2021.,
2376,"Visualize the monthly average PM10 for Punjab, Madhya Pradesh, and Gujarat in 2017 as a multi-line chart.",
2377,"Visualize the monthly average PM10 for Puducherry, Mizoram, and Assam in 2022 as a multi-line chart.",
2378,Show a bar chart of the top 12 cities by median PM2.5 in 2023.,
2379,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Chhattisgarh, and Himachal Pradesh across 2020, 2021, 2022, and 2023.",
2380,Show the monthly average PM2.5 for Mumbai in 2023 as a line chart with area fill.,
2381,"Compare the monthly average PM2.5 of Jalgaon, Naharlagun, and Talcher in 2020 as a multi-line chart.",
2382,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Karnataka, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
2383,"Visualize the monthly average PM10 for Manipur, Manipur, and Chhattisgarh in 2022 as a multi-line chart.",
2384,Show the monthly average PM10 trend for Tonk from 2019 to 2024 as a line chart.,
2385,"Visualize the monthly average PM10 for Uttarakhand, Kerala, and Manipur in 2021 as a multi-line chart.",
2386,"Plot the yearly average PM2.5 trends for Sikkim, Tripura, and Kerala from 2017 to 2024 on a single multi-line chart.",
2387,"Plot the yearly average PM2.5 trends for Jharkhand, Jammu and Kashmir, and Arunachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2388,Show the monthly average PM10 trend for Thane from 2019 to 2024 as a line chart.,
2389,Show a cumulative area chart of PM2.5 readings for Rupnagar across 2018.,
2390,"Visualize the monthly average PM10 for Arunachal Pradesh, Karnataka, and Bihar in 2019 as a multi-line chart.",
2391,Show the monthly average PM10 trend for Mandideep from 2019 to 2024 as a line chart.,
2392,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Tamil Nadu, and West Bengal across 2021, 2022, 2023, and 2024.",
2393,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Himachal Pradesh, and Telangana from 2017 to 2024 on a single multi-line chart.",
2394,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 13 most polluted states.,
2395,Show the monthly average PM10 trend for Jind from 2017 to 2022 as a line chart.,
2396,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2017, with a regression trend line.",
2397,Show the monthly average PM10 trend for Gangtok from 2019 to 2024 as a line chart.,
2398,"Visualize the monthly average PM10 for Tamil Nadu, Chhattisgarh, and Punjab in 2019 as a multi-line chart.",
2399,"Compare the monthly average PM2.5 of Varanasi, Charkhi Dadri, and Palwal in 2022 as a multi-line chart.",
2400,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Meghalaya, and Mizoram across 2017, 2018, 2019, and 2020.",
2401,Show the monthly average PM2.5 for Ludhiana in 2019 as a line chart with area fill.,
2402,Plot the rolling 30-day average PM2.5 for Rajasthan in 2022 as a line chart.,
2403,"Visualize the monthly average PM10 for Arunachal Pradesh, Meghalaya, and Andhra Pradesh in 2018 as a multi-line chart.",
2404,"Compare the monthly average PM2.5 of Pune, Rupnagar, and Karauli in 2020 as a multi-line chart.",
2405,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Gujarat.,
2406,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Nagaland, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2407,Plot the monthly average PM2.5 trend for Chhattisgarh from 2017 to 2024 as a line chart.,
2408,"Visualize the monthly average PM10 for Mizoram, Andhra Pradesh, and Telangana in 2017 as a multi-line chart.",
2409,Show a cumulative area chart of PM2.5 readings for Visakhapatnam across 2022.,
2410,Show the monthly average PM2.5 for Gangtok in 2024 as a line chart with area fill.,
2411,Show the monthly average PM10 trend for Virar from 2019 to 2024 as a line chart.,
2412,Plot the rolling 30-day average PM2.5 for Rajasthan in 2018 as a line chart.,
2413,"Plot a scatter chart of state-level average PM2.5 versus population for 2021, with point size representing area.",
2414,"Compare the monthly average PM2.5 of Mira-Bhayandar, Tumakuru, and Mandideep in 2018 as a multi-line chart.",
2415,Show the monthly average PM10 trend for Mangalore from 2017 to 2022 as a line chart.,
2416,Plot the weekly average PM2.5 for Karnal in 2020 as a line chart.,
2417,Plot a grouped bar chart of average PM10 by season and year (2020–2023) for all of India.,
2418,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2024.,
2419,Show the monthly average PM2.5 for Rourkela in 2018 as a line chart with area fill.,
2420,"Scatter plot PM2.5 vs PM10 for Chhattisgarh stations in 2019, with a regression trend line.",
2421,"Visualize the monthly average PM10 for Mizoram, Kerala, and Puducherry in 2022 as a multi-line chart.",
2422,"Compare the monthly average PM2.5 of Solapur, Ambala, and Ramanagara in 2024 as a multi-line chart.",
2423,"Compare the monthly average PM2.5 of Chittorgarh, Kishanganj, and Vatva in 2023 as a multi-line chart.",
2424,Plot the weekly average PM2.5 for Amaravati in 2017 as a line chart.,
2425,Show a box plot of PM2.5 distribution for each state in 2021.,
2426,Plot the rolling 30-day average PM2.5 for Himachal Pradesh in 2017 as a line chart.,
2427,Show the monthly average PM10 trend for Nandesari from 2017 to 2022 as a line chart.,
2428,Show a bar chart of the top 11 cities by median PM2.5 in 2019.,
2429,Show the monthly average PM2.5 for Chengalpattu in 2018 as a line chart with area fill.,
2430,"Compare the monthly average PM2.5 of Buxar, Prayagraj, and Ghaziabad in 2024 as a multi-line chart.",
2431,"Visualize the monthly average PM10 for Chhattisgarh, Telangana, and Telangana in 2024 as a multi-line chart.",
2432,"Compare the monthly average PM2.5 of Gangtok, Rohtak, and Hubballi in 2018 as a multi-line chart.",
2433,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Sikkim, and Tamil Nadu from 2017 to 2024 on a single multi-line chart.",
2434,"Compare the monthly average PM2.5 of Jaipur, Davanagere, and Bharatpur in 2023 as a multi-line chart.",
2435,"Create a grouped bar chart comparing the average PM2.5 for Bihar, West Bengal, and Himachal Pradesh across 2019, 2020, 2021, and 2022.",
2436,Plot the rolling 30-day average PM2.5 for Karnataka in 2023 as a line chart.,
2437,"Visualize the monthly average PM10 for Puducherry, Tripura, and Uttarakhand in 2021 as a multi-line chart.",
2438,Show a monthly bar chart of the number of days Tripura exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
2439,"Visualize the monthly average PM10 for Delhi, Arunachal Pradesh, and Telangana in 2018 as a multi-line chart.",
2440,"Create a faceted bar chart showing top 11 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
2441,"Visualize the monthly average PM10 for Karnataka, Mizoram, and Punjab in 2023 as a multi-line chart.",
2442,"Scatter plot PM2.5 vs PM10 for Delhi stations in 2024, with a regression trend line.",
2443,Plot the top 15 states by average PM2.5 in 2023 as a horizontal bar chart.,
2444,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Manipur, and Arunachal Pradesh across 2021, 2022, 2023, and 2024.",
2445,Show the monthly average PM2.5 for Belapur in 2018 as a line chart with area fill.,
2446,Show a bar chart of the top 14 cities by median PM2.5 in 2024.,
2447,Plot the weekly average PM2.5 for Bengaluru in 2022 as a line chart.,
2448,Show the monthly average PM2.5 for Haveri in 2019 as a line chart with area fill.,
2449,"Scatter plot PM2.5 vs PM10 for Maharashtra stations in 2021, with a regression trend line.",
2450,Show the PM2.5 per 1000 km² (air quality density) for each state in 2017 as a bar chart.,
2451,"Scatter plot PM2.5 vs PM10 for Assam stations in 2024, with a regression trend line.",
2452,"Create a grouped bar chart comparing the average PM2.5 for Tamil Nadu, Bihar, and Punjab across 2017, 2018, 2019, and 2020.",
2453,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Jharkhand, and West Bengal across 2020, 2021, 2022, and 2023.",
2454,Plot the weekly average PM2.5 for Tirupur in 2023 as a line chart.,
2455,Show a cumulative area chart of PM2.5 readings for Vijayawada across 2019.,
2456,Show a monthly bar chart of the number of days Puducherry exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2457,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2023.,
2458,"Plot the yearly average PM2.5 trends for Rajasthan, Meghalaya, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2459,Plot the weekly average PM2.5 for Bhopal in 2024 as a line chart.,
2460,"Plot the yearly average PM2.5 trends for Assam, Uttarakhand, and Haryana from 2017 to 2024 on a single multi-line chart.",
2461,Plot the weekly average PM2.5 for Hubballi in 2021 as a line chart.,
2462,Show the monthly average PM2.5 for Dharwad in 2023 as a line chart with area fill.,
2463,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Haryana, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2464,Show the monthly average PM10 trend for Pune from 2017 to 2022 as a line chart.,
2465,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2018, with a regression trend line.",
2466,"Visualize the monthly average PM10 for Uttarakhand, Sikkim, and Andhra Pradesh in 2018 as a multi-line chart.",
2467,Show the monthly average PM2.5 for Sivasagar in 2018 as a line chart with area fill.,
2468,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2024.,
2469,Show a monthly bar chart of the number of days Delhi exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2470,"Visualize the monthly average PM10 for Kerala, Maharashtra, and Bihar in 2023 as a multi-line chart.",
2471,"Visualize the monthly average PM10 for Bihar, Jharkhand, and Karnataka in 2024 as a multi-line chart.",
2472,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2473,"Create a faceted bar chart showing top 10 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2474,"Plot the yearly average PM2.5 trends for Punjab, Haryana, and Andhra Pradesh from 2017 to 2024 on a single multi-line chart.",
2475,"Show the top 8 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
2476,"Visualize the monthly average PM10 for Manipur, Telangana, and Punjab in 2019 as a multi-line chart.",
2477,Show a cumulative area chart of PM2.5 readings for Madikeri across 2021.,
2478,Show a monthly bar chart of the number of days Jammu and Kashmir exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2479,Show the PM2.5 per 1000 km² (air quality density) for each state in 2023 as a bar chart.,
2480,Show the monthly average PM10 trend for Imphal from 2017 to 2022 as a line chart.,
2481,Bar chart of PM2.5 per capita (average PM2.5 × 1000 / population) for each state in 2018.,
2482,Plot the average PM2.5 across all states in February 2022 as a horizontal bar chart.,
2483,Show the monthly average PM2.5 for Ramanathapuram in 2018 as a line chart with area fill.,
2484,Plot the weekly average PM2.5 for Mumbai in 2024 as a line chart.,
2485,Plot the weekly average PM2.5 for Hajipur in 2023 as a line chart.,
2486,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Meghalaya, and Sikkim across 2017, 2018, 2019, and 2020.",
2487,Show the monthly average PM2.5 for Nanded in 2019 as a line chart with area fill.,
2488,"Show the top 5 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
2489,Plot the weekly average PM2.5 for Nagpur in 2020 as a line chart.,
2490,"Plot the yearly average PM2.5 trends for Meghalaya, Karnataka, and Assam from 2017 to 2024 on a single multi-line chart.",
2491,"Compare the monthly average PM2.5 of Saharsa, Solapur, and Fatehabad in 2020 as a multi-line chart.",
2492,"Show the top 10 states by average PM10 in 2019 as a bar chart, sorted in descending order.",
2493,"Compare the monthly average PM2.5 of Kadapa, Jorapokhar, and Kadapa in 2023 as a multi-line chart.",
2494,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Delhi, and Manipur across 2021, 2022, 2023, and 2024.",
2495,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Jharkhand, and Assam across 2021, 2022, 2023, and 2024.",
2496,Plot the rolling 30-day average PM2.5 for Himachal Pradesh in 2022 as a line chart.,
2497,"Visualize the monthly average PM10 for Odisha, Uttarakhand, and Kerala in 2024 as a multi-line chart.",
2498,"Compare the monthly average PM2.5 of Gangtok, Gandhinagar, and Nanded in 2022 as a multi-line chart.",
2499,"Plot the yearly average PM2.5 trends for Rajasthan, Tripura, and Odisha from 2017 to 2024 on a single multi-line chart.",
2500,"Compare the monthly average PM2.5 of Kadapa, Baddi, and Dharuhera in 2024 as a multi-line chart.",
2501,Plot the distribution of PM2.5 values in Uttar Pradesh across all years using a histogram.,
2502,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Odisha, and Uttarakhand across 2019, 2020, 2021, and 2022.",
2503,"Show the top 10 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
2504,"Visualize the monthly average PM10 for Sikkim, Kerala, and Gujarat in 2023 as a multi-line chart.",
2505,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Jammu and Kashmir, and Andhra Pradesh across 2017, 2018, 2019, and 2020.",
2506,Create a grouped bar chart comparing the average PM2.5 in Winter vs Summer for the top 12 most polluted states.,
2507,Plot the monthly average PM2.5 trend for Manipur from 2017 to 2024 as a line chart.,
2508,"Compare the monthly average PM2.5 of Alwar, Varanasi, and Rairangpur in 2018 as a multi-line chart.",
2509,Show the monthly average PM2.5 for Haveri in 2017 as a line chart with area fill.,
2510,"Plot the yearly average PM2.5 trends for Assam, Bihar, and Kerala from 2017 to 2024 on a single multi-line chart.",
2511,"Scatter plot PM2.5 vs PM10 for Karnataka stations in 2021, with a regression trend line.",
2512,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Rajasthan, and Andhra Pradesh across 2021, 2022, 2023, and 2024.",
2513,Show the monthly average PM2.5 for Tirupur in 2022 as a line chart with area fill.,
2514,Show the monthly average PM2.5 for Barmer in 2023 as a line chart with area fill.,
2515,Plot the weekly average PM2.5 for Aurangabad in 2019 as a line chart.,
2516,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Gujarat, and West Bengal across 2021, 2022, 2023, and 2024.",
2517,"Plot the yearly average PM2.5 trends for Delhi, Himachal Pradesh, and Karnataka from 2017 to 2024 on a single multi-line chart.",
2518,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Himachal Pradesh, and Odisha across 2017, 2018, 2019, and 2020.",
2519,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Uttar Pradesh, and Assam across 2019, 2020, 2021, and 2022.",
2520,"Compare the monthly average PM2.5 of Coimbatore, Nagaon, and Kolhapur in 2020 as a multi-line chart.",
2521,"Create a bubble chart of PM2.5 vs area for each state in 2019, sized by population.",
2522,Plot the distribution of PM2.5 values in Telangana across all years using a histogram.,
2523,"Plot the yearly average PM2.5 trends for Nagaland, Assam, and Punjab from 2017 to 2024 on a single multi-line chart.",
2524,Plot the monthly average PM2.5 trend for Puducherry from 2017 to 2024 as a line chart.,
2525,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Himachal Pradesh.,
2526,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Jharkhand, and Delhi across 2017, 2018, 2019, and 2020.",
2527,"Visualize the monthly average PM10 for Mizoram, Maharashtra, and Karnataka in 2019 as a multi-line chart.",
2528,Plot the rolling 30-day average PM2.5 for Tripura in 2017 as a line chart.,
2529,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Rajasthan, and West Bengal across 2019, 2020, 2021, and 2022.",
2530,Show a cumulative area chart of PM2.5 readings for Pali across 2024.,
2531,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Meghalaya, and Delhi from 2017 to 2024 on a single multi-line chart.",
2532,"Plot the yearly average PM2.5 trends for Delhi, Jharkhand, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2533,Show the monthly average PM2.5 for Manguraha in 2017 as a line chart with area fill.,
2534,Show a monthly bar chart of the number of days Jammu and Kashmir exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2535,Show a monthly bar chart of the number of days Uttarakhand exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2536,Show the monthly average PM2.5 for Nagaon in 2018 as a line chart with area fill.,
2537,"Scatter plot PM2.5 vs PM10 for Jammu and Kashmir stations in 2021, with a regression trend line.",
2538,"Create a faceted bar chart showing top 15 states by average PM2.5 per year for 2019, 2020, 2021, and 2022.",
2539,"Compare the monthly average PM2.5 of Mysuru, Rishikesh, and Chandrapur in 2022 as a multi-line chart.",
2540,Visualize the bottom 7 states with the lowest average PM2.5 in 2018 using a horizontal bar chart.,
2541,Show the monthly average PM10 trend for Sirsa from 2017 to 2022 as a line chart.,
2542,"Scatter plot PM2.5 vs PM10 for Madhya Pradesh stations in 2017, with a regression trend line.",
2543,Show the monthly average PM10 trend for Bahadurgarh from 2019 to 2024 as a line chart.,
2544,Plot the rolling 30-day average PM2.5 for Gujarat in 2019 as a line chart.,
2545,"Plot the yearly average PM2.5 trends for Manipur, Uttarakhand, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2546,"Compare the monthly average PM2.5 of Hassan, Barrackpore, and Silchar in 2023 as a multi-line chart.",
2547,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
2548,Show a heatmap of average PM2.5 for the top 8 most polluted states by month for 2017.,
2549,Plot the rolling 30-day average PM2.5 for Delhi in 2022 as a line chart.,
2550,Plot the rolling 30-day average PM2.5 for Delhi in 2024 as a line chart.,
2551,Plot the monthly average PM2.5 trend for Haryana from 2017 to 2024 as a line chart.,
2552,Show the monthly average PM10 trend for Katni from 2019 to 2024 as a line chart.,
2553,"Visualize the monthly average PM10 for Kerala, Tripura, and Tripura in 2019 as a multi-line chart.",
2554,Plot the weekly average PM2.5 for Panipat in 2023 as a line chart.,
2555,Show the monthly average PM2.5 for Fatehabad in 2022 as a line chart with area fill.,
2556,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Nagaland, and Assam from 2017 to 2024 on a single multi-line chart.",
2557,"Plot the yearly average PM2.5 trends for Karnataka, Arunachal Pradesh, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
2558,Show the monthly average PM10 trend for Shivamogga from 2019 to 2024 as a line chart.,
2559,Plot the weekly average PM2.5 for Amritsar in 2021 as a line chart.,
2560,Show the monthly average PM2.5 for Bharatpur in 2020 as a line chart with area fill.,
2561,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2021.,
2562,Show the monthly average PM10 trend for Khanna from 2017 to 2022 as a line chart.,
2563,"Create a grouped bar chart comparing the average PM2.5 for Madhya Pradesh, Meghalaya, and Mizoram across 2021, 2022, 2023, and 2024.",
2564,Show the monthly average PM2.5 for Ankleshwar in 2023 as a line chart with area fill.,
2565,"Compare the monthly average PM2.5 of Begusarai, Jorapokhar, and Kolar in 2024 as a multi-line chart.",
2566,Show the monthly average PM2.5 for Pudukottai in 2024 as a line chart with area fill.,
2567,Plot the weekly average PM2.5 for Rohtak in 2019 as a line chart.,
2568,"Show the top 15 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
2569,Show a cumulative area chart of PM2.5 readings for Bulandshahr across 2024.,
2570,"Compare the monthly average PM2.5 of Karauli, Brajrajnagar, and Hosur in 2023 as a multi-line chart.",
2571,Show a bar chart of the top 14 cities by median PM2.5 in 2018.,
2572,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Mizoram, and Bihar from 2017 to 2024 on a single multi-line chart.",
2573,"Plot the yearly average PM2.5 trends for Karnataka, Maharashtra, and Manipur from 2017 to 2024 on a single multi-line chart.",
2574,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Delhi.,
2575,"Compare the monthly average PM2.5 of Virar, Tirupati, and Chhal in 2023 as a multi-line chart.",
2576,Plot the top 6 states by average PM2.5 in 2019 as a horizontal bar chart.,
2577,Plot the rolling 30-day average PM2.5 for Nagaland in 2019 as a line chart.,
2578,"Visualize the monthly average PM10 for Gujarat, Telangana, and Arunachal Pradesh in 2018 as a multi-line chart.",
2579,"Visualize the monthly average PM10 for Delhi, Himachal Pradesh, and Mizoram in 2017 as a multi-line chart.",
2580,Plot the top 5 states by average PM2.5 in 2023 as a horizontal bar chart.,
2581,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Assam, and Nagaland across 2019, 2020, 2021, and 2022.",
2582,Show the monthly average PM2.5 for Nagaur in 2023 as a line chart with area fill.,
2583,"Compare the monthly average PM2.5 of Hajipur, Karwar, and Davanagere in 2024 as a multi-line chart.",
2584,Show the monthly average PM2.5 for Visakhapatnam in 2020 as a line chart with area fill.,
2585,Show a monthly bar chart of the number of days Maharashtra exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
2586,Show the monthly average PM2.5 for Jhalawar in 2023 as a line chart with area fill.,
2587,Show a monthly bar chart of the number of days Uttarakhand exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2588,Visualize the bottom 15 states with the lowest average PM2.5 in 2023 using a horizontal bar chart.,
2589,"Visualize the monthly average PM10 for Chandigarh, Sikkim, and Karnataka in 2021 as a multi-line chart.",
2590,"Scatter plot PM2.5 vs PM10 for Telangana stations in 2020, with a regression trend line.",
2591,"Visualize the monthly average PM10 for Haryana, Arunachal Pradesh, and Jammu and Kashmir in 2024 as a multi-line chart.",
2592,"Compare the monthly average PM2.5 of Karwar, Sirohi, and Gandhinagar in 2022 as a multi-line chart.",
2593,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Haryana, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2594,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Meghalaya, and Himachal Pradesh across 2021, 2022, 2023, and 2024.",
2595,"Visualize the monthly average PM10 for Telangana, Tamil Nadu, and Manipur in 2024 as a multi-line chart.",
2596,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Meghalaya, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
2597,"Visualize the monthly average PM10 for Karnataka, Meghalaya, and Uttarakhand in 2023 as a multi-line chart.",
2598,Show the monthly average PM2.5 for Puducherry across each year from 2017 to 2024 as small multiples (faceted by year).,
2599,Show a cumulative area chart of PM2.5 readings for Jalandhar across 2023.,
2600,Show the monthly average PM2.5 for Baddi in 2017 as a line chart with area fill.,
2601,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2022.,
2602,"Visualize the monthly average PM10 for Haryana, Odisha, and Puducherry in 2022 as a multi-line chart.",
2603,"Show the top 12 states by average PM10 in 2023 as a bar chart, sorted in descending order.",
2604,Show the monthly average PM10 trend for Sawai Madhopur from 2019 to 2024 as a line chart.,
2605,Show the monthly average PM10 trend for Ambala from 2019 to 2024 as a line chart.,
2606,Plot the weekly average PM2.5 for Pune in 2020 as a line chart.,
2607,Show the monthly average PM10 trend for Parbhani from 2019 to 2024 as a line chart.,
2608,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2021.,
2609,Plot the distribution of PM2.5 values in Kerala across all years using a histogram.,
2610,"Plot the yearly average PM2.5 trends for Meghalaya, Mizoram, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
2611,Show a scatter plot of total NCAP funding vs average PM2.5 (2023) per state.,
2612,Plot the weekly average PM2.5 for Noida in 2017 as a line chart.,
2613,"Plot the yearly average PM2.5 trends for Meghalaya, Jharkhand, and Tripura from 2017 to 2024 on a single multi-line chart.",
2614,"Visualize the monthly average PM10 for Punjab, Delhi, and Arunachal Pradesh in 2024 as a multi-line chart.",
2615,Show the monthly average PM10 trend for Belgaum from 2019 to 2024 as a line chart.,
2616,"Plot the yearly average PM2.5 trends for Bihar, Rajasthan, and Gujarat from 2017 to 2024 on a single multi-line chart.",
2617,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Gujarat, and Himachal Pradesh across 2017, 2018, 2019, and 2020.",
2618,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Tripura, and Bihar across 2021, 2022, 2023, and 2024.",
2619,"Plot the yearly average PM2.5 trends for Tripura, Jammu and Kashmir, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2620,Show a box plot of PM2.5 distribution for each state in 2023.,
2621,Show the monthly average PM2.5 for Chandigarh across each year from 2017 to 2024 as small multiples (faceted by year).,
2622,"Compare the monthly average PM2.5 of Meerut, Howrah, and Gorakhpur in 2020 as a multi-line chart.",
2623,Plot the rolling 30-day average PM2.5 for Jammu and Kashmir in 2020 as a line chart.,
2624,"Plot the yearly average PM2.5 trends for Tripura, Meghalaya, and Telangana from 2017 to 2024 on a single multi-line chart.",
2625,"Plot the yearly average PM2.5 trends for West Bengal, Sikkim, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2626,Show the monthly average PM10 trend for Navi Mumbai from 2019 to 2024 as a line chart.,
2627,Show a heatmap of average PM2.5 for the top 12 most polluted states by month for 2021.,
2628,Show the monthly average PM10 trend for Rajamahendravaram from 2019 to 2024 as a line chart.,
2629,"Visualize the monthly average PM10 for Manipur, Tamil Nadu, and Haryana in 2024 as a multi-line chart.",
2630,Visualize the bottom 11 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
2631,"Visualize the monthly average PM10 for Punjab, Sikkim, and Maharashtra in 2017 as a multi-line chart.",
2632,"Compare the monthly average PM2.5 of Prayagraj, Narnaul, and Udupi in 2024 as a multi-line chart.",
2633,Show a bar chart of the top 15 cities by median PM2.5 in 2020.,
2634,Plot the rolling 30-day average PM2.5 for Telangana in 2020 as a line chart.,
2635,Show a monthly bar chart of the number of days Haryana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2018.,
2636,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Himachal Pradesh, and Bihar across 2019, 2020, 2021, and 2022.",
2637,"Create a faceted bar chart showing top 8 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2638,"Compare the monthly average PM2.5 of Indore, Dholpur, and Singrauli in 2024 as a multi-line chart.",
2639,"Compare the monthly average PM2.5 of Ulhasnagar, Badlapur, and Panipat in 2019 as a multi-line chart.",
2640,"Visualize the monthly average PM10 for Puducherry, Mizoram, and Punjab in 2019 as a multi-line chart.",
2641,Show the monthly average PM2.5 for Tumidih in 2023 as a line chart with area fill.,
2642,Plot the weekly average PM2.5 for Vijayawada in 2019 as a line chart.,
2643,"Compare the monthly average PM2.5 of Rajgir, Gurugram, and Vijayapura in 2024 as a multi-line chart.",
2644,Show a cumulative area chart of PM2.5 readings for Pali across 2023.,
2645,Visualize the bottom 7 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
2646,Show the monthly average PM2.5 for Chhal in 2019 as a line chart with area fill.,
2647,Show the monthly average PM2.5 for Punjab across each year from 2017 to 2024 as small multiples (faceted by year).,
2648,"Scatter plot PM2.5 vs PM10 for Puducherry stations in 2020, with a regression trend line.",
2649,"Scatter plot PM2.5 vs PM10 for Rajasthan stations in 2024, with a regression trend line.",
2650,"Compare the monthly average PM2.5 of Malegaon, Alwar, and Fatehabad in 2023 as a multi-line chart.",
2651,"Visualize the monthly average PM10 for Madhya Pradesh, Kerala, and Tripura in 2024 as a multi-line chart.",
2652,Plot the rolling 30-day average PM2.5 for Tripura in 2022 as a line chart.,
2653,Show a cumulative area chart of PM2.5 readings for Tumakuru across 2024.,
2654,"Visualize the monthly average PM10 for Meghalaya, Assam, and Rajasthan in 2022 as a multi-line chart.",
2655,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2019.,
2656,"Plot the yearly average PM2.5 trends for Chandigarh, West Bengal, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2657,Plot the weekly average PM2.5 for Pali in 2018 as a line chart.,
2658,Show the monthly average PM2.5 for Dhule in 2024 as a line chart with area fill.,
2659,Visualize the bottom 5 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
2660,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Manipur, and Puducherry across 2017, 2018, 2019, and 2020.",
2661,Plot the rolling 30-day average PM2.5 for Sikkim in 2024 as a line chart.,
2662,"Compare the monthly average PM2.5 of Munger, Nagpur, and Hisar in 2022 as a multi-line chart.",
2663,"Visualize the monthly average PM10 for Nagaland, Maharashtra, and Tripura in 2017 as a multi-line chart.",
2664,"Create a grouped bar chart comparing the average PM2.5 for Tripura, Kerala, and Kerala across 2021, 2022, 2023, and 2024.",
2665,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Chandigarh, and Chandigarh across 2020, 2021, 2022, and 2023.",
2666,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Arunachal Pradesh.,
2667,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Manipur, and Assam across 2019, 2020, 2021, and 2022.",
2668,Plot the rolling 30-day average PM2.5 for Andhra Pradesh in 2017 as a line chart.,
2669,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Kerala, and Sikkim across 2017, 2018, 2019, and 2020.",
2670,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Jammu and Kashmir, and Assam across 2020, 2021, 2022, and 2023.",
2671,"Plot the yearly average PM2.5 trends for Chandigarh, Kerala, and Gujarat from 2017 to 2024 on a single multi-line chart.",
2672,"Compare the monthly average PM2.5 of Kolkata, Gangtok, and Ahmednagar in 2018 as a multi-line chart.",
2673,"Plot the yearly average PM2.5 trends for Mizoram, Arunachal Pradesh, and Chhattisgarh from 2017 to 2024 on a single multi-line chart.",
2674,"Plot the yearly average PM2.5 trends for Mizoram, Madhya Pradesh, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2675,Plot the rolling 30-day average PM2.5 for Punjab in 2019 as a line chart.,
2676,Show the monthly average PM10 trend for Faridabad from 2019 to 2024 as a line chart.,
2677,"Plot the yearly average PM2.5 trends for Puducherry, Jammu and Kashmir, and Bihar from 2017 to 2024 on a single multi-line chart.",
2678,Show a cumulative area chart of PM2.5 readings for Bulandshahr across 2019.,
2679,Show the monthly average PM2.5 for Bilaspur in 2019 as a line chart with area fill.,
2680,Show the monthly average PM10 trend for Ghaziabad from 2019 to 2024 as a line chart.,
2681,"Create a grouped bar chart comparing the average PM2.5 for Mizoram, Nagaland, and Uttar Pradesh across 2020, 2021, 2022, and 2023.",
2682,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2023.,
2683,Show the monthly average PM2.5 for Gorakhpur in 2019 as a line chart with area fill.,
2684,Show the monthly average PM2.5 for Nagapattinam in 2020 as a line chart with area fill.,
2685,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2023 as a line chart.,
2686,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Nagaland, and Mizoram across 2021, 2022, 2023, and 2024.",
2687,Show the monthly average PM2.5 for Barrackpore in 2019 as a line chart with area fill.,
2688,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Nagaland, and West Bengal from 2017 to 2024 on a single multi-line chart.",
2689,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Sikkim, and Kerala from 2017 to 2024 on a single multi-line chart.",
2690,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Rajasthan, and Chandigarh across 2020, 2021, 2022, and 2023.",
2691,Show the monthly average PM2.5 for Tamil Nadu across each year from 2017 to 2024 as small multiples (faceted by year).,
2692,Show a bar chart of the top 7 cities by median PM2.5 in 2018.,
2693,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2018.,
2694,"Visualize the monthly average PM10 for Madhya Pradesh, Karnataka, and Uttar Pradesh in 2023 as a multi-line chart.",
2695,Visualize the bottom 10 states with the lowest average PM2.5 in 2017 using a horizontal bar chart.,
2696,Show a cumulative area chart of PM2.5 readings for Bareilly across 2023.,
2697,"Plot the yearly average PM2.5 trends for Tripura, Jharkhand, and Uttar Pradesh from 2017 to 2024 on a single multi-line chart.",
2698,Show the monthly average PM10 trend for Chikkamagaluru from 2017 to 2022 as a line chart.,
2699,Show a monthly bar chart of the number of days Tamil Nadu exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2700,"Compare the monthly average PM2.5 of Greater Noida, Ghaziabad, and Gangtok in 2017 as a multi-line chart.",
2701,"Create a bubble chart of PM2.5 vs area for each state in 2021, sized by population.",
2702,"Create a faceted bar chart showing top 5 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2703,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Chandigarh, and Jharkhand across 2020, 2021, 2022, and 2023.",
2704,Show a cumulative area chart of PM2.5 readings for Jalandhar across 2018.,
2705,"Plot the yearly average PM2.5 trends for Odisha, Punjab, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2706,Show a cumulative area chart of PM2.5 readings for Sagar across 2023.,
2707,Show a box plot of PM2.5 distribution for each state in 2020.,
2708,Plot the weekly average PM2.5 for Chittorgarh in 2024 as a line chart.,
2709,Show the monthly average PM2.5 for Sivasagar in 2024 as a line chart with area fill.,
2710,"Compare the monthly average PM2.5 of Ballabgarh, Jhalawar, and Sirohi in 2022 as a multi-line chart.",
2711,Plot the rolling 30-day average PM2.5 for Sikkim in 2019 as a line chart.,
2712,"Scatter plot PM2.5 vs PM10 for Kerala stations in 2023, with a regression trend line.",
2713,"Create a grouped bar chart comparing the average PM2.5 for Delhi, Puducherry, and Jammu and Kashmir across 2021, 2022, 2023, and 2024.",
2714,"Create a grouped bar chart comparing the average PM2.5 for Puducherry, Andhra Pradesh, and Mizoram across 2019, 2020, 2021, and 2022.",
2715,Plot the rolling 30-day average PM2.5 for Arunachal Pradesh in 2017 as a line chart.,
2716,Show the monthly average PM10 trend for Kohima from 2019 to 2024 as a line chart.,
2717,Plot the weekly average PM2.5 for Motihari in 2021 as a line chart.,
2718,Show the monthly average PM10 trend for Jaipur from 2019 to 2024 as a line chart.,
2719,Plot the rolling 30-day average PM2.5 for Meghalaya in 2017 as a line chart.,
2720,"Show the top 12 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
2721,Plot the rolling 30-day average PM2.5 for Chandigarh in 2024 as a line chart.,
2722,"Visualize the monthly average PM10 for Maharashtra, Uttarakhand, and Arunachal Pradesh in 2017 as a multi-line chart.",
2723,"Plot the yearly average PM2.5 trends for Puducherry, Himachal Pradesh, and Delhi from 2017 to 2024 on a single multi-line chart.",
2724,Show a monthly bar chart of the number of days Telangana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2725,"Plot the yearly average PM2.5 trends for Tamil Nadu, Arunachal Pradesh, and Manipur from 2017 to 2024 on a single multi-line chart.",
2726,Show a box plot of PM2.5 distribution for each state in 2024.,
2727,Visualize the bottom 10 states with the lowest average PM2.5 in 2021 using a horizontal bar chart.,
2728,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Chandigarh, and Assam from 2017 to 2024 on a single multi-line chart.",
2729,Plot the weekly average PM2.5 for Kollam in 2021 as a line chart.,
2730,"Create a faceted bar chart showing top 9 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2731,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Meghalaya, and Uttar Pradesh across 2017, 2018, 2019, and 2020.",
2732,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Jammu and Kashmir, and Gujarat across 2019, 2020, 2021, and 2022.",
2733,Show a monthly bar chart of the number of days Bihar exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2734,"Plot the yearly average PM2.5 trends for Chhattisgarh, Delhi, and Assam from 2017 to 2024 on a single multi-line chart.",
2735,"Visualize the monthly average PM10 for Punjab, Madhya Pradesh, and Maharashtra in 2019 as a multi-line chart.",
2736,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2019.,
2737,"Plot the yearly average PM2.5 trends for Rajasthan, Maharashtra, and Delhi from 2017 to 2024 on a single multi-line chart.",
2738,Show a monthly bar chart of the number of days Bihar exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2739,Plot the weekly average PM2.5 for Jalna in 2023 as a line chart.,
2740,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Haryana, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2741,Show a heatmap of average PM2.5 for the top 5 most polluted states by month for 2021.,
2742,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Maharashtra, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2743,Plot the weekly average PM2.5 for Tirupati in 2021 as a line chart.,
2744,"Plot the yearly average PM2.5 trends for Punjab, Uttar Pradesh, and Haryana from 2017 to 2024 on a single multi-line chart.",
2745,"Scatter plot PM2.5 vs PM10 for Chandigarh stations in 2021, with a regression trend line.",
2746,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Haryana, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
2747,"Plot the yearly average PM2.5 trends for Puducherry, Telangana, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2748,"Create a grouped bar chart comparing the average PM2.5 for Uttar Pradesh, Tamil Nadu, and Gujarat across 2021, 2022, 2023, and 2024.",
2749,"Plot the yearly average PM2.5 trends for Uttarakhand, Madhya Pradesh, and Assam from 2017 to 2024 on a single multi-line chart.",
2750,Show the monthly average PM10 trend for Barrackpore from 2019 to 2024 as a line chart.,
2751,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Gujarat, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
2752,"Visualize the monthly average PM10 for Karnataka, Puducherry, and Nagaland in 2019 as a multi-line chart.",
2753,"Compare the monthly average PM2.5 of Jhunjhunu, Cuddalore, and Rohtak in 2022 as a multi-line chart.",
2754,Plot the distribution of PM2.5 values in Assam across all years using a histogram.,
2755,Show the monthly average PM2.5 for Prayagraj in 2017 as a line chart with area fill.,
2756,Show the monthly average PM10 trend for Pratapgarh from 2019 to 2024 as a line chart.,
2757,Show the monthly average PM10 trend for Dindigul from 2017 to 2022 as a line chart.,
2758,"Show the top 10 states by average PM10 in 2022 as a bar chart, sorted in descending order.",
2759,"Create a grouped bar chart comparing the average PM2.5 for Nagaland, Maharashtra, and Telangana across 2020, 2021, 2022, and 2023.",
2760,"Compare the monthly average PM2.5 of Nagaur, Chamarajanagar, and Sawai Madhopur in 2023 as a multi-line chart.",
2761,Show the monthly average PM2.5 for Mumbai in 2024 as a line chart with area fill.,
2762,Visualize the bottom 14 states with the lowest average PM2.5 in 2022 using a horizontal bar chart.,
2763,"Plot the yearly average PM2.5 trends for Rajasthan, Chandigarh, and Karnataka from 2017 to 2024 on a single multi-line chart.",
2764,"Compare the monthly average PM2.5 of Muzaffarpur, Kaithal, and Nagpur in 2017 as a multi-line chart.",
2765,"Show the top 9 states by average PM10 in 2021 as a bar chart, sorted in descending order.",
2766,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Nagaland, and Chandigarh across 2019, 2020, 2021, and 2022.",
2767,Show the monthly average PM2.5 for Sirohi in 2020 as a line chart with area fill.,
2768,"Visualize the monthly average PM10 for Nagaland, Odisha, and Sikkim in 2018 as a multi-line chart.",
2769,Show a monthly bar chart of the number of days Meghalaya exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2024.,
2770,Show a heatmap of average PM2.5 for the top 14 most polluted states by month for 2022.,
2771,Show the monthly average PM2.5 for Mangalore in 2020 as a line chart with area fill.,
2772,"Plot the yearly average PM2.5 trends for Punjab, Delhi, and Karnataka from 2017 to 2024 on a single multi-line chart.",
2773,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Nagaland, and Rajasthan across 2021, 2022, 2023, and 2024.",
2774,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Mizoram, and Puducherry across 2017, 2018, 2019, and 2020.",
2775,Plot the top 13 states by average PM2.5 in 2023 as a horizontal bar chart.,
2776,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Madhya Pradesh, and Puducherry across 2021, 2022, 2023, and 2024.",
2777,Plot the rolling 30-day average PM2.5 for Gujarat in 2024 as a line chart.,
2778,Plot the weekly average PM2.5 for Jhalawar in 2023 as a line chart.,
2779,Plot the weekly average PM2.5 for Nalbari in 2024 as a line chart.,
2780,"Visualize the monthly average PM10 for Kerala, Rajasthan, and Tripura in 2024 as a multi-line chart.",
2781,"Show the top 7 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
2782,Show the monthly average PM2.5 for Panchkula in 2023 as a line chart with area fill.,
2783,"Compare the monthly average PM2.5 of Bathinda, Dindigul, and Belgaum in 2022 as a multi-line chart.",
2784,"Compare the monthly average PM2.5 of Karwar, Baran, and Dhanbad in 2023 as a multi-line chart.",
2785,Show the monthly average PM2.5 for Jaipur in 2023 as a line chart with area fill.,
2786,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Tamil Nadu, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2787,"Create a faceted bar chart showing top 14 states by average PM2.5 per year for 2017, 2018, 2019, and 2020.",
2788,Plot the top 14 states by average PM2.5 in 2018 as a horizontal bar chart.,
2789,"Plot the yearly average PM2.5 trends for Assam, Assam, and Sikkim from 2017 to 2024 on a single multi-line chart.",
2790,"Create a grouped bar chart comparing the average PM2.5 for Telangana, Delhi, and Jammu and Kashmir across 2020, 2021, 2022, and 2023.",
2791,Plot the yearly average PM2.5 for the top 14 most polluted states from 2017 to 2024 as a multi-line chart.,
2792,"Plot the yearly average PM2.5 trends for Manipur, Meghalaya, and Rajasthan from 2017 to 2024 on a single multi-line chart.",
2793,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Gujarat, and Assam across 2019, 2020, 2021, and 2022.",
2794,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Jammu and Kashmir, and Karnataka across 2021, 2022, 2023, and 2024.",
2795,Plot the rolling 30-day average PM2.5 for Tripura in 2024 as a line chart.,
2796,Plot the monthly average PM2.5 trend for Himachal Pradesh from 2017 to 2024 as a line chart.,
2797,"Plot the yearly average PM2.5 trends for Uttarakhand, Sikkim, and Delhi from 2017 to 2024 on a single multi-line chart.",
2798,"Plot the yearly average PM2.5 trends for Mizoram, Uttar Pradesh, and Assam from 2017 to 2024 on a single multi-line chart.",
2799,"Plot the yearly average PM2.5 trends for Jammu and Kashmir, Gujarat, and Telangana from 2017 to 2024 on a single multi-line chart.",
2800,Show a monthly bar chart of the number of days Gujarat exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2801,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Sikkim, and Chandigarh across 2017, 2018, 2019, and 2020.",
2802,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Telangana, and Tripura from 2017 to 2024 on a single multi-line chart.",
2803,"Scatter plot PM2.5 vs PM10 for Rajasthan stations in 2020, with a regression trend line.",
2804,Show a cumulative area chart of PM2.5 readings for Chandigarh across 2019.,
2805,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2020, with a regression trend line.",
2806,Plot the average PM2.5 across all states in February 2020 as a horizontal bar chart.,
2807,"Plot the yearly average PM2.5 trends for Mizoram, Manipur, and Madhya Pradesh from 2017 to 2024 on a single multi-line chart.",
2808,Plot the rolling 30-day average PM2.5 for Himachal Pradesh in 2020 as a line chart.,
2809,Show a heatmap of average PM2.5 for the top 6 most polluted states by month for 2019.,
2810,Plot the rolling 30-day average PM2.5 for Uttarakhand in 2018 as a line chart.,
2811,Show the monthly average PM10 trend for Tirunelveli from 2019 to 2024 as a line chart.,
2812,Show a heatmap of average PM2.5 for the top 11 most polluted states by month for 2023.,
2813,"Create a grouped bar chart comparing the average PM2.5 for Tripura, West Bengal, and Nagaland across 2019, 2020, 2021, and 2022.",
2814,"Visualize the monthly average PM10 for Punjab, Haryana, and Uttar Pradesh in 2020 as a multi-line chart.",
2815,"Plot the yearly average PM2.5 trends for Haryana, Manipur, and Meghalaya from 2017 to 2024 on a single multi-line chart.",
2816,Show the monthly average PM10 trend for Gummidipoondi from 2019 to 2024 as a line chart.,
2817,Show the monthly average PM2.5 for Thiruvananthapuram in 2017 as a line chart with area fill.,
2818,Show a cumulative area chart of PM2.5 readings for Bhiwadi across 2024.,
2819,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Tripura, and Delhi across 2017, 2018, 2019, and 2020.",
2820,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Karnataka.,
2821,"Visualize the monthly average PM10 for Tamil Nadu, Chhattisgarh, and Uttar Pradesh in 2024 as a multi-line chart.",
2822,Show the monthly average PM2.5 for Kunjemura in 2018 as a line chart with area fill.,
2823,Show a monthly bar chart of the number of days Meghalaya exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
2824,Visualize the bottom 7 states with the lowest average PM2.5 in 2019 using a horizontal bar chart.,
2825,Show the monthly average PM10 trend for Katni from 2017 to 2022 as a line chart.,
2826,"Plot the yearly average PM2.5 trends for Meghalaya, Uttarakhand, and Tripura from 2017 to 2024 on a single multi-line chart.",
2827,Show the monthly average PM10 trend for Sasaram from 2017 to 2022 as a line chart.,
2828,Show the monthly average PM2.5 for Tumakuru in 2017 as a line chart with area fill.,
2829,Visualize the bottom 12 states with the lowest average PM2.5 in 2020 using a horizontal bar chart.,
2830,"Compare the monthly average PM2.5 of Rajamahendravaram, Pratapgarh, and Sonipat in 2022 as a multi-line chart.",
2831,"Create a faceted bar chart showing top 15 states by average PM2.5 per year for 2021, 2022, 2023, and 2024.",
2832,"Create a grouped bar chart comparing the average PM2.5 for Uttarakhand, Sikkim, and Manipur across 2021, 2022, 2023, and 2024.",
2833,"Show the top 7 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
2834,Plot the weekly average PM2.5 for Bhiwadi in 2017 as a line chart.,
2835,"Plot the yearly average PM2.5 trends for Arunachal Pradesh, Jammu and Kashmir, and Mizoram from 2017 to 2024 on a single multi-line chart.",
2836,"Scatter plot PM2.5 vs PM10 for West Bengal stations in 2017, with a regression trend line.",
2837,Show a bar chart of the top 6 cities by median PM2.5 in 2023.,
2838,"Visualize the monthly average PM10 for Jharkhand, Assam, and Haryana in 2023 as a multi-line chart.",
2839,Show a monthly bar chart of the number of days Madhya Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2017.,
2840,Show the monthly average PM2.5 for Dausa in 2017 as a line chart with area fill.,
2841,"Visualize the monthly average PM10 for Maharashtra, Kerala, and Delhi in 2018 as a multi-line chart.",
2842,Visualize the bottom 6 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
2843,"Visualize the monthly average PM10 for Chandigarh, Meghalaya, and Karnataka in 2021 as a multi-line chart.",
2844,"Visualize the monthly average PM10 for Mizoram, Tamil Nadu, and Delhi in 2018 as a multi-line chart.",
2845,Show the monthly average PM2.5 for Mysuru in 2023 as a line chart with area fill.,
2846,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Madhya Pradesh, and West Bengal across 2021, 2022, 2023, and 2024.",
2847,Show PM2.5 exceedances above the Indian standard (60 µg/m³) per year as a bar chart for Manipur.,
2848,Show a cumulative area chart of PM2.5 readings for Dhule across 2023.,
2849,Show a cumulative area chart of PM2.5 readings for Rupnagar across 2022.,
2850,Show the monthly average PM10 trend for Chikkaballapur from 2017 to 2022 as a line chart.,
2851,"Plot the yearly average PM2.5 trends for Bihar, Madhya Pradesh, and Kerala from 2017 to 2024 on a single multi-line chart.",
2852,Show the monthly average PM2.5 for Aurangabad in 2020 as a line chart with area fill.,
2853,"Create a grouped bar chart comparing the average PM2.5 for Sikkim, Madhya Pradesh, and Arunachal Pradesh across 2020, 2021, 2022, and 2023.",
2854,"Visualize the monthly average PM10 for Haryana, Madhya Pradesh, and Delhi in 2024 as a multi-line chart.",
2855,Show the monthly average PM10 trend for Bhilai from 2019 to 2024 as a line chart.,
2856,"Visualize the monthly average PM10 for Bihar, Nagaland, and Chandigarh in 2023 as a multi-line chart.",
2857,Plot the rolling 30-day average PM2.5 for Chhattisgarh in 2023 as a line chart.,
2858,"Compare the monthly average PM2.5 of Pithampur, Dehradun, and Karnal in 2019 as a multi-line chart.",
2859,"Visualize the monthly average PM10 for Chandigarh, Meghalaya, and Gujarat in 2022 as a multi-line chart.",
2860,"Create a grouped bar chart comparing the average PM2.5 for Haryana, Puducherry, and Bihar across 2021, 2022, 2023, and 2024.",
2861,"Scatter plot PM2.5 vs PM10 for Andhra Pradesh stations in 2017, with a regression trend line.",
2862,"Scatter plot PM2.5 vs PM10 for Gujarat stations in 2023, with a regression trend line.",
2863,"Visualize the monthly average PM10 for Punjab, Rajasthan, and Kerala in 2022 as a multi-line chart.",
2864,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2022.,
2865,Show the monthly average PM2.5 for Manipur across each year from 2017 to 2024 as small multiples (faceted by year).,
2866,"Scatter plot PM2.5 vs PM10 for Sikkim stations in 2017, with a regression trend line.",
2867,Show the monthly average PM10 trend for Samastipur from 2017 to 2022 as a line chart.,
2868,Show a cumulative area chart of PM2.5 readings for Samastipur across 2023.,
2869,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Assam, and Chandigarh across 2020, 2021, 2022, and 2023.",
2870,Show a cumulative area chart of PM2.5 readings for Vrindavan across 2021.,
2871,"Visualize the monthly average PM10 for Haryana, Telangana, and Odisha in 2023 as a multi-line chart.",
2872,"Create a grouped bar chart comparing the average PM2.5 for Meghalaya, Nagaland, and Nagaland across 2021, 2022, 2023, and 2024.",
2873,"Plot the yearly average PM2.5 trends for Rajasthan, Meghalaya, and Punjab from 2017 to 2024 on a single multi-line chart.",
2874,"Plot the yearly average PM2.5 trends for Tamil Nadu, Nagaland, and Chandigarh from 2017 to 2024 on a single multi-line chart.",
2875,Show a monthly bar chart of the number of days Andhra Pradesh exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2021.,
2876,"Visualize the monthly average PM10 for Manipur, Puducherry, and Tamil Nadu in 2019 as a multi-line chart.",
2877,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Jammu and Kashmir, and Andhra Pradesh across 2020, 2021, 2022, and 2023.",
2878,Visualize NCAP city-level funding for FY 2021-22 as a horizontal bar chart for the top 13 cities.,
2879,"Visualize the monthly average PM10 for Tamil Nadu, Kerala, and Uttar Pradesh in 2022 as a multi-line chart.",
2880,"Create a grouped bar chart comparing the average PM2.5 for Chandigarh, Assam, and Rajasthan across 2020, 2021, 2022, and 2023.",
2881,"Visualize the monthly average PM10 for Chhattisgarh, Assam, and Himachal Pradesh in 2023 as a multi-line chart.",
2882,Show the monthly average PM2.5 for Banswara in 2020 as a line chart with area fill.,
2883,"Visualize the monthly average PM10 for Rajasthan, Telangana, and Tamil Nadu in 2018 as a multi-line chart.",
2884,Show the monthly average PM2.5 for Barbil in 2023 as a line chart with area fill.,
2885,"Visualize the monthly average PM10 for Haryana, Mizoram, and Tripura in 2023 as a multi-line chart.",
2886,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Gujarat, and Telangana across 2020, 2021, 2022, and 2023.",
2887,Show a cumulative area chart of PM2.5 readings for Rajamahendravaram across 2024.,
2888,"Compare the monthly average PM2.5 of Aizawl, Bhiwandi, and Chittoor in 2023 as a multi-line chart.",
2889,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Punjab.,
2890,Show the monthly average PM10 trend for Tirupati from 2017 to 2022 as a line chart.,
2891,"Compare the monthly average PM2.5 of Bundi, Panipat, and Karur in 2019 as a multi-line chart.",
2892,"Visualize the monthly average PM10 for Haryana, Himachal Pradesh, and Madhya Pradesh in 2023 as a multi-line chart.",
2893,Show a bar chart of the top 5 cities by median PM2.5 in 2019.,
2894,Show a cumulative area chart of PM2.5 readings for Damoh across 2018.,
2895,"Compare the monthly average PM2.5 of Madurai, Vatva, and Virudhunagar in 2022 as a multi-line chart.",
2896,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Uttarakhand, and Jammu and Kashmir from 2017 to 2024 on a single multi-line chart.",
2897,Plot the weekly average PM2.5 for Gurugram in 2021 as a line chart.,
2898,Show a monthly bar chart of the number of days Telangana exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2020.,
2899,Show the monthly average PM10 trend for Bhilai from 2017 to 2022 as a line chart.,
2900,"Visualize the monthly average PM10 for Odisha, Assam, and Mizoram in 2019 as a multi-line chart.",
2901,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Kerala, and Chandigarh across 2021, 2022, 2023, and 2024.",
2902,Show the monthly average PM2.5 for Bettiah in 2023 as a line chart with area fill.,
2903,"Visualize the monthly average PM10 for Nagaland, Kerala, and Himachal Pradesh in 2021 as a multi-line chart.",
2904,Plot the median PM10 for each state in summer 2019 (April–June) as a sorted bar chart.,
2905,Show the monthly average PM2.5 for Nayagarh in 2023 as a line chart with area fill.,
2906,"Compare the monthly average PM2.5 of Navi Mumbai, Shivamogga, and Kollam in 2020 as a multi-line chart.",
2907,"Visualize the monthly average PM10 for Punjab, Jharkhand, and Meghalaya in 2023 as a multi-line chart.",
2908,"Compare the monthly average PM2.5 of Damoh, Mangalore, and Dharuhera in 2024 as a multi-line chart.",
2909,Plot the rolling 30-day average PM2.5 for Sikkim in 2022 as a line chart.,
2910,"Create a faceted bar chart showing top 7 states by average PM2.5 per year for 2020, 2021, 2022, and 2023.",
2911,Show the monthly average PM2.5 for Ankleshwar in 2019 as a line chart with area fill.,
2912,"Show the top 14 states by average PM10 in 2017 as a bar chart, sorted in descending order.",
2913,"Create a grouped bar chart comparing the average PM2.5 for Andhra Pradesh, Meghalaya, and Tamil Nadu across 2019, 2020, 2021, and 2022.",
2914,Show a bar chart comparing the 75th percentile PM2.5 of all states in winter 2020 (November–February).,
2915,Show the monthly average PM10 trend for Agra from 2019 to 2024 as a line chart.,
2916,"Create a grouped bar chart comparing the average PM2.5 for Odisha, Sikkim, and Puducherry across 2021, 2022, 2023, and 2024.",
2917,"Compare the monthly average PM2.5 of Guwahati, Korba, and Virar in 2023 as a multi-line chart.",
2918,"Compare the monthly average PM2.5 of Bharatpur, Bhilai, and Rajamahendravaram in 2022 as a multi-line chart.",
2919,"Scatter plot PM2.5 vs PM10 for Mizoram stations in 2023, with a regression trend line.",
2920,Plot a grouped bar chart of average PM10 by season and year (2019–2022) for all of India.,
2921,Show a monthly bar chart of the number of days Sikkim exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2022.,
2922,"Visualize the monthly average PM10 for Andhra Pradesh, Chandigarh, and Uttar Pradesh in 2024 as a multi-line chart.",
2923,Show a cumulative area chart of PM2.5 readings for Udaipur across 2024.,
2924,"Create a grouped bar chart comparing the average PM2.5 for Arunachal Pradesh, Manipur, and Uttar Pradesh across 2020, 2021, 2022, and 2023.",
2925,Show the monthly average PM10 trend for Palwal from 2017 to 2022 as a line chart.,
2926,Show the monthly average PM10 trend for Puducherry from 2019 to 2024 as a line chart.,
2927,"Plot the yearly average PM2.5 trends for Puducherry, Uttarakhand, and West Bengal from 2017 to 2024 on a single multi-line chart.",
2928,"Create a grouped bar chart comparing the average PM2.5 for Chhattisgarh, Punjab, and Jharkhand across 2019, 2020, 2021, and 2022.",
2929,Show the monthly average PM2.5 for Dehradun in 2020 as a line chart with area fill.,
2930,"Show the top 10 states by average PM10 in 2024 as a bar chart, sorted in descending order.",
2931,Show a cumulative area chart of PM2.5 readings for Hassan across 2024.,
2932,Show the monthly average PM2.5 for Assam across each year from 2017 to 2024 as small multiples (faceted by year).,
2933,Show a cumulative area chart of PM2.5 readings for Shillong across 2021.,
2934,Show a heatmap of average PM2.5 for the top 7 most polluted states by month for 2017.,
2935,"Visualize the monthly average PM10 for Himachal Pradesh, Jammu and Kashmir, and Uttar Pradesh in 2021 as a multi-line chart.",
2936,Plot the top 10 states by average PM2.5 in 2021 as a horizontal bar chart.,
2937,"Show the top 12 states by average PM10 in 2020 as a bar chart, sorted in descending order.",
2938,Plot a heatmap of average PM10 by state (y-axis) and month (x-axis) for 2018.,
2939,Show the monthly average PM2.5 for Jammu and Kashmir across each year from 2017 to 2024 as small multiples (faceted by year).,
2940,Plot the rolling 30-day average PM2.5 for Tamil Nadu in 2018 as a line chart.,
2941,"Compare the monthly average PM2.5 of Pune, Kadapa, and Muzaffarnagar in 2023 as a multi-line chart.",
2942,Show the monthly average PM10 trend for Raipur from 2017 to 2022 as a line chart.,
2943,"Plot the yearly average PM2.5 trends for Madhya Pradesh, Madhya Pradesh, and Puducherry from 2017 to 2024 on a single multi-line chart.",
2944,Show the monthly average PM2.5 for Bundi in 2024 as a line chart with area fill.,
2945,"Compare the monthly average PM2.5 of Mandi Gobindgarh, Sivasagar, and Srinagar in 2018 as a multi-line chart.",
2946,"Plot the yearly average PM2.5 trends for Andhra Pradesh, Kerala, and Gujarat from 2017 to 2024 on a single multi-line chart.",
2947,"Scatter plot PM2.5 vs PM10 for Karnataka stations in 2018, with a regression trend line.",
2948,Show the monthly average PM2.5 for Gaya in 2018 as a line chart with area fill.,
2949,"Compare the monthly average PM2.5 of Munger, Koppal, and Nandesari in 2022 as a multi-line chart.",
2950,"Create a grouped bar chart comparing the average PM2.5 for Manipur, Puducherry, and Jharkhand across 2019, 2020, 2021, and 2022.",
2951,Show a cumulative area chart of PM2.5 readings for Firozabad across 2024.,
2952,"Compare the monthly average PM2.5 of Bihar Sharif, Sawai Madhopur, and Chhal in 2023 as a multi-line chart.",
2953,Plot the weekly average PM2.5 for Kolkata in 2023 as a line chart.,
2954,Show the monthly average PM2.5 for Tirupur in 2018 as a line chart with area fill.,
2955,Show the monthly average PM10 trend for Palwal from 2019 to 2024 as a line chart.,
2956,"Plot the yearly average PM2.5 trends for Puducherry, Jammu and Kashmir, and Manipur from 2017 to 2024 on a single multi-line chart.",
2957,Create a heatmap showing the average PM2.5 by month (x-axis) and year (y-axis) for Mizoram.,
2958,Show a cumulative area chart of PM2.5 readings for Bikaner across 2023.,
2959,"Compare the monthly average PM2.5 of Karur, Byrnihat, and Rajamahendravaram in 2022 as a multi-line chart.",
2960,"Create a grouped bar chart comparing the average PM2.5 for Rajasthan, Arunachal Pradesh, and Uttar Pradesh across 2017, 2018, 2019, and 2020.",
2961,"Plot the yearly average PM2.5 trends for Himachal Pradesh, Himachal Pradesh, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
2962,"Compare the monthly average PM2.5 of Visakhapatnam, Virar, and Rajgir in 2017 as a multi-line chart.",
2963,Show the monthly average PM2.5 for Chhattisgarh across each year from 2017 to 2024 as small multiples (faceted by year).,
2964,"Scatter plot PM2.5 vs PM10 for Meghalaya stations in 2019, with a regression trend line.",
2965,Show the monthly average PM2.5 for Arrah in 2024 as a line chart with area fill.,
2966,"Compare the monthly average PM2.5 of Katihar, Haldia, and Ramanagara in 2023 as a multi-line chart.",
2967,"Plot the yearly average PM2.5 trends for West Bengal, Gujarat, and Telangana from 2017 to 2024 on a single multi-line chart.",
2968,Show the monthly average PM2.5 for Lucknow in 2024 as a line chart with area fill.,
2969,Plot the top 8 states by average PM2.5 in 2021 as a horizontal bar chart.,
2970,Show the monthly average PM10 trend for Chhapra from 2017 to 2022 as a line chart.,
2971,Show a heatmap of average PM2.5 for the top 7 most polluted states by month for 2018.,
2972,"Plot the yearly average PM2.5 trends for Punjab, Chhattisgarh, and Tripura from 2017 to 2024 on a single multi-line chart.",
2973,"Plot the yearly average PM2.5 trends for Sikkim, Tripura, and Himachal Pradesh from 2017 to 2024 on a single multi-line chart.",
2974,"Create a grouped bar chart comparing the average PM2.5 for Assam, Puducherry, and Karnataka across 2020, 2021, 2022, and 2023.",
2975,Show a monthly bar chart of the number of days Meghalaya exceeded the WHO PM2.5 guideline (15 µg/m³) per year in 2023.,
2976,Show the monthly average PM2.5 for Kolkata in 2023 as a line chart with area fill.,
2977,"Create a grouped bar chart comparing the average PM2.5 for Gujarat, Odisha, and Gujarat across 2021, 2022, 2023, and 2024.",
2978,"Visualize the monthly average PM10 for Andhra Pradesh, Telangana, and Delhi in 2023 as a multi-line chart.",
2979,"Visualize the monthly average PM10 for Delhi, Puducherry, and Bihar in 2017 as a multi-line chart.",
2980,"Compare the monthly average PM2.5 of Prayagraj, Gummidipoondi, and Sri Ganganagar in 2023 as a multi-line chart.",
2981,Plot the weekly average PM2.5 for Sikar in 2023 as a line chart.,
2982,"Create a grouped bar chart comparing the average PM2.5 for Jharkhand, Nagaland, and Puducherry across 2020, 2021, 2022, and 2023.",
2983,"Plot the yearly average PM2.5 trends for Uttar Pradesh, Mizoram, and Uttarakhand from 2017 to 2024 on a single multi-line chart.",
2984,Show a cumulative area chart of PM2.5 readings for Tirupati across 2017.,
2985,"Compare the monthly average PM2.5 of Karnal, Silchar, and Shillong in 2020 as a multi-line chart.",
2986,"Plot the yearly average PM2.5 trends for West Bengal, Meghalaya, and West Bengal from 2017 to 2024 on a single multi-line chart.",
2987,"Visualize the monthly average PM10 for Rajasthan, Chandigarh, and Punjab in 2018 as a multi-line chart.",
2988,Show the monthly average PM2.5 for Mysuru in 2024 as a line chart with area fill.,
2989,"Create a grouped bar chart comparing the average PM2.5 for Kerala, Assam, and Tamil Nadu across 2020, 2021, 2022, and 2023.",
2990,"Compare the monthly average PM2.5 of Kota, Tirupur, and Sirohi in 2023 as a multi-line chart.",
2991,Show the monthly average PM2.5 for Patiala in 2017 as a line chart with area fill.,
2992,Plot the top 10 states by average PM2.5 in 2023 as a horizontal bar chart.,
2993,Show a cumulative area chart of PM2.5 readings for Kaithal across 2021.,
2994,"Create a grouped bar chart comparing the average PM2.5 for Himachal Pradesh, Telangana, and Odisha across 2019, 2020, 2021, and 2022.",
2995,"Compare the monthly average PM2.5 of Jhalawar, Nagaur, and Charkhi Dadri in 2020 as a multi-line chart.",
2996,"Visualize the monthly average PM10 for Madhya Pradesh, Sikkim, and Odisha in 2021 as a multi-line chart.",
2997,"Visualize the monthly average PM10 for Jharkhand, Odisha, and Karnataka in 2024 as a multi-line chart.",
2998,Visualize the bottom 10 states with the lowest average PM2.5 in 2024 using a horizontal bar chart.,
2999,"Plot the yearly average PM2.5 trends for Odisha, Chhattisgarh, and Jharkhand from 2017 to 2024 on a single multi-line chart.",
0,Tabulate average PM2.5 for each city in Kerala across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Kannur', 'Kochi', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1,Generate a city × month cross-tab of mean PM10 for Maharashtra in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2,Generate a monthly average PM10 table for Gujarat for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
3,Show a table of average PM2.5 and PM10 for all citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
4,Generate a year-by-year summary table of PM2.5 readings for Madhya Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
5,Create a month-wise summary of average PM2.5 for Delhi in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
6,Generate a monthly average PM10 table for Karnataka for the year 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
7,Create a summary table comparing mean PM2.5 and PM10 across citys in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
8,Create a summary table ranking the top 10 citys by PM2.5 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
9,Tabulate the total NCAP fund released for each state.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'Total fund released', 'fn': 'sum'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total fund released'}},
{'op': 'RENAME', 'params': {'map': {'Total fund released': 'Total Fund Released (Cr)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
10,Show average PM10 per capita by state in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
11,Create a month-wise PM2.5 breakdown table across cities in Punjab for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
12,Show a year-wise table of average PM10 for Howrah from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Howrah'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
13,"Show the mean, median and standard deviation of PM10 per state in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
14,Show a table of the 15 cleanest citys by average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
15,Create a ranked table of the 10 best-performing states by PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
16,Show a table of the 10 cleanest citys by average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
17,"Show the variability of PM2.5 across states in 2024 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
18,Generate a year-by-year summary table of PM10 readings for Meghalaya.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
19,Tabulate the yearly average PM2.5 trend for Maharashtra across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
20,Generate a city × month cross-tab of mean PM10 for Kerala in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
21,List citys with their PM10 violation count and rate (>100 µg/m³) in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
22,Generate a table showing the 20 most polluted states based on mean PM10 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
23,Tabulate the yearly average PM2.5 trend for Gaya across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
24,List how many days each state breached the PM10 limit of 150 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
25,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
26,Which 15 states recorded the highest average PM10 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
27,Generate a monthly average PM2.5 table for Bihar for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
28,"Show mean, median, minimum, and maximum PM10 for each state in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
29,Create a table of PM10 standard violations (>150 µg/m³) per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
30,"Show the mean, median and standard deviation of PM10 per city in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
31,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
32,Create a summary table ranking the top 15 states by PM10 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
33,Create a state × year breakdown table of mean PM2.5 from 2017 to 2024.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
34,Create a table showing annual mean PM10 levels for Chandigarh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
35,List states with their PM10 violation count and rate (>150 µg/m³) in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
36,Show a monthly breakdown table of average PM10 for Nagaland in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
37,Show a table of the 15 cleanest states by average PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
38,Tabulate the yearly average PM2.5 trend for Uttar Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
39,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
40,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
41,Tabulate the yearly average PM2.5 trend for Haryana across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
42,Which 20 citys had the lowest mean PM10 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
43,Create a table of PM10 exceedance frequency above 100 µg/m³ by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
44,Create a month-wise summary of average PM10 for Mizoram in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
45,"Show average PM2.5, PM10 and the number of monitoring stations per state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
46,Create a ranked table of the 15 best-performing citys by PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
47,Generate a city × month cross-tab of mean PM10 for Kerala in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
48,List all states with their average PM2.5 and PM10 levels in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
49,List average PM10 by month for Noida in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
50,Tabulate mean PM2.5 alongside state population figures for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
51,Generate a monthly average PM10 table for Indore for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
52,Show a pivot table of monthly average PM2.5 by city for Assam in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Byrnihat', 'Guwahati', 'Nagaon', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
53,List the average PM10 for Nagaland broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
54,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
55,Generate a monthly average PM10 table for Nagaland for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
56,Tabulate average and median PM10 for all citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
57,Tabulate average PM2.5 for each city in Madhya Pradesh across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
58,List the average PM10 for Delhi broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
59,Tabulate the monthly mean PM10 levels for Varanasi during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
60,Tabulate the 5 worst states for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
61,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
62,List the top 15 states by average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
63,"Create a table showing top 10 states ranked by PM2.5 in 2022, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
64,Which 10 citys had the lowest mean PM2.5 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
65,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
66,Tabulate average PM10 for each city in Karnataka across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hubballi',
'Koppal',
'Madikeri',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Udupi',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
67,List average PM2.5 by month for Ahmedabad in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
68,"Create a table showing top 10 states ranked by PM2.5 in 2017, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
69,Show PM10 density (µg/m³ per km²) by state for 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
70,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
71,Create a ranked table of the 15 best-performing citys by PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
72,Show how many times PM2.5 exceeded 100 µg/m³ per day across citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
73,Generate a table showing the 15 most polluted citys based on mean PM2.5 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
74,Generate a cross-tab of state vs month for average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Haryana',
'Karnataka',
'Maharashtra',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
75,List all states with their average PM2.5 and PM10 levels in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
76,List average PM10 by month for Indore in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
77,Show a monthly breakdown table of average PM10 for Tamil Nadu in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
78,Tabulate the yearly average PM2.5 trend for Madhya Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
79,Create a table of PM10 exceedance frequency above 150 µg/m³ by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
80,Create a summary table comparing mean PM2.5 and PM10 across citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
81,List average PM10 by month for Kerala in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
82,"Tabulate the distribution of PM2.5 per state in 2022 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
83,List the top 20 states by average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
84,"Tabulate PM2.5 levels, population, and land area per state in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
85,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
86,List states with their average PM10 and area for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
87,Create a month-by-state breakdown table of mean PM10 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
88,Create a table showing annual mean PM10 levels for Bhopal (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
89,Show a pivot table of monthly average PM2.5 by city for Tamil Nadu in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
90,Tabulate the 10 citys with the least PM10 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
91,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
92,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
93,Tabulate the yearly average PM2.5 trend for Mumbai across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
94,Tabulate the 10 citys with the least PM10 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
95,List the average PM10 for Varanasi broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
96,Tabulate average PM2.5 for each state across all months in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
97,List the average PM2.5 for Gwalior broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
98,"Show a table of average PM2.5, population, and area for all states in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
99,"Tabulate the distribution of PM10 per state in 2020 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
100,"Create a table showing top 5 citys ranked by PM2.5 in 2019, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
101,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
102,Create a month-wise summary of average PM10 for Howrah in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Howrah'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
103,Show a pivot table of monthly average PM10 by city for Odisha in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
104,Create a month-wise PM2.5 breakdown table across cities in Gujarat for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
105,Which 5 citys had the lowest mean PM2.5 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
106,List citys with their PM10 violation count and rate (>100 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
107,Create a month-wise summary of average PM2.5 for Prayagraj in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
108,Create a month-wise summary of average PM10 for Andhra Pradesh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
109,List the top 10 citys by average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
110,Tabulate the monthly mean PM2.5 levels for Madhya Pradesh during 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
111,Show a pivot table of monthly average PM2.5 by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
112,Generate a table showing the 15 most polluted states based on mean PM2.5 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
113,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
114,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
115,Show a table of the 5 cleanest citys by average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
116,Tabulate mean PM10 alongside state population figures for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
117,Create a statistical summary table of PM2.5 readings by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
118,List average PM2.5 by month for Nagaland in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
119,"Show mean, median, minimum, and maximum PM10 for each state in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
120,"List each state's average PM2.5, PM10, and how many stations it has in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
121,"Tabulate the distribution of PM10 per city in 2018 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
122,Tabulate average PM10 for each city in Gujarat across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Surat', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
123,"Create a comprehensive state summary with PM10, population, and area for 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
124,Show a table of the 20 cleanest states by average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
125,Create a summary table ranking the top 10 states by PM10 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
126,Generate a year-by-year summary table of PM10 readings for Madhya Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
127,List citys with their PM10 violation count and rate (>100 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
128,Tabulate the 15 states with the least PM2.5 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
129,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
130,Show how average PM2.5 varied month by month for Gandhinagar in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
131,Show a pivot table of monthly average PM2.5 by city for Punjab in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
132,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
133,Which 10 states recorded the highest average PM2.5 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
134,List the bottom 20 states with the lowest average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
135,Tabulate average PM10 for each city in Uttar Pradesh across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
136,Tabulate area-adjusted PM2.5 (per km²) for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
137,Create a table showing annual mean PM2.5 levels for Tamil Nadu (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
138,Tabulate the monthly mean PM10 levels for Tripura during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
139,List the average PM10 for Maharashtra broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
140,Show a pivot table of monthly average PM2.5 by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Haryana',
'Karnataka',
'Maharashtra',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
141,Tabulate the 20 worst citys for average PM10 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
142,Create a table showing PM10 spread (min to max) and central tendency per city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
143,Show a table of the top 10 citys by average PM2.5 in 2022 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
144,Tabulate average PM10 for each city in Madhya Pradesh across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Dewas', 'Mandideep', 'Pithampur', 'Singrauli', 'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
145,List the bottom 10 states with the lowest average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
146,Which 10 citys had the lowest mean PM2.5 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
147,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
148,Show a table of the 15 cleanest states by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
149,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
150,Show NCAP total funds and utilisation percentage per state as a table.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Total Fund (Cr)', 'col': 'Total fund released', 'fn': 'sum'},
{'alias': 'Utilised (Cr)', 'col': 'Utilisation as on June 2022', 'fn': 'sum'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': {'denominator': 'Total Fund (Cr)', 'new_col': 'Utilisation %', 'numerator': 'Utilised (Cr)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total Fund (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
151,Show average PM2.5 per capita by state in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
152,Create a month-wise PM10 breakdown table across cities in Rajasthan for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
153,Show how average PM10 varied month by month for Kolkata in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
154,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
155,Show PM10 averages in a state × month matrix for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
156,List how many days each city breached the PM10 limit of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
157,List how many days each state breached the PM2.5 limit of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
158,List the average PM10 for Madhya Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
159,Create a ranked table of the 20 best-performing citys by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
160,Show a monthly breakdown table of average PM2.5 for West Bengal in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
161,Generate a monthly average PM10 table for Karnataka for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
162,"Show mean, median, minimum, and maximum PM2.5 for each city in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
163,Show a monthly breakdown table of average PM10 for West Bengal in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
164,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hassan',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
165,Create a month-wise PM2.5 breakdown table across cities in Rajasthan for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
166,Create a table showing annual mean PM2.5 levels for Himachal Pradesh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
167,Create a table showing annual mean PM2.5 levels for Meghalaya (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
168,List NCAP funding per fiscal year and total for all states.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ { 'alias': 'FY 2019-20 (Cr)',
'col': 'Amount released during FY 2019-20',
'fn': 'sum'},
{ 'alias': 'FY 2020-21 (Cr)',
'col': 'Amount released during FY 2020-21',
'fn': 'sum'},
{ 'alias': 'FY 2021-22 (Cr)',
'col': 'Amount released during FY 2021-22',
'fn': 'sum'},
{'alias': 'Total (Cr)', 'col': 'Total fund released', 'fn': 'sum'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
169,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
170,Create a table of PM10 exceedance frequency above 100 µg/m³ by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
171,Create a month-wise summary of average PM10 for Faridabad in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
172,Generate a cross-tab of state vs month for average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
173,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
174,Generate a city × month cross-tab of mean PM10 for West Bengal in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
175,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hubballi',
'Koppal',
'Madikeri',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
176,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
177,Create a month-wise PM10 breakdown table across cities in Tamil Nadu for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
178,Create a summary table ranking the top 10 citys by PM2.5 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
179,Generate a city × month cross-tab of mean PM2.5 for Tamil Nadu in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
180,Generate a city × month cross-tab of mean PM2.5 for Odisha in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
181,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
182,Show a pivot table of monthly average PM2.5 by city for Kerala in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Kannur', 'Kochi', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
183,Tabulate the monthly mean PM10 levels for Muzaffarpur during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
184,Show how many times PM10 exceeded 100 µg/m³ per day across states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
185,List the bottom 10 citys with the lowest average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
186,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
187,Tabulate average PM2.5 for each city in Andhra Pradesh across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
188,Show a year-wise table of average PM10 for Guwahati from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
189,List the average PM10 for Nashik broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
190,Create a table of PM10 per unit area for all states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
191,Show a year-wise table of average PM10 for Indore from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
192,Generate a year-by-year summary table of PM2.5 readings for Ahmedabad.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
193,Show a monthly breakdown table of average PM10 for Telangana in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
194,Show a table of average PM2.5 and PM10 for all citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
195,Tabulate population-adjusted PM2.5 levels for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
196,Tabulate the 5 citys with the least PM10 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
197,Tabulate both PM2.5 and PM10 averages by city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
198,Create a table showing annual mean PM10 levels for Mizoram (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
199,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
200,Tabulate average PM10 for each city in Andhra Pradesh across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Vijayawada', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
201,Show a pivot table of monthly average PM2.5 by city for Odisha in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
202,"Create a table showing top 20 states ranked by PM2.5 in 2024, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
203,Tabulate average and median PM2.5 for all citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
204,Create a ranked table of the 5 best-performing states by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
205,Show a monthly breakdown table of average PM2.5 for Muzaffarpur in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
206,Create a month-wise PM2.5 breakdown table across cities in Andhra Pradesh for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
207,Create a table showing annual mean PM10 levels for Jammu and Kashmir (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
208,Tabulate area-adjusted PM2.5 (per km²) for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
209,Create a month-wise summary of average PM10 for Uttar Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
210,List the average PM10 for Muzaffarpur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
211,Show a monthly breakdown table of average PM2.5 for Jodhpur in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
212,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
213,Show a table of the top 15 citys by average PM2.5 in 2017 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
214,Which 15 states had the lowest mean PM10 in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
215,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
216,Show annual average PM2.5 for Madhya Pradesh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
217,Show a pivot table of monthly average PM10 by city for Punjab in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
218,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
219,List the bottom 15 states with the lowest average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
220,List the bottom 20 citys with the lowest average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
221,List the bottom 10 states with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
222,Show how average PM2.5 varied month by month for West Bengal in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
223,Show average PM2.5 per capita by state in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
224,Create a ranked table of the 20 best-performing citys by PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
225,List citys with their PM2.5 violation count and rate (>100 µg/m³) in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
226,List states by PM10 concentration per million inhabitants in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
227,Create a table of PM10 standard violations (>150 µg/m³) per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
228,Generate a monthly average PM10 table for Mizoram for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
229,Show a pivot table of monthly average PM10 by city for Tamil Nadu in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chennai',
'Gummidipoondi',
'Hosur',
'Kanchipuram',
'Ooty',
'Ramanathapuram',
'Salem',
'Thoothukudi',
'Tirupur',
'Vellore']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
230,Show a ranked table of the 5 most polluted citys by average PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
231,List all states with their average PM10 and population for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
232,Tabulate average PM2.5 for each city in Uttar Pradesh across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
233,Show a pivot table of yearly average PM2.5 by state across all years.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
234,Generate a monthly average PM2.5 table for Durgapur for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
235,List how many days each state breached the PM2.5 limit of 60 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
236,Show a table of the top 15 states by average PM2.5 in 2022 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
237,"Tabulate the distribution of PM2.5 per city in 2022 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
238,Tabulate average PM2.5 for each city in Haryana across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Faridabad', 'Gurugram', 'Panchkula']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
239,Tabulate the yearly average PM10 trend for Madhya Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
240,List the average PM10 for Meghalaya broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
241,Create a table of PM2.5 per unit area for all states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
242,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
243,Generate a monthly average PM10 table for Pune for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
244,Generate a city × month cross-tab of mean PM10 for Andhra Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
245,Show how average PM10 varied month by month for Assam in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
246,Show a pivot table of monthly average PM2.5 by city for Andhra Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
247,"Tabulate the distribution of PM10 per state in 2024 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
248,Tabulate the top 5 states for PM2.5 in 2019 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
249,List average PM2.5 by month for Patna in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
250,Create a month-wise PM2.5 breakdown table across cities in Gujarat for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Surat', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
251,List the top 10 states by PM2.5 in 2024 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
252,Tabulate the monthly mean PM10 levels for Bengaluru during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
253,Create a summary table ranking the top 10 citys by PM10 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
254,Show average PM10 per state in 2023 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
255,Generate a year-by-year summary table of PM2.5 readings for Meerut.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
256,Tabulate the 10 citys with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
257,Which 5 citys recorded the highest average PM2.5 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
258,Show a pivot table of monthly average PM2.5 by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
259,Show a monthly breakdown table of average PM2.5 for West Bengal in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
260,Create a table showing PM10 spread (min to max) and central tendency per city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
261,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
262,Show a pivot table of monthly average PM10 by city for Madhya Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
263,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
264,Which 10 citys had the lowest mean PM10 in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
265,Create a month-wise PM2.5 breakdown table across cities in Assam for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Byrnihat', 'Guwahati', 'Nagaon', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
266,Tabulate average PM10 for each city in Rajasthan across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
267,List average PM2.5 by month for Thiruvananthapuram in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
268,Show a table of the 10 cleanest states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
269,Tabulate mean PM2.5 and land area for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
270,Show the number of days each state exceeded a PM10 threshold of 150 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
271,Tabulate the 10 worst states for average PM2.5 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
272,Tabulate the 10 worst citys for average PM10 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
273,Show a ranked table of the 5 most polluted states by average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
274,Tabulate the yearly average PM10 trend for Bihar across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
275,"Show the variability of PM10 across citys in 2021 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
276,Show PM10 averages in a state × month matrix for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
277,"Show a table of average PM10, population, and area for all states in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
278,List states ranked by PM2.5 concentration relative to their area in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
279,Generate a city × month cross-tab of mean PM10 for Assam in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Byrnihat', 'Guwahati', 'Nagaon', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
280,Tabulate daily PM10 exceedances (above 150 µg/m³) per state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
281,Which 5 citys had the lowest mean PM2.5 in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
282,Tabulate average PM2.5 for each city in Maharashtra across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Aurangabad', 'Chandrapur', 'Nagpur', 'Nashik', 'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
283,Tabulate the yearly average PM10 trend for Telangana across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
284,Create a summary table ranking the top 15 citys by PM10 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
285,List the bottom 15 states with the lowest average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
286,Create a table of PM10 standard violations (>150 µg/m³) per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
287,Create a table showing PM10 spread (min to max) and central tendency per state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
288,Create a table showing annual mean PM2.5 levels for Rajasthan (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
289,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
290,Generate a cross-tab of state vs month for average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
291,Which 5 states had the lowest mean PM10 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
292,Show a table of the 20 cleanest states by average PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
293,Create a summary table ranking the top 5 citys by PM2.5 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
294,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
295,Create a table with mean and standard deviation of PM10 by city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
296,List all citys with their average PM2.5 and PM10 levels in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
297,"Show the variability of PM10 across citys in 2024 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
298,Generate a city × month cross-tab of mean PM2.5 for Rajasthan in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
299,Tabulate area-adjusted PM10 (per km²) for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
300,Tabulate mean PM10 and land area for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
301,List how many days each city breached the PM2.5 limit of 100 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
302,Show a year-wise table of average PM2.5 for Telangana from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
303,List the bottom 5 citys with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
304,Create a table with mean and standard deviation of PM10 by state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
305,Tabulate the yearly average PM2.5 trend for Moradabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
306,Generate a monthly average PM2.5 table for Madhya Pradesh for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
307,Show a pivot table of monthly average PM2.5 by city for Andhra Pradesh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
308,Which 5 states had the lowest mean PM10 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
309,Show a table of the 20 cleanest citys by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
310,Show a ranked table of the 5 most polluted states by average PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
311,"List each state's average PM2.5, PM10, and how many stations it has in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
312,Show annual average PM10 for Gaya as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
313,Generate a year-by-year summary table of PM2.5 readings for Kolkata.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
314,Show a table of the 5 cleanest citys by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
315,Create a table with mean and standard deviation of PM2.5 by state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
316,Generate a monthly average PM2.5 table for Kerala for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
317,Create a table of PM2.5 per unit area for all states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
318,Generate a year-by-year summary table of PM2.5 readings for Punjab.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
319,Show a year-wise table of average PM2.5 for Kanpur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
320,Show how many times PM10 exceeded 100 µg/m³ per day across states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
321,Show how many times PM2.5 exceeded 60 µg/m³ per day across states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
322,Generate a monthly average PM10 table for Ahmedabad for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
323,Create a table showing annual mean PM10 levels for Madhya Pradesh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
324,Create a summary table ranking the top 10 citys by PM2.5 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
325,Tabulate average PM10 for each city in Maharashtra across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
326,List how many days each state breached the PM10 limit of 150 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
327,Create a table of NCAP funding and utilisation rate by state.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Total Fund (Cr)', 'col': 'Total fund released', 'fn': 'sum'},
{'alias': 'Utilised (Cr)', 'col': 'Utilisation as on June 2022', 'fn': 'sum'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': {'denominator': 'Total Fund (Cr)', 'new_col': 'Utilisation %', 'numerator': 'Utilised (Cr)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total Fund (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
328,Tabulate the 5 worst states for average PM10 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
329,List how many days each city breached the PM10 limit of 100 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
330,Create a month-wise PM2.5 breakdown table across cities in Odisha for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
331,Tabulate the 5 states with the least PM2.5 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
332,"Show a table of average PM10, population, and area for all states in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
333,Show how average PM10 varied month by month for West Bengal in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
334,Tabulate the yearly average PM10 trend for Delhi across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
335,Tabulate the 15 citys with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
336,"Create a comprehensive state summary with PM10, population, and area for 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
337,Show how average PM2.5 varied month by month for Tripura in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
338,Create a summary table comparing mean PM2.5 and PM10 across states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
339,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
340,Tabulate both PM2.5 and PM10 averages by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
341,Create a table of PM10 standard violations (>150 µg/m³) per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
342,Show the number of days each city exceeded a PM10 threshold of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
343,Generate a monthly average PM10 table for Madhya Pradesh for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
344,Generate a descriptive stats table for PM2.5 grouped by city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
345,List states with their PM10 violation count and rate (>150 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
346,Create a month-wise summary of average PM2.5 for Noida in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
347,Generate a city × month cross-tab of mean PM2.5 for West Bengal in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
348,Create a ranked table of the 10 best-performing citys by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
349,Show a ranked table of the 20 most polluted states by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
350,"Show a table of average PM2.5, population, and area for all states in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
351,"Tabulate the distribution of PM10 per city in 2023 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
352,Generate a city × month cross-tab of mean PM10 for Tamil Nadu in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore', 'Gummidipoondi', 'Thoothukudi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
353,Show a table of average PM10 per state in 2022 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
354,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
355,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Bengaluru', 'Chikkaballapur', 'Hubballi', 'Kalaburagi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
356,Generate a city × month cross-tab of mean PM2.5 for Odisha in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
357,Which 20 citys recorded the highest average PM10 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
358,Generate a monthly average PM2.5 table for Delhi for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
359,"Create a table showing top 15 states ranked by PM2.5 in 2022, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
360,Generate a city × month cross-tab of mean PM10 for Assam in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
361,Show a pivot table of monthly average PM10 by city for Maharashtra in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
362,Tabulate mean PM2.5 alongside state population figures for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
363,List the top 10 states by average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
364,Show a ranked table of the 20 most polluted states by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
365,Show average PM2.5 per state in 2024 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
366,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
367,Show a pivot table of monthly average PM2.5 by city for Kerala in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
368,List the average PM2.5 for Uttar Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
369,Create a ranked table of the 15 best-performing citys by PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
370,Create a month-wise PM2.5 breakdown table across cities in Andhra Pradesh for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
371,Tabulate the 10 worst states for average PM10 in 2019 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
372,Tabulate the monthly mean PM2.5 levels for Indore during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
373,Show a pivot table of monthly average PM2.5 by city for Uttar Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Agra', 'Ghaziabad', 'Kanpur', 'Lucknow', 'Moradabad', 'Noida', 'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
374,Show a ranked table of the 5 most polluted citys by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
375,Create a summary table ranking the top 15 states by PM2.5 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
376,List the bottom 5 citys with the lowest average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
377,Show a pivot table of monthly average PM10 by city for Punjab in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Amritsar', 'Ludhiana', 'Mandi Gobindgarh']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
378,Tabulate the monthly mean PM2.5 levels for Uttar Pradesh during 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
379,List the average PM2.5 for Tripura broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
380,"Show mean, median, minimum, and maximum PM10 for each state in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
381,List average PM2.5 by month for Bhilai in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhilai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
382,Show PM10 averages in a state × month matrix for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
383,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
384,Create a month-wise PM10 breakdown table across cities in Odisha for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
385,Show a table of average PM2.5 per state in 2024 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
386,"List each state's average PM2.5, PM10, and how many stations it has in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
387,Create a table showing PM10 spread (min to max) and central tendency per state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
388,Tabulate average PM10 for each city in Rajasthan across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Banswara',
'Baran',
'Barmer',
'Bharatpur',
'Bhilwara',
'Bhiwadi',
'Bikaner',
'Bundi',
'Chittorgarh',
'Churu',
'Dausa',
'Dholpur',
'Dungarpur',
'Hanumangarh',
'Jaipur',
'Jaisalmer',
'Jalore',
'Jhalawar',
'Jhunjhunu',
'Jodhpur',
'Karauli',
'Kota',
'Nagaur',
'Pali',
'Pratapgarh',
'Rajsamand',
'Sawai Madhopur',
'Sikar',
'Sirohi',
'Sri Ganganagar',
'Tonk',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
389,Create a summary table ranking the top 5 states by PM2.5 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
390,Create a table with mean and standard deviation of PM10 by state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
391,List citys with their PM2.5 violation count and rate (>100 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
392,Show annual average PM2.5 for Asansol as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
393,Tabulate the monthly mean PM2.5 levels for Meerut during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
394,Create a month-wise summary of average PM2.5 for Punjab in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
395,Show how average PM10 varied month by month for Chennai in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
396,Show a year-wise table of average PM10 for Punjab from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
397,Show a table of the top 15 states by average PM2.5 in 2024 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
398,Tabulate the monthly mean PM2.5 levels for Patna during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
399,Show a table of the top 15 states by average PM2.5 in 2017 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
400,Create a month-wise PM2.5 breakdown table across cities in Maharashtra for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chandrapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
401,Generate a year-by-year summary table of PM2.5 readings for Patna.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
402,Show how many times PM10 exceeded 100 µg/m³ per day across states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
403,Generate a year-by-year summary table of PM10 readings for Haryana.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
404,"Show the variability of PM10 across citys in 2023 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
405,Which 20 citys had the lowest mean PM10 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
406,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
407,Tabulate the 5 states with the least PM10 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
408,List the average PM2.5 for Chennai broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
409,List average PM10 by month for Bihar in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
410,List average PM10 by month for Muzaffarpur in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
411,Generate a monthly average PM2.5 table for Muzaffarpur for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
412,List average PM2.5 by month for Patna in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
413,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
414,Show how average PM2.5 varied month by month for Lucknow in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
415,List citys with their PM2.5 violation count and rate (>100 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
416,Show a pivot table of monthly average PM10 by city for Bihar in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Gaya', 'Hajipur', 'Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
417,Tabulate the 5 states with the least PM2.5 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
418,Tabulate the yearly average PM10 trend for Aurangabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
419,Generate a monthly average PM2.5 table for Assam for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
420,List average PM10 by month for Rajasthan in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
421,Show how many times PM2.5 exceeded 100 µg/m³ per day across citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
422,List the top 5 citys by average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
423,Generate a city × month cross-tab of mean PM10 for Uttar Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
424,Show annual average PM2.5 for Nashik as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
425,Which 10 citys had the lowest mean PM10 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
426,Create a ranked table of the 10 best-performing citys by PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
427,Show PM10 density (µg/m³ per km²) by state for 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
428,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
429,Create a table showing annual mean PM10 levels for Muzaffarpur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
430,Create a ranked table of the 10 best-performing states by PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
431,List all states with their average PM2.5 and PM10 levels in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
432,Create a month-wise PM10 breakdown table across cities in Kerala for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
433,Generate a city × month cross-tab of mean PM2.5 for Uttar Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
434,Show PM10 exceedance count and rate (%) above 100 µg/m³ per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
435,Generate a city × month cross-tab of mean PM10 for Bihar in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Darbhanga',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
436,Generate a cross-tab of state vs month for average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
437,List the average PM10 for Himachal Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
438,Show a monthly breakdown table of average PM2.5 for Bihar in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
439,Create a month-wise summary of average PM2.5 for Gaya in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
440,Show the number of days each city exceeded a PM10 threshold of 150 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
441,Create a table showing PM10 spread (min to max) and central tendency per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
442,Tabulate population-adjusted PM2.5 levels for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
443,Show annual average PM10 for Aurangabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
444,Show a pivot table of monthly average PM10 by city for Gujarat in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Surat', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
445,Tabulate average PM2.5 for each city in Maharashtra across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Kalyan', 'Mumbai', 'Nagpur', 'Nashik', 'Navi Mumbai', 'Pune', 'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
446,Show how average PM2.5 varied month by month for Gandhinagar in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
447,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
448,Create a ranked table of the 20 best-performing citys by PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
449,Show a year-wise table of average PM10 for Tripura from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
450,Show how average PM10 varied month by month for Faridabad in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
451,Generate a monthly average PM2.5 table for Bengaluru for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
452,Show a pivot table of monthly average PM2.5 by city for Madhya Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
453,Generate a city × month cross-tab of mean PM2.5 for Gujarat in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ahmedabad']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
454,Show which states received the most NCAP funding in total.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'Total fund released', 'fn': 'sum'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total fund released'}},
{'op': 'RENAME', 'params': {'map': {'Total fund released': 'Total Fund Released (Cr)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
455,List the bottom 5 states with the lowest average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
456,Show a table of the 10 cleanest states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
457,Which 10 citys had the lowest mean PM10 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
458,List the bottom 10 states with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
459,List the top 15 states by average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
460,Generate a monthly average PM10 table for Rajasthan for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
461,Show a ranked table of the 20 most polluted citys by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
462,Show PM10 exceedance count and rate (%) above 100 µg/m³ per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
463,Which 20 states recorded the highest average PM2.5 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
464,Create a summary table ranking the top 20 states by PM2.5 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
465,"Tabulate PM2.5 levels, population, and land area per state in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
466,List all states with their average PM2.5 and population for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
467,Show annual average PM2.5 for Jammu and Kashmir as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
468,Show a monthly breakdown table of average PM2.5 for Ahmedabad in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
469,Tabulate the yearly average PM2.5 trend for Nashik across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
470,Show a pivot table of monthly average PM2.5 by city for Odisha in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
471,Generate a descriptive stats table for PM2.5 grouped by state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
472,List the bottom 20 states with the lowest average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
473,Generate a year-by-year summary table of PM2.5 readings for Mizoram.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
474,Show a monthly breakdown table of average PM10 for Bhopal in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
475,Tabulate both PM2.5 and PM10 averages by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
476,Create a summary table ranking the top 20 states by PM10 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
477,Show a pivot table of monthly average PM10 by city for Rajasthan in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
478,Create a summary table ranking the top 15 states by PM10 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
479,Create a month-wise PM2.5 breakdown table across cities in Rajasthan for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
480,List states by PM2.5 concentration per million inhabitants in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
481,Create a table showing annual mean PM2.5 levels for Solapur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
482,Show annual average PM2.5 for Andhra Pradesh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
483,Create a table of PM10 exceedance frequency above 100 µg/m³ by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
484,"Create a comprehensive state summary with PM10, population, and area for 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
485,Show a year-wise table of average PM10 for Maharashtra from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
486,Which 20 states had the lowest mean PM10 in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
487,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
488,"Show the variability of PM2.5 across citys in 2021 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
489,Which 5 citys recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
490,"Tabulate the distribution of PM10 per city in 2019 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
491,Show a table of average PM2.5 and PM10 for all citys in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
492,"Show a table of average PM2.5, population, and area for all states in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
493,Create a summary table ranking the top 20 citys by PM10 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
494,"Create a table showing top 15 citys ranked by PM2.5 in 2018, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
495,Tabulate average and median PM10 for all citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
496,Tabulate average PM2.5 for each city in Karnataka across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chikkaballapur',
'Chikkamagaluru',
'Mysuru',
'Ramanagara',
'Shivamogga']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
497,Tabulate population-adjusted PM10 levels for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
498,"Show the mean, median and standard deviation of PM2.5 per state in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
499,Tabulate the 10 worst states for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
500,Show a table of the 10 cleanest states by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
501,Create a statistical summary table of PM10 readings by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
502,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chennai',
'Coimbatore',
'Gummidipoondi',
'Hosur',
'Kanchipuram',
'Ooty',
'Ramanathapuram',
'Salem',
'Vellore']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
503,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
504,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
505,Create a table showing PM10 levels and population for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
506,Create a table of state PM10 levels and geographic area for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
507,Create a month-wise PM10 breakdown table across cities in Maharashtra for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
508,Tabulate average PM2.5 for each state across all months in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
509,"Tabulate PM10 levels, population, and land area per state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
510,Tabulate average PM2.5 for each city in Kerala across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
511,Create a ranked table of the 15 best-performing states by PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
512,Create a statistical summary table of PM10 readings by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
513,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
514,Tabulate average PM2.5 for each city in Andhra Pradesh across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
515,Tabulate the yearly average PM2.5 trend for Chandigarh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
516,Tabulate the 15 states with the least PM2.5 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
517,Create a month-wise PM2.5 breakdown table across cities in Madhya Pradesh for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
518,Show a ranked table of the 5 most polluted states by average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
519,Tabulate the monthly mean PM2.5 levels for Patna during 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
520,Show a pivot table of monthly average PM10 by city for Rajasthan in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Banswara',
'Baran',
'Barmer',
'Bharatpur',
'Bhilwara',
'Bhiwadi',
'Bikaner',
'Bundi',
'Chittorgarh',
'Churu',
'Dausa',
'Dholpur',
'Dungarpur',
'Hanumangarh',
'Jaipur',
'Jaisalmer',
'Jalore',
'Jhalawar',
'Jhunjhunu',
'Jodhpur',
'Karauli',
'Kota',
'Nagaur',
'Pali',
'Pratapgarh',
'Rajsamand',
'Sawai Madhopur',
'Sikar',
'Sirohi',
'Sri Ganganagar',
'Tonk',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
521,List states by PM2.5 concentration per million inhabitants in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
522,Create a table of PM10 exceedance frequency above 100 µg/m³ by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
523,"Show the mean, median and standard deviation of PM10 per state in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
524,Create a month-wise PM10 breakdown table across cities in Madhya Pradesh for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Satna',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
525,Tabulate the 5 worst citys for average PM10 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
526,List all states with their average PM2.5 and population for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
527,Generate a table showing the 5 most polluted states based on mean PM2.5 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
528,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
529,Create a month-wise PM10 breakdown table across cities in Madhya Pradesh for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
530,List states ranked by PM2.5 concentration relative to their area in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
531,Generate a city × month cross-tab of mean PM10 for Bihar in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Begusarai',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
532,Show average PM2.5 per capita by state in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
533,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
534,Show a pivot table of monthly average PM2.5 by city for Haryana in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Faridabad', 'Gurugram', 'Panchkula']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
535,Generate a city × month cross-tab of mean PM10 for Andhra Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
536,Show annual average PM10 for Nagpur as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
537,Generate a descriptive stats table for PM10 grouped by state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
538,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
539,Show PM10 averages in a state × month matrix for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
540,Tabulate average PM10 for each state across all months in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
541,Generate a descriptive stats table for PM10 grouped by state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
542,Tabulate the top 10 states for PM2.5 in 2018 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
543,Create a per-capita PM2.5 summary table by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
544,List average PM10 by month for Telangana in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
545,"Show mean, median, minimum, and maximum PM2.5 for each state in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
546,Show how average PM10 varied month by month for Tamil Nadu in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
547,Show a ranked table of the 15 most polluted citys by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
548,List the top 20 states by PM2.5 in 2022 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
549,Generate a city × month cross-tab of mean PM10 for Madhya Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
550,Show a monthly breakdown table of average PM10 for Telangana in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
551,Tabulate the 15 worst citys for average PM10 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
552,Show how average PM10 varied month by month for Lucknow in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
553,Tabulate population-adjusted PM2.5 levels for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
554,Tabulate the top 20 citys for PM2.5 in 2022 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
555,Create a per-capita PM2.5 summary table by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
556,Create a month-wise summary of average PM10 for Gandhinagar in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
557,Create a table of PM10 per unit area for all states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
558,Show a year-wise table of average PM2.5 for Mumbai from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
559,List the top 10 citys by average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
560,Create a table of state PM2.5 levels and geographic area for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
561,"Create a table showing top 15 citys ranked by PM2.5 in 2017, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
562,"Create a table showing top 20 states ranked by PM2.5 in 2019, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
563,Create a month-wise summary of average PM10 for Prayagraj in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
564,"Show mean, median, minimum, and maximum PM2.5 for each city in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
565,Create a month-wise PM2.5 breakdown table across cities in Karnataka for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
566,Create a table of PM2.5 per unit area for all states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
567,Tabulate the monthly mean PM2.5 levels for Muzaffarpur during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
568,Show a pivot table of monthly average PM2.5 by city for Maharashtra in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Aurangabad', 'Chandrapur', 'Mumbai', 'Nagpur', 'Nashik', 'Pune', 'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
569,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
570,Create a table showing annual mean PM2.5 levels for Gujarat (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
571,Create a month-wise PM2.5 breakdown table across cities in Kerala for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
572,List the average PM10 for Lucknow broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
573,List the average PM10 for Gurugram broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
574,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
575,Create a month-by-state breakdown table of mean PM10 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
576,Create a month-wise PM2.5 breakdown table across cities in Haryana for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
577,Tabulate average PM10 for each city in Uttar Pradesh across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
578,Generate a table showing the 10 most polluted states based on mean PM10 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
579,Generate a year-by-year summary table of PM2.5 readings for Chandigarh.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
580,Tabulate the 5 states with the least PM10 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
581,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
582,List the top 10 states by average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
583,Generate a monthly average PM10 table for Tripura for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
584,Show a ranked table of the 20 most polluted states by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
585,Tabulate the monthly mean PM10 levels for Kerala during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
586,Create a statistical summary table of PM10 readings by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
587,Tabulate average PM2.5 for each city in Punjab across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
588,Show a pivot table of monthly average PM10 by city for Assam in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
589,Generate a cross-tab of state vs month for average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Karnataka',
'Maharashtra',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
590,Show average PM2.5 per state in 2017 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
591,Create a table of PM10 standard violations (>150 µg/m³) per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
592,List the top 10 citys by average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
593,Tabulate area-adjusted PM2.5 (per km²) for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
594,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
595,Create a month-by-state breakdown table of mean PM2.5 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
596,Which 15 citys recorded the highest average PM2.5 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
597,Show how many times PM10 exceeded 150 µg/m³ per day across states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
598,List all states with their average PM2.5 and population for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
599,Create a table of state PM10 levels and geographic area for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
600,Create a statistical summary table of PM2.5 readings by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
601,List average PM2.5 by month for Gandhinagar in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
602,Create a table showing PM10 spread (min to max) and central tendency per city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
603,Generate a descriptive stats table for PM10 grouped by state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
604,Show annual average PM2.5 for Nagaland as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
605,List the top 15 citys by average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
606,Show how average PM2.5 varied month by month for Mumbai in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
607,Tabulate the yearly average PM10 trend for Karnataka across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
608,Tabulate both PM2.5 and PM10 averages by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
609,Create a table of state PM10 levels and geographic area for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
610,Create a month-wise summary of average PM2.5 for Guwahati in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
611,Generate a monthly average PM2.5 table for Uttar Pradesh for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
612,Tabulate the monthly mean PM2.5 levels for Meerut during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
613,Tabulate the monthly mean PM10 levels for Durgapur during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
614,List the average PM2.5 for Bhopal broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
615,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
616,Generate a year-by-year summary table of PM10 readings for Prayagraj.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
617,Tabulate average PM2.5 for each city in Uttar Pradesh across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
618,Generate a monthly average PM10 table for Moradabad for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
619,Show a year-wise table of average PM2.5 for Lucknow from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
620,Tabulate average PM10 for each city in Madhya Pradesh across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Satna',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
621,Create a statistical summary table of PM2.5 readings by city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
622,Show a pivot table of monthly average PM10 by city for West Bengal in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
623,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
624,Tabulate average PM2.5 for each city in West Bengal across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Barrackpore', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
625,Create a ranked table of the 10 best-performing citys by PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
626,Tabulate the 20 citys with the least PM2.5 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
627,Generate a city × month cross-tab of mean PM2.5 for Andhra Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
628,Show PM2.5 density (µg/m³ per km²) by state for 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
629,Create a summary table comparing mean PM2.5 and PM10 across citys in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
630,Generate a year-by-year summary table of PM10 readings for Maharashtra.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
631,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
632,Show annual average PM2.5 for Ghaziabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
633,Tabulate average PM10 for each city in Bihar across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
634,Create a month-wise PM2.5 breakdown table across cities in Andhra Pradesh for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
635,Tabulate the 15 citys with the least PM10 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
636,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
637,"Tabulate the distribution of PM2.5 per state in 2021 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
638,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
639,Show how average PM2.5 varied month by month for Chandigarh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
640,Create a summary table ranking the top 10 states by PM2.5 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
641,List average PM2.5 by month for Kota in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
642,Show how many times PM10 exceeded 150 µg/m³ per day across states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
643,List average PM2.5 by month for Varanasi in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
644,Create a statistical summary table of PM2.5 readings by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
645,Which 20 states recorded the highest average PM2.5 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
646,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
647,Tabulate the monthly mean PM10 levels for Moradabad during 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
648,Tabulate average PM2.5 for each state across all months in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
649,"Show the mean, median and standard deviation of PM10 per city in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
650,List the top 20 states by PM2.5 in 2024 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
651,List citys with their PM10 violation count and rate (>100 µg/m³) in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
652,Create a table showing PM2.5 levels and population for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
653,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
654,Tabulate the monthly mean PM2.5 levels for Nagpur during 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
655,Tabulate the monthly mean PM2.5 levels for Agra during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
656,Tabulate the 15 worst citys for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
657,Create a table showing annual mean PM2.5 levels for Madhya Pradesh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
658,Generate a table showing the 5 most polluted citys based on mean PM10 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
659,Tabulate average PM2.5 for each city in Kerala across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
660,Which 5 states had the lowest mean PM2.5 in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
661,List the average PM10 for Rajasthan broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
662,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
663,List average PM2.5 by month for Moradabad in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
664,Show a table of the 20 cleanest states by average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
665,"Show the variability of PM2.5 across states in 2021 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
666,Create a statistical summary table of PM2.5 readings by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
667,Which 20 citys recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
668,Tabulate average and median PM10 for all citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
669,Generate a city × month cross-tab of mean PM10 for Andhra Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
670,"Create a table of PM2.5, PM10 and station counts by state for 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
671,Tabulate population-adjusted PM2.5 levels for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
672,Show a pivot table of monthly average PM2.5 by city for Madhya Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
673,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
674,Show the number of days each city exceeded a PM10 threshold of 150 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
675,Create a table showing annual mean PM10 levels for Agra (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
676,List average PM2.5 by month for Asansol in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
677,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
678,Tabulate area-adjusted PM10 (per km²) for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
679,Generate a city × month cross-tab of mean PM10 for Rajasthan in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
680,Tabulate the 20 worst citys for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
681,Show a table of the 15 cleanest states by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
682,List states with their average PM2.5 and area for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
683,Show a ranked table of the 10 most polluted states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
684,Tabulate the monthly mean PM10 levels for Prayagraj during 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
685,Show a pivot table of monthly average PM10 by city for Karnataka in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
686,Show PM10 exceedance count and rate (%) above 150 µg/m³ per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
687,Tabulate the 15 worst citys for average PM2.5 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
688,Show a pivot table of monthly average PM10 by city for Kerala in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Eloor', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
689,Show annual average PM2.5 for Agra as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
690,Create a summary table comparing mean PM2.5 and PM10 across states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
691,Create a table with mean and standard deviation of PM2.5 by state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
692,Create a summary table ranking the top 20 states by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
693,Show a year-wise table of average PM2.5 for Gwalior from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
694,"Show the variability of PM10 across states in 2017 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
695,Tabulate mean PM10 alongside state population figures for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
696,Tabulate the 5 citys with the least PM2.5 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
697,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
698,Generate a year-by-year summary table of PM2.5 readings for Andhra Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
699,Create a month-wise summary of average PM2.5 for Kerala in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
700,Which 15 citys recorded the highest average PM2.5 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
701,"Create a table showing top 10 states ranked by PM2.5 in 2019, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
702,Generate a year-by-year summary table of PM2.5 readings for Gaya.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
703,Tabulate mean PM10 alongside state population figures for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
704,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
705,List the top 15 states by PM2.5 in 2023 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
706,Create a summary table comparing mean PM2.5 and PM10 across states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
707,Show a monthly breakdown table of average PM2.5 for Pune in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
708,Tabulate average PM2.5 for each city in Rajasthan across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
709,Generate a city × month cross-tab of mean PM10 for Maharashtra in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
710,List how many days each city breached the PM2.5 limit of 60 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
711,Which 10 states had the lowest mean PM10 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
712,Tabulate average and median PM2.5 for all states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
713,Generate a monthly average PM2.5 table for Bihar for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
714,Which 15 citys had the lowest mean PM10 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
715,Show a table of the 15 cleanest states by average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
716,Create a month-wise PM2.5 breakdown table across cities in Uttar Pradesh for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Agra', 'Ghaziabad', 'Kanpur', 'Lucknow', 'Moradabad', 'Noida', 'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
717,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
718,List the average PM2.5 for Delhi broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
719,Show average PM10 per state in 2021 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
720,Show a table of average PM2.5 per state in 2021 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
721,List average PM2.5 by month for Nashik in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
722,Tabulate the yearly average PM10 trend for Moradabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
723,List states with their total NCAP funds received and utilisation percentage.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Total Fund (Cr)', 'col': 'Total fund released', 'fn': 'sum'},
{'alias': 'Utilised (Cr)', 'col': 'Utilisation as on June 2022', 'fn': 'sum'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': {'denominator': 'Total Fund (Cr)', 'new_col': 'Utilisation %', 'numerator': 'Utilised (Cr)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total Fund (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
724,Show a pivot table of monthly average PM10 by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Karnataka',
'Maharashtra',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
725,Create a month-wise summary of average PM10 for Ahmedabad in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
726,Show how average PM10 varied month by month for Kerala in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
727,Tabulate the yearly average PM10 trend for Nashik across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
728,List average PM10 by month for Bengaluru in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
729,List citys with their PM10 violation count and rate (>150 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
730,Show a monthly breakdown table of average PM2.5 for Meerut in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
731,Create a table showing annual mean PM2.5 levels for Thiruvananthapuram (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
732,Generate a year-by-year summary table of PM10 readings for Bihar.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
733,Tabulate the 20 citys with the least PM2.5 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
734,Create a month-wise summary of average PM10 for Moradabad in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
735,Show annual average PM2.5 for Karnataka as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
736,Create a month-wise PM2.5 breakdown table across cities in Bihar for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Begusarai',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
737,"Show the mean, median and standard deviation of PM10 per state in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
738,Tabulate the monthly mean PM10 levels for Bhilai during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhilai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
739,"Create a table of PM2.5, PM10 and station counts by state for 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
740,"Create a table of NCAP funds released in FY 2019-20, 2020-21, and 2021-22 by state.","
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ { 'alias': 'FY 2019-20 (Cr)',
'col': 'Amount released during FY 2019-20',
'fn': 'sum'},
{ 'alias': 'FY 2020-21 (Cr)',
'col': 'Amount released during FY 2020-21',
'fn': 'sum'},
{ 'alias': 'FY 2021-22 (Cr)',
'col': 'Amount released during FY 2021-22',
'fn': 'sum'},
{'alias': 'Total (Cr)', 'col': 'Total fund released', 'fn': 'sum'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
741,Generate a city × month cross-tab of mean PM10 for Andhra Pradesh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
742,Show a monthly breakdown table of average PM2.5 for Tamil Nadu in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
743,Tabulate average PM10 for each city in Punjab across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
744,Show a monthly breakdown table of average PM10 for Jaipur in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
745,Create a table showing annual mean PM10 levels for Maharashtra (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
746,Show a table of the 15 cleanest citys by average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
747,Show average PM2.5 per capita by state in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
748,Show annual average PM10 for Bhopal as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
749,Create a month-wise summary of average PM10 for Asansol in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
750,Tabulate the 15 citys with the least PM10 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
751,Tabulate the 20 worst citys for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
752,Generate a year-by-year summary table of PM10 readings for Guwahati.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
753,Create a summary table ranking the top 20 states by PM10 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
754,"Show the variability of PM10 across citys in 2019 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
755,"Tabulate PM2.5 levels, population, and land area per state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
756,Show a pivot table of monthly average PM2.5 by city for Rajasthan in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
757,List average PM10 by month for Mumbai in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
758,Which 10 states recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
759,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
760,Generate a city × month cross-tab of mean PM2.5 for Andhra Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
761,Generate a year-by-year summary table of PM10 readings for Solapur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
762,Create a summary table comparing mean PM2.5 and PM10 across states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
763,Show a table of the 15 cleanest citys by average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
764,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
765,Generate a city × month cross-tab of mean PM10 for Uttar Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ghaziabad', 'Moradabad', 'Noida', 'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
766,Tabulate the monthly mean PM2.5 levels for Mizoram during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
767,Which 20 states recorded the highest average PM10 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
768,Show a pivot table of monthly average PM2.5 by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
769,Tabulate average and median PM10 for all states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
770,"Show a table of average PM2.5, population, and area for all states in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
771,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
772,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
773,Tabulate average and median PM2.5 for all states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
774,Show annual average PM2.5 for Bhilai as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhilai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
775,Create a table of PM10 standard violations (>100 µg/m³) per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
776,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
777,Show annual average PM2.5 for Kerala as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
778,List the top 5 states by PM2.5 in 2021 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
779,Which 20 citys had the lowest mean PM2.5 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
780,Tabulate both PM2.5 and PM10 averages by city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
781,Create a month-wise PM2.5 breakdown table across cities in Rajasthan for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
782,Tabulate the yearly average PM10 trend for Meghalaya across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
783,Generate a monthly average PM2.5 table for Patna for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
784,Show a table of the 5 cleanest citys by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
785,List the top 10 states by average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
786,Tabulate the 15 states with the least PM10 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
787,Which 15 states recorded the highest average PM2.5 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
788,Tabulate average PM2.5 for each state across all months in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
789,Create a month-wise PM10 breakdown table across cities in Andhra Pradesh for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
790,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
791,List average PM2.5 by month for Kanpur in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
792,Show a year-wise table of average PM10 for Delhi from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
793,Generate a city × month cross-tab of mean PM10 for Rajasthan in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
794,Create a summary table ranking the top 5 states by PM2.5 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
795,Generate a table showing the 20 most polluted citys based on mean PM10 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
796,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
797,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
798,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
799,Generate a monthly average PM2.5 table for Lucknow for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
800,"Show mean, median, minimum, and maximum PM10 for each state in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
801,Tabulate the top 10 citys for PM2.5 in 2017 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
802,Create a month-wise PM2.5 breakdown table across cities in Assam for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Byrnihat', 'Guwahati', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
803,Tabulate average PM2.5 for each state across all months in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
804,Create a table showing PM10 levels and population for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
805,"Create a table showing top 15 citys ranked by PM2.5 in 2019, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
806,Show PM2.5 averages in a state × month matrix for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
807,Generate a city × month cross-tab of mean PM10 for Gujarat in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
808,Show how average PM10 varied month by month for Lucknow in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
809,Create a month-wise PM2.5 breakdown table across cities in Gujarat for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
810,"Show mean, median, minimum, and maximum PM2.5 for each state in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
811,Tabulate the yearly average PM10 trend for Maharashtra across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
812,Show how average PM10 varied month by month for Tamil Nadu in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
813,Show how average PM2.5 varied month by month for Rajasthan in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
814,Which 15 states had the lowest mean PM2.5 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
815,Create a month-wise summary of average PM2.5 for Durgapur in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
816,Create a month-wise PM2.5 breakdown table across cities in Bihar for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
817,Show PM2.5 averages in a state × month matrix for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Haryana',
'Karnataka',
'Maharashtra',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
818,Show a ranked table of the 5 most polluted states by average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
819,Tabulate the top 5 states for PM2.5 in 2022 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
820,Generate a city × month cross-tab of mean PM10 for West Bengal in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
821,Show a monthly breakdown table of average PM2.5 for Gurugram in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
822,Show annual average PM2.5 for Gaya as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
823,Tabulate the top 10 states for PM2.5 in 2020 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
824,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
825,Tabulate mean PM2.5 alongside state population figures for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
826,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
827,Create a table of PM2.5 per unit area for all states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
828,Create a month-by-state breakdown table of mean PM10 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
829,"Show a table of average PM2.5, population, and area for all states in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
830,Create a summary table comparing mean PM2.5 and PM10 across states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
831,List the bottom 20 states with the lowest average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
832,Tabulate the 20 states with the least PM10 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
833,"Create a comprehensive state summary with PM10, population, and area for 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
834,Create a table of PM10 standard violations (>100 µg/m³) per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
835,List the top 20 states by average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
836,Show a monthly breakdown table of average PM2.5 for Gujarat in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
837,Generate a year-by-year summary table of PM10 readings for Telangana.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
838,Show a pivot table of monthly average PM10 by city for Karnataka in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Tumakuru',
'Udupi',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
839,Create a month-wise PM2.5 breakdown table across cities in Karnataka for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chikkaballapur',
'Chikkamagaluru',
'Mysuru',
'Ramanagara',
'Shivamogga']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
840,Generate a table showing the 15 most polluted states based on mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
841,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
842,Show a table of the top 15 citys by average PM2.5 in 2024 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
843,List the bottom 5 citys with the lowest average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
844,Generate a monthly average PM10 table for Maharashtra for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
845,Create a table of state PM10 levels and geographic area for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
846,Create a table showing PM2.5 levels and population for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
847,Generate a descriptive stats table for PM2.5 grouped by state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
848,"Tabulate the distribution of PM2.5 per city in 2023 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
849,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
850,Show a table of the 15 cleanest citys by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
851,Create a table of PM10 standard violations (>100 µg/m³) per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
852,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
853,List how many days each state breached the PM10 limit of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
854,List how many days each state breached the PM2.5 limit of 60 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
855,Which 20 states recorded the highest average PM2.5 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
856,Show how many times PM10 exceeded 150 µg/m³ per day across states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
857,Generate a year-by-year summary table of PM2.5 readings for Himachal Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
858,Generate a city × month cross-tab of mean PM2.5 for Maharashtra in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Aurangabad', 'Chandrapur', 'Nagpur', 'Nashik', 'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
859,Show how average PM10 varied month by month for Gwalior in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
860,Create a month-by-state breakdown table of mean PM2.5 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
861,Show a table of the top 5 states by average PM2.5 in 2020 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
862,List the average PM10 for Gwalior broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
863,"Show the mean, median and standard deviation of PM2.5 per state in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
864,Create a summary table ranking the top 15 citys by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
865,Show PM10 exceedance count and rate (%) above 100 µg/m³ per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
866,Show a ranked table of the 20 most polluted citys by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
867,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
868,Generate a city × month cross-tab of mean PM10 for Madhya Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
869,Show a monthly breakdown table of average PM2.5 for Varanasi in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
870,Show a monthly breakdown table of average PM10 for Solapur in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
871,Create a month-wise PM2.5 breakdown table across cities in West Bengal for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Asansol', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
872,Create a table with mean and standard deviation of PM2.5 by state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
873,Tabulate mean PM10 and land area for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
874,Tabulate average and median PM10 for all states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
875,List the bottom 10 citys with the lowest average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
876,List the top 5 states by average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
877,List average PM10 by month for Asansol in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
878,Show a ranked table of the 5 most polluted citys by average PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
879,List the bottom 5 citys with the lowest average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
880,Show a monthly breakdown table of average PM10 for Mumbai in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
881,Show a pivot table of monthly average PM10 by city for Bihar in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Darbhanga',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
882,List how many days each city breached the PM2.5 limit of 60 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
883,Create a statistical summary table of PM2.5 readings by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
884,Show a table of the 5 cleanest states by average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
885,Generate a monthly average PM2.5 table for Himachal Pradesh for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
886,List citys with their PM10 violation count and rate (>150 µg/m³) in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
887,Generate a year-by-year summary table of PM2.5 readings for Meghalaya.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
888,Create a summary table ranking the top 20 citys by PM2.5 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
889,Show a table of the 15 cleanest citys by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
890,Generate a city × month cross-tab of mean PM10 for Madhya Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Damoh',
'Dewas',
'Mandideep',
'Pithampur',
'Ratlam',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
891,Show a pivot table of monthly average PM2.5 by city for Kerala in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
892,Generate a table showing the 10 most polluted citys based on mean PM2.5 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
893,Show a table of the top 10 citys by average PM2.5 in 2023 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
894,Show how average PM10 varied month by month for Kota in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
895,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
896,List the top 5 citys by average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
897,Create a ranked table of the 15 best-performing states by PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
898,Generate a year-by-year summary table of PM10 readings for Assam.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
899,Which 5 states recorded the highest average PM2.5 levels in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
900,Generate a year-by-year summary table of PM2.5 readings for Guwahati.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
901,Which 20 states had the lowest mean PM10 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
902,List how many days each city breached the PM10 limit of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
903,Generate a table showing the 20 most polluted citys based on mean PM2.5 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
904,List the bottom 15 citys with the lowest average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
905,Create a month-wise summary of average PM10 for Kerala in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
906,Create a month-wise summary of average PM2.5 for Jodhpur in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
907,Generate a cross-tab of state vs month for average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
908,Generate a table showing the 20 most polluted states based on mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
909,Show a monthly breakdown table of average PM10 for Solapur in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
910,Generate a monthly average PM2.5 table for Pune for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
911,Tabulate the yearly average PM2.5 trend for Kerala across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
912,Which 10 citys recorded the highest average PM10 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
913,Show a ranked table of the 15 most polluted citys by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
914,Tabulate the top 5 states for PM2.5 in 2017 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
915,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
916,Generate a descriptive stats table for PM10 grouped by city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
917,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
918,Create a ranked table of the 5 best-performing citys by PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
919,Create a summary table ranking the top 15 citys by PM2.5 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
920,Show a year-wise table of average PM10 for Bihar from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
921,Tabulate the 15 states with the least PM10 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
922,Show a year-wise table of average PM10 for Moradabad from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
923,List the bottom 15 citys with the lowest average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
924,List the bottom 5 citys with the lowest average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
925,List the average PM10 for Jammu and Kashmir broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
926,Show a pivot table of monthly average PM10 by city for Haryana in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra ',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal ',
'Panipat',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
927,List the top 5 citys by average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
928,Generate a city × month cross-tab of mean PM10 for Punjab in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
929,Show a table of the top 5 citys by average PM2.5 in 2024 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
930,Create a table with mean and standard deviation of PM2.5 by city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
931,Show a table of the 5 cleanest states by average PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
932,Show a table of the 5 cleanest states by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
933,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
934,Create a statistical summary table of PM10 readings by city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
935,Show a pivot table of monthly average PM10 by city for Bihar in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
936,List the bottom 15 states with the lowest average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
937,Create a table showing annual mean PM2.5 levels for Karnataka (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
938,Show a table of the 5 cleanest citys by average PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
939,Show a pivot table of monthly average PM10 by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
940,Show a monthly breakdown table of average PM10 for Uttar Pradesh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
941,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
942,Show a table of the top 15 states by average PM2.5 in 2019 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
943,List all states with their average PM2.5 and population for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
944,Generate a year-by-year summary table of PM2.5 readings for Gwalior.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
945,Generate a city × month cross-tab of mean PM2.5 for Rajasthan in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
946,Create a table showing annual mean PM2.5 levels for Kolkata (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
947,Show a year-wise table of average PM10 for Mizoram from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
948,Tabulate mean PM10 alongside state population figures for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
949,Generate a monthly average PM2.5 table for Madhya Pradesh for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
950,Show a pivot table of monthly average PM2.5 by city for Haryana in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Faridabad', 'Gurugram', 'Panchkula', 'Rohtak']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
951,Tabulate the monthly mean PM2.5 levels for Gurugram during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
952,"Tabulate the distribution of PM10 per city in 2021 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
953,Which 10 states recorded the highest average PM10 levels in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
954,Tabulate the 20 states with the least PM10 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
955,List the bottom 10 citys with the lowest average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
956,Create a month-wise PM2.5 breakdown table across cities in Uttar Pradesh for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
957,Show a year-wise table of average PM10 for Solapur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
958,Show how average PM2.5 varied month by month for Delhi in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
959,Create a month-wise PM10 breakdown table across cities in Andhra Pradesh for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
960,List the average PM2.5 for Kolkata broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
961,"Show the mean, median and standard deviation of PM2.5 per city in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
962,Tabulate the 5 worst states for average PM10 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
963,Tabulate the yearly average PM2.5 trend for Gurugram across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
964,Tabulate the 10 worst states for average PM10 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
965,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
966,Show how average PM2.5 varied month by month for Telangana in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
967,Show average PM10 per state in 2022 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
968,Tabulate the 20 worst states for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
969,Tabulate average PM10 for each city in West Bengal across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
970,List the bottom 20 citys with the lowest average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
971,Show a monthly breakdown table of average PM2.5 for Bengaluru in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
972,Create a month-wise summary of average PM2.5 for Bihar in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
973,Create a table showing annual mean PM10 levels for Gurugram (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
974,"Show the mean, median and standard deviation of PM2.5 per state in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
975,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
976,List the average PM10 for Ghaziabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
977,Show how average PM2.5 varied month by month for Jaipur in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
978,Create a month-wise PM10 breakdown table across cities in Karnataka for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Tumakuru',
'Udupi',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
979,Create a month-wise PM10 breakdown table across cities in West Bengal for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
980,Show a year-wise table of average PM10 for Raipur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
981,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
982,Create a table of PM10 exceedance frequency above 150 µg/m³ by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
983,Generate a table showing the 20 most polluted states based on mean PM2.5 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
984,Create a summary table ranking the top 15 states by PM10 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
985,Tabulate the yearly average PM10 trend for Gurugram across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
986,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
987,List states with their PM10 violation count and rate (>150 µg/m³) in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
988,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
989,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
990,List average PM10 by month for Ghaziabad in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
991,Generate a monthly average PM2.5 table for Meerut for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
992,Generate a year-by-year summary table of PM2.5 readings for Jaipur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
993,Create a month-wise PM10 breakdown table across cities in Madhya Pradesh for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Dewas', 'Mandideep', 'Pithampur', 'Singrauli', 'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
994,Generate a cross-tab of state vs month for average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
995,Tabulate the 15 worst states for average PM10 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
996,Show a monthly breakdown table of average PM2.5 for Rajasthan in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
997,Tabulate the 10 worst citys for average PM10 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
998,Show a table of average PM10 per state in 2017 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
999,"Create a table showing top 5 states ranked by PM2.5 in 2023, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1000,Show PM10 density (µg/m³ per km²) by state for 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1001,List states ranked by PM10 concentration relative to their area in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1002,Tabulate the monthly mean PM2.5 levels for Hyderabad during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1003,Show a pivot table of monthly average PM2.5 by city for West Bengal in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Asansol', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1004,List the average PM2.5 for Durgapur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1005,Show a year-wise table of average PM2.5 for Asansol from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1006,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1007,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1008,Generate a descriptive stats table for PM10 grouped by city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1009,Tabulate the 20 worst states for average PM2.5 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1010,Tabulate the 5 citys with the least PM2.5 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1011,Show a monthly breakdown table of average PM10 for Bengaluru in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1012,Tabulate the 15 citys with the least PM10 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1013,"Tabulate the distribution of PM2.5 per state in 2018 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1014,Create a month-wise PM2.5 breakdown table across cities in Odisha for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1015,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1016,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1017,Create a month-wise summary of average PM10 for Meerut in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1018,Create a table showing annual mean PM10 levels for Varanasi (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1019,Create a table of PM10 standard violations (>100 µg/m³) per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1020,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1021,Show how average PM10 varied month by month for Nagaland in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1022,"Tabulate PM2.5 levels, population, and land area per state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1023,Show a pivot table of monthly average PM2.5 by city for Karnataka in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Karwar',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1024,Create a table showing annual mean PM2.5 levels for Guwahati (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1025,List average PM10 by month for Delhi in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1026,Tabulate the 10 states with the least PM2.5 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1027,"Show mean, median, minimum, and maximum PM2.5 for each state in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1028,Create a ranked table of the 10 best-performing states by PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1029,Create a table with mean and standard deviation of PM10 by city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1030,List how many days each state breached the PM2.5 limit of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1031,Show how average PM10 varied month by month for Tripura in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1032,List average PM10 by month for Jaipur in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1033,Generate a monthly average PM2.5 table for Tamil Nadu for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1034,Tabulate the 20 worst states for average PM10 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1035,List all states with their average PM2.5 and PM10 levels in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1036,Tabulate mean PM2.5 and land area for each state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1037,Tabulate the 20 citys with the least PM10 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1038,Create a summary table ranking the top 5 citys by PM2.5 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1039,List the bottom 10 states with the lowest average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1040,Show annual average PM2.5 for Puducherry as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1041,Show a table of the 10 cleanest citys by average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1042,Create a summary table ranking the top 15 citys by PM2.5 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1043,List the bottom 10 states with the lowest average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1044,Tabulate average and median PM10 for all states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1045,List average PM2.5 by month for Andhra Pradesh in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1046,List the top 20 citys by average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1047,Generate a descriptive stats table for PM2.5 grouped by city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1048,List states ranked by PM10 concentration relative to their area in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1049,Create a ranked table of the 10 best-performing states by PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1050,Show a year-wise table of average PM10 for Meerut from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1051,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1052,List the top 20 states by PM2.5 in 2021 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1053,List the average PM10 for Bengaluru broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1054,Generate a table showing the 10 most polluted states based on mean PM10 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1055,Show a year-wise table of average PM2.5 for Raipur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1056,Create a state × year breakdown table of mean PM10 from 2017 to 2024.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1057,Generate a year-by-year summary table of PM2.5 readings for Assam.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1058,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1059,Tabulate the 20 worst states for average PM10 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1060,Tabulate the yearly average PM10 trend for Haryana across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1061,Which 10 citys had the lowest mean PM10 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1062,Show a year-wise table of average PM10 for Prayagraj from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1063,Show a table of average PM10 per state in 2019 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1064,Generate a year-by-year summary table of PM10 readings for Delhi.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1065,List all citys with their average PM2.5 and PM10 levels in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1066,Tabulate the 20 worst citys for average PM10 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1067,"Show mean, median, minimum, and maximum PM10 for each state in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1068,Tabulate average PM10 for each city in Punjab across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1069,Create a month-wise summary of average PM10 for Agra in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1070,Show a monthly breakdown table of average PM2.5 for Aurangabad in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1071,Which 20 states had the lowest mean PM10 in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1072,Show annual average PM10 for Kanpur as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1073,Tabulate daily PM10 exceedances (above 150 µg/m³) per state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1074,List the bottom 20 states with the lowest average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1075,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1076,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1077,Which 15 citys recorded the highest average PM2.5 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1078,List the bottom 10 states with the lowest average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1079,Show a pivot table of monthly average PM2.5 by city for Uttar Pradesh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1080,Show average PM10 per state in 2018 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1081,Show how average PM10 varied month by month for Puducherry in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1082,Create a month-wise summary of average PM10 for Bihar in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1083,"Create a table showing top 15 states ranked by PM2.5 in 2021, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1084,Show a ranked table of the 20 most polluted states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1085,"Create a comprehensive state summary with PM2.5, population, and area for 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1086,Show annual average PM10 for Gujarat as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1087,Create a month-wise summary of average PM10 for Mizoram in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1088,Generate a table showing the 5 most polluted states based on mean PM2.5 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1089,Tabulate daily PM10 exceedances (above 150 µg/m³) per state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1090,Tabulate the top 20 citys for PM2.5 in 2021 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1091,List the bottom 5 states with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1092,Tabulate both PM2.5 and PM10 averages by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1093,Show a table of the top 15 states by average PM2.5 in 2023 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1094,Create a table of PM10 standard violations (>100 µg/m³) per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1095,Generate a monthly average PM2.5 table for Delhi for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1096,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1097,Which 5 citys had the lowest mean PM2.5 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1098,Create a statistical summary table of PM10 readings by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1099,"Create a table of PM2.5, PM10 and station counts by state for 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1100,Show a year-wise table of average PM2.5 for Thiruvananthapuram from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1101,Tabulate the monthly mean PM10 levels for Meerut during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1102,Generate a table showing the 15 most polluted citys based on mean PM2.5 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1103,Tabulate mean PM2.5 alongside state population figures for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1104,List the top 20 citys by average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1105,Show a pivot table of monthly average PM10 by city for Karnataka in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hubballi',
'Kalaburagi',
'Kolar',
'Koppal',
'Madikeri',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1106,Create a table of state PM10 levels and geographic area for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1107,Create a statistical summary table of PM2.5 readings by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1108,Tabulate the monthly mean PM2.5 levels for Jammu and Kashmir during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1109,Tabulate the yearly average PM2.5 trend for Rajasthan across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1110,Tabulate the 20 citys with the least PM10 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1111,Create a ranked table of the 5 best-performing states by PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1112,List average PM10 by month for Rajasthan in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1113,Create a month-wise PM2.5 breakdown table across cities in Tamil Nadu for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chengalpattu',
'Chennai',
'Coimbatore',
'Cuddalore',
'Gummidipoondi',
'Ooty',
'Palkalaiperur',
'Ramanathapuram',
'Tirupur',
'Vellore',
'Virudhunagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1114,Generate a table showing the 5 most polluted states based on mean PM2.5 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1115,Create a table of PM10 standard violations (>150 µg/m³) per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1116,Create a summary table ranking the top 20 citys by PM10 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1117,List average PM10 by month for Tamil Nadu in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1118,Tabulate the monthly mean PM2.5 levels for Maharashtra during 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1119,Generate a table showing the 20 most polluted states based on mean PM10 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1120,Which 10 states recorded the highest average PM10 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1121,Show the number of days each state exceeded a PM2.5 threshold of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1122,Tabulate average PM10 for each city in Assam across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Byrnihat', 'Guwahati', 'Nagaon', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1123,Show a year-wise table of average PM2.5 for Chandigarh from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1124,Tabulate the yearly average PM2.5 trend for Thiruvananthapuram across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1125,List the top 20 states by average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1126,Tabulate the 5 worst states for average PM2.5 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1127,"Tabulate the distribution of PM2.5 per state in 2023 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1128,List how many days each state breached the PM10 limit of 150 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1129,"Create a table of PM2.5, PM10 and station counts by state for 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1130,Show a year-wise table of average PM2.5 for Jaipur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1131,Tabulate the 5 worst citys for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1132,List the average PM2.5 for Kanpur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1133,Tabulate mean PM2.5 alongside state population figures for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1134,Create a table showing annual mean PM10 levels for Indore (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1135,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1136,Tabulate the monthly mean PM10 levels for Meerut during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1137,Tabulate the yearly average PM2.5 trend for Kanpur across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1138,Tabulate mean PM2.5 and land area for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1139,Generate a monthly average PM10 table for Nagpur for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1140,Create a table showing annual mean PM2.5 levels for Nagpur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1141,Create a statistical summary table of PM10 readings by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1142,Tabulate both PM2.5 and PM10 averages by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1143,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1144,Show the number of days each city exceeded a PM10 threshold of 150 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1145,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1146,Show a pivot table of monthly average PM10 by city for Karnataka in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chikkaballapur',
'Chikkamagaluru',
'Kolar',
'Mysuru',
'Ramanagara']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1147,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1148,List citys with their PM10 violation count and rate (>100 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1149,"Show the variability of PM2.5 across citys in 2020 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1150,Show a monthly breakdown table of average PM10 for Bengaluru in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1151,Create a month-wise PM10 breakdown table across cities in Punjab for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1152,Which 15 states recorded the highest average PM2.5 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1153,Show a table of the 5 cleanest states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1154,Show annual average PM10 for Guwahati as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1155,Show average PM10 per state in 2017 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1156,Tabulate the top 5 citys for PM2.5 in 2019 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1157,Create a table of PM10 per unit area for all states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1158,Create a month-wise PM10 breakdown table across cities in West Bengal for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Durgapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1159,Show PM10 exceedance count and rate (%) above 150 µg/m³ per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1160,Create a month-wise PM2.5 breakdown table across cities in Bihar for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Darbhanga',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1161,Show a year-wise table of average PM10 for Muzaffarpur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1162,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1163,Create a summary table comparing mean PM2.5 and PM10 across citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1164,Create a month-wise summary of average PM2.5 for Bengaluru in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1165,Create a month-wise PM10 breakdown table across cities in Uttar Pradesh for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1166,Which 15 citys recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1167,Which 20 states recorded the highest average PM2.5 levels in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1168,List the top 20 states by average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1169,Show a table of average PM2.5 per state in 2018 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1170,List citys with their PM10 violation count and rate (>150 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1171,Create a month-wise summary of average PM2.5 for Asansol in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1172,Show a monthly breakdown table of average PM2.5 for Kerala in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1173,Generate a descriptive stats table for PM10 grouped by state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1174,Show a year-wise table of average PM10 for Puducherry from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1175,Generate a descriptive stats table for PM2.5 grouped by city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1176,Tabulate the 15 states with the least PM10 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1177,"List each state's average PM2.5, PM10, and how many stations it has in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1178,Tabulate the monthly mean PM10 levels for Kolkata during 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1179,"Show the variability of PM2.5 across citys in 2023 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1180,Create a statistical summary table of PM10 readings by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1181,List the bottom 15 states with the lowest average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1182,List average PM10 by month for Jodhpur in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1183,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1184,Show average PM2.5 per state in 2018 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1185,Create a month-wise summary of average PM10 for Jaipur in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1186,Tabulate the 15 citys with the least PM2.5 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1187,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1188,Create a table with mean and standard deviation of PM2.5 by city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1189,List the top 15 citys by average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1190,Show annual average PM10 for Maharashtra as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1191,Tabulate mean PM10 alongside state population figures for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1192,Create a table of PM10 exceedance frequency above 100 µg/m³ by city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1193,Create a table of state PM2.5 levels and geographic area for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1194,Show a monthly breakdown table of average PM10 for Rajasthan in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1195,Show a year-wise table of average PM10 for Nagaland from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1196,List average PM2.5 by month for Jammu and Kashmir in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1197,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1198,Show PM10 exceedance count and rate (%) above 100 µg/m³ per city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1199,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1200,Generate a table showing the 5 most polluted citys based on mean PM10 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1201,Create a month-wise PM10 breakdown table across cities in Kerala for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Ernakulam',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1202,Tabulate the monthly mean PM10 levels for Tripura during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1203,Create a table showing annual mean PM10 levels for Durgapur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1204,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1205,Tabulate the 5 worst citys for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1206,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1207,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1208,Show PM10 exceedance count and rate (%) above 100 µg/m³ per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1209,Show a year-wise table of average PM2.5 for Mizoram from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1210,"Show the variability of PM10 across citys in 2020 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1211,Show annual average PM10 for Gwalior as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1212,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1213,Tabulate average PM10 for each city in Tamil Nadu across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chennai',
'Gummidipoondi',
'Hosur',
'Kanchipuram',
'Ooty',
'Ramanathapuram',
'Salem',
'Thoothukudi',
'Tirupur',
'Vellore']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1214,Generate a year-by-year summary table of PM2.5 readings for Asansol.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1215,Create a ranked table of the 20 best-performing states by PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1216,Which 5 states had the lowest mean PM2.5 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1217,Tabulate the 15 citys with the least PM10 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1218,Tabulate the monthly mean PM10 levels for Jodhpur during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1219,Generate a city × month cross-tab of mean PM10 for Bihar in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1220,List all states with their average PM10 and population for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1221,"Show the variability of PM2.5 across states in 2023 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1222,Create a ranked table of the 5 best-performing citys by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1223,List average PM2.5 by month for Tamil Nadu in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1224,Show a year-wise table of average PM2.5 for Puducherry from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1225,Generate a table showing the 5 most polluted citys based on mean PM2.5 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1226,Show the number of days each state exceeded a PM10 threshold of 150 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1227,Show PM2.5 averages in a state × month matrix for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1228,Show a ranked table of the 5 most polluted states by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1229,Show PM2.5 density (µg/m³ per km²) by state for 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1230,Show a monthly breakdown table of average PM10 for Delhi in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1231,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1232,"Create a comprehensive state summary with PM10, population, and area for 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1233,Tabulate average PM10 for each city in Andhra Pradesh across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1234,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1235,Show a table of the 20 cleanest states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1236,Show how average PM2.5 varied month by month for Madhya Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1237,Which 20 citys recorded the highest average PM2.5 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1238,Generate a monthly average PM10 table for West Bengal for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1239,Tabulate average PM10 for each city in Karnataka across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Karwar',
'Kolar',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Ramanagara',
'Shivamogga',
'Udupi',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1240,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1241,Create a per-capita PM10 summary table by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1242,List states ranked by PM10 concentration relative to their area in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1243,Show the number of days each city exceeded a PM10 threshold of 100 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1244,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1245,Which 20 states recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1246,Show a table of the top 10 states by average PM2.5 in 2022 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1247,Tabulate the yearly average PM2.5 trend for West Bengal across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1248,Show PM10 averages in a state × month matrix for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1249,Create a table with mean and standard deviation of PM2.5 by city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1250,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1251,Tabulate mean PM2.5 and land area for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1252,Create a summary table ranking the top 20 citys by PM10 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1253,Generate a monthly average PM2.5 table for Pune for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1254,Create a table showing annual mean PM2.5 levels for Nashik (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1255,Tabulate average PM10 for each state across all months in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1256,Which 10 states had the lowest mean PM2.5 in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1257,Generate a city × month cross-tab of mean PM2.5 for Gujarat in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1258,Create a table showing annual mean PM2.5 levels for Raipur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1259,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1260,Show a table of the 20 cleanest citys by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1261,"Show the mean, median and standard deviation of PM10 per state in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1262,Tabulate the 15 states with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1263,Which 5 states recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1264,Show a monthly breakdown table of average PM2.5 for Guwahati in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1265,Tabulate the 5 worst citys for average PM10 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1266,Generate a year-by-state matrix of average PM2.5 for all available years.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1267,Tabulate the 15 states with the least PM10 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1268,"Show mean, median, minimum, and maximum PM10 for each city in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1269,List states ranked by PM10 concentration relative to their area in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1270,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1271,Tabulate average PM2.5 for each city in Andhra Pradesh across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1272,Show the number of days each city exceeded a PM10 threshold of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1273,List states with their PM10 violation count and rate (>100 µg/m³) in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1274,Tabulate average and median PM2.5 for all citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1275,Tabulate average PM2.5 for each city in Punjab across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1276,Create a statistical summary table of PM10 readings by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1277,Show annual average PM2.5 for Chandigarh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1278,Tabulate the monthly mean PM10 levels for Thiruvananthapuram during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1279,Tabulate the yearly average PM2.5 trend for Prayagraj across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1280,"Tabulate the distribution of PM2.5 per city in 2018 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1281,Tabulate the monthly mean PM10 levels for Kerala during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1282,Generate a city × month cross-tab of mean PM10 for Bihar in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1283,Which 15 states had the lowest mean PM2.5 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1284,Create a table showing PM10 levels and population for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1285,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1286,Create a summary table ranking the top 20 citys by PM2.5 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1287,Tabulate average and median PM10 for all citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1288,Show how average PM2.5 varied month by month for Haryana in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1289,List the bottom 20 states with the lowest average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1290,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1291,Tabulate mean PM10 and land area for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1292,Tabulate both PM2.5 and PM10 averages by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1293,Which 10 citys had the lowest mean PM2.5 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1294,"Tabulate the distribution of PM10 per state in 2019 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1295,Tabulate the yearly average PM10 trend for Mizoram across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1296,Show how average PM10 varied month by month for Gandhinagar in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1297,Generate a table showing the 5 most polluted states based on mean PM10 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1298,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1299,Tabulate average PM10 for each city in Haryana across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra ',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal ',
'Panipat',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1300,Which 20 states recorded the highest average PM2.5 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1301,List the bottom 20 states with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1302,Show how average PM2.5 varied month by month for Gujarat in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1303,Show how many times PM2.5 exceeded 60 µg/m³ per day across states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1304,Create a month-wise summary of average PM2.5 for Telangana in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1305,Show a year-wise table of average PM10 for Hyderabad from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1306,List average PM2.5 by month for Agra in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1307,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1308,Create a month-wise PM10 breakdown table across cities in Haryana for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panipat',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1309,Tabulate average PM10 for each city in Andhra Pradesh across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1310,Generate a year-by-year summary table of PM10 readings for Gandhinagar.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1311,Show annual average PM2.5 for Bihar as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1312,"Create a table showing top 20 states ranked by PM2.5 in 2017, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1313,Create a ranked table of the 20 best-performing citys by PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1314,"Tabulate the distribution of PM10 per city in 2022 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1315,Create a month-wise PM10 breakdown table across cities in Bihar for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1316,Create a ranked table of the 5 best-performing citys by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1317,Show PM2.5 averages in a state × month matrix for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1318,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1319,Generate a city × month cross-tab of mean PM2.5 for West Bengal in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1320,Generate a city × month cross-tab of mean PM2.5 for Kerala in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Ernakulam', 'Kochi', 'Kozhikode', 'Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1321,List the top 20 citys by PM2.5 in 2017 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1322,Tabulate the 5 citys with the least PM10 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1323,"Show the mean, median and standard deviation of PM10 per state in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1324,Generate a table showing the 20 most polluted states based on mean PM2.5 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1325,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1326,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1327,Show annual average PM10 for Chennai as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1328,Show the number of days each city exceeded a PM10 threshold of 100 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1329,List citys with their PM2.5 violation count and rate (>100 µg/m³) in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1330,Tabulate average PM2.5 for each city in Maharashtra across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ahmednagar',
'Akola',
'Amravati',
'Aurangabad',
'Badlapur',
'Belapur',
'Bhiwandi',
'Boisar',
'Chandrapur',
'Dhule',
'Jalgaon',
'Jalna',
'Kalyan',
'Kolhapur',
'Latur',
'Mahad',
'Malegaon',
'Mira-Bhayandar',
'Mumbai',
'Nagpur',
'Nanded',
'Nashik',
'Navi Mumbai',
'Parbhani',
'Pimpri-Chinchwad',
'Pune',
'Sangli',
'Solapur',
'Thane',
'Ulhasnagar',
'Virar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1331,Create a summary table comparing mean PM2.5 and PM10 across citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1332,Create a table of PM10 standard violations (>100 µg/m³) per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1333,List average PM10 by month for Chandigarh in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1334,Tabulate area-adjusted PM10 (per km²) for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1335,Tabulate the monthly mean PM2.5 levels for Noida during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1336,List average PM10 by month for Noida in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1337,Show a ranked table of the 10 most polluted states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1338,List states by PM2.5 concentration per million inhabitants in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1339,Which 15 states had the lowest mean PM2.5 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1340,List the average PM10 for Tamil Nadu broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1341,"Show mean, median, minimum, and maximum PM2.5 for each state in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1342,Create a month-wise summary of average PM2.5 for Muzaffarpur in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1343,Tabulate average PM10 for each city in Bihar across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Begusarai',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1344,List the bottom 20 citys with the lowest average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1345,List states ranked by PM10 concentration relative to their area in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1346,Show a year-wise table of average PM2.5 for Indore from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1347,List the bottom 5 citys with the lowest average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1348,Create a table showing PM10 spread (min to max) and central tendency per state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1349,Generate a city × month cross-tab of mean PM2.5 for Maharashtra in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1350,Create a month-wise PM10 breakdown table across cities in Tamil Nadu for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chengalpattu',
'Chennai',
'Cuddalore',
'Gummidipoondi',
'Ooty',
'Palkalaiperur',
'Ramanathapuram',
'Thoothukudi',
'Tirupur',
'Vellore',
'Virudhunagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1351,Tabulate the 15 worst states for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1352,Tabulate the 15 worst states for average PM10 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1353,Tabulate the yearly average PM2.5 trend for Bengaluru across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1354,Which 15 states recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1355,Show a table of the 10 cleanest states by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1356,Create a month-wise summary of average PM10 for Ahmedabad in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1357,Create a month-wise PM10 breakdown table across cities in Odisha for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baripada',
'Bileipada',
'Brajrajnagar',
'Keonjhar',
'Nayagarh',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1358,Tabulate the 15 citys with the least PM2.5 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1359,Tabulate the yearly average PM10 trend for West Bengal across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1360,List the average PM10 for Meerut broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1361,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1362,Show how many times PM2.5 exceeded 60 µg/m³ per day across states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1363,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1364,Create a month-wise PM2.5 breakdown table across cities in Andhra Pradesh for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1365,"Show mean, median, minimum, and maximum PM10 for each city in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1366,List average PM10 by month for Meghalaya in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1367,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1368,Tabulate how average PM2.5 changed year by year for each state.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1369,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1370,Generate a table showing the 10 most polluted states based on mean PM10 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1371,Show how average PM2.5 varied month by month for West Bengal in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1372,List the average PM2.5 for Ghaziabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1373,Generate a descriptive stats table for PM2.5 grouped by city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1374,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1375,"Show the variability of PM10 across states in 2020 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1376,Tabulate the yearly average PM2.5 trend for Puducherry across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1377,List states with their average PM10 and area for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1378,Show a pivot table of monthly average PM10 by city for Tamil Nadu in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi', 'Thoothukudi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1379,Tabulate the top 20 states for PM2.5 in 2020 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1380,List the bottom 20 citys with the lowest average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1381,Create a summary table ranking the top 10 states by PM2.5 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1382,Which 10 states had the lowest mean PM10 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1383,Show a pivot table of monthly average PM10 by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1384,Show NCAP total funding released per state as a table.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'Total fund released', 'fn': 'sum'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total fund released'}},
{'op': 'RENAME', 'params': {'map': {'Total fund released': 'Total Fund Released (Cr)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1385,Show PM10 exceedance count and rate (%) above 150 µg/m³ per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1386,List citys with their PM10 violation count and rate (>100 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1387,Generate a monthly average PM2.5 table for Assam for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1388,Generate a city × month cross-tab of mean PM10 for Madhya Pradesh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1389,Show a pivot table of monthly average PM2.5 by city for Bihar in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1390,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1391,Tabulate the yearly average PM2.5 trend for Ghaziabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1392,Show a pivot table of monthly average PM10 by city for Andhra Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1393,Which 10 citys recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1394,Create a statistical summary table of PM10 readings by city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1395,Generate a monthly average PM10 table for Assam for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1396,Show average PM10 per state in 2020 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1397,Tabulate the 5 citys with the least PM2.5 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1398,Generate a city × month cross-tab of mean PM2.5 for Madhya Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Dewas', 'Mandideep', 'Pithampur', 'Singrauli', 'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1399,List the top 15 citys by average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1400,Create a month-wise PM2.5 breakdown table across cities in Haryana for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1401,"Show the mean, median and standard deviation of PM2.5 per city in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1402,Show how average PM2.5 varied month by month for Bihar in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1403,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1404,Create a ranked table of the 10 best-performing citys by PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1405,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Karwar',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1406,Show a table of the top 20 states by average PM2.5 in 2018 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1407,Tabulate average PM2.5 for each city in Gujarat across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Surat', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1408,Show how average PM10 varied month by month for Haryana in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1409,Show a table of the 10 cleanest citys by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1410,Tabulate average PM10 for each city in Punjab across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1411,Tabulate average PM10 for each state across all months in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1412,Show average PM10 per capita by state in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1413,List the bottom 15 states with the lowest average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1414,Create a ranked table of the 10 best-performing states by PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1415,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1416,Create a table with mean and standard deviation of PM10 by city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1417,Generate a monthly average PM2.5 table for Aurangabad for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1418,Tabulate average and median PM2.5 for all states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1419,Show a year-wise table of average PM2.5 for Agra from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1420,List the average PM2.5 for Gujarat broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1421,Show annual average PM10 for Telangana as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1422,"Show mean, median, minimum, and maximum PM2.5 for each state in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1423,Create a summary table ranking the top 5 citys by PM10 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1424,List the average PM10 for Chandigarh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1425,Show a pivot table of monthly average PM10 by city for Gujarat in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1426,List all states with their average PM2.5 and population for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1427,Tabulate the yearly average PM2.5 trend for Aurangabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1428,Create a table showing PM2.5 levels and population for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1429,Tabulate the 10 worst citys for average PM2.5 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1430,Show a ranked table of the 10 most polluted states by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1431,Show a pivot table of monthly average PM2.5 by city for Tamil Nadu in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1432,Show a pivot table of monthly average PM10 by city for Assam in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1433,Tabulate area-adjusted PM10 (per km²) for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1434,Tabulate average and median PM10 for all citys in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1435,Create a summary table ranking the top 15 states by PM2.5 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1436,Show PM2.5 averages in a state × month matrix for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1437,Which 10 citys recorded the highest average PM10 levels in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1438,List the top 10 states by average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1439,Create a summary table ranking the top 15 states by PM10 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1440,Tabulate average PM2.5 for each city in West Bengal across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1441,Tabulate average PM10 for each city in Punjab across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Amritsar', 'Ludhiana', 'Mandi Gobindgarh']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1442,Generate a table showing the 20 most polluted citys based on mean PM10 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1443,Show a year-wise table of average PM10 for Kolkata from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1444,Generate a year-by-year summary table of PM10 readings for Gaya.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1445,Generate a monthly average PM2.5 table for Andhra Pradesh for the year 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1446,Show a ranked table of the 15 most polluted citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1447,Generate a year-by-year summary table of PM10 readings for Karnataka.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1448,Which 5 citys had the lowest mean PM10 in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1449,Show a pivot table of monthly average PM10 by city for Rajasthan in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1450,Which 20 states recorded the highest average PM10 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1451,Tabulate average PM2.5 for each city in Assam across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1452,Tabulate the yearly average PM10 trend for Uttar Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1453,Tabulate population-adjusted PM10 levels for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1454,Generate a monthly average PM2.5 table for Jodhpur for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1455,Tabulate the yearly average PM10 trend for Ghaziabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1456,Show a table of average PM2.5 and PM10 for all states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1457,Show a ranked table of the 15 most polluted citys by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1458,Create a month-wise PM2.5 breakdown table across cities in Punjab for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1459,Create a table of PM10 exceedance frequency above 150 µg/m³ by city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1460,Tabulate the 10 worst citys for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1461,Create a statistical summary table of PM2.5 readings by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1462,List the average PM10 for Moradabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1463,Show a monthly breakdown table of average PM2.5 for Gujarat in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1464,List average PM2.5 by month for Faridabad in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1465,List average PM10 by month for Aurangabad in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1466,Show a cross-tab of state vs year for average PM10 levels.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1467,Create a month-by-state breakdown table of mean PM2.5 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1468,List how many days each city breached the PM2.5 limit of 60 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1469,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1470,Generate a year-by-year summary table of PM2.5 readings for Raipur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1471,Create a table of PM10 exceedance frequency above 150 µg/m³ by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1472,List states by PM10 concentration per million inhabitants in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1473,Show a pivot table of monthly average PM10 by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1474,Generate a table showing the 15 most polluted citys based on mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1475,Tabulate the 20 worst states for average PM2.5 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1476,Show a ranked table of the 5 most polluted states by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1477,Show a year-wise table of average PM10 for Uttar Pradesh from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1478,Create a month-by-state breakdown table of mean PM2.5 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1479,Show a ranked table of the 15 most polluted states by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1480,Tabulate average PM2.5 for each city in Rajasthan across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Bhiwadi',
'Jaipur',
'Jodhpur',
'Kota',
'Pali',
'Sirohi',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1481,Which 15 citys had the lowest mean PM10 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1482,Show a monthly breakdown table of average PM2.5 for Tamil Nadu in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1483,Create a ranked table of the 15 best-performing states by PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1484,Show a year-wise table of average PM2.5 for Varanasi from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1485,Tabulate the 5 states with the least PM2.5 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1486,Create a ranked table of the 20 best-performing states by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1487,Create a table showing annual mean PM2.5 levels for Kerala (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1488,Show a pivot table of monthly average PM2.5 by city for Haryana in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Karnal',
'Kurukshetra',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1489,Show average PM2.5 per capita by state in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1490,Tabulate the monthly mean PM2.5 levels for Kota during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1491,List the bottom 20 states with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1492,Tabulate the 20 states with the least PM10 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1493,Show annual average PM10 for Delhi as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1494,Generate a monthly average PM10 table for Nashik for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1495,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1496,"Tabulate the distribution of PM2.5 per city in 2019 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1497,Tabulate average PM10 for each city in Madhya Pradesh across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1498,Create a table showing annual mean PM2.5 levels for Jaipur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1499,List states with their average PM10 and area for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1500,Show a ranked table of the 5 most polluted citys by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1501,Tabulate the 15 citys with the least PM2.5 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1502,Tabulate the yearly average PM2.5 trend for Ahmedabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1503,Tabulate the yearly average PM2.5 trend for Lucknow across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1504,Show a monthly breakdown table of average PM10 for Nagpur in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1505,"Tabulate the distribution of PM2.5 per city in 2021 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1506,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1507,List citys with their PM10 violation count and rate (>100 µg/m³) in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1508,Generate a year-by-year summary table of PM10 readings for Jaipur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1509,Show a monthly breakdown table of average PM10 for Jodhpur in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1510,Generate a city × month cross-tab of mean PM2.5 for Tamil Nadu in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chengalpattu',
'Chennai',
'Coimbatore',
'Cuddalore',
'Gummidipoondi',
'Ooty',
'Palkalaiperur',
'Ramanathapuram',
'Tirupur',
'Vellore',
'Virudhunagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1511,Show PM2.5 averages in a state × month matrix for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1512,Create a month-wise PM2.5 breakdown table across cities in Kerala for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Kannur', 'Kochi', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1513,Create a month-wise summary of average PM2.5 for Puducherry in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1514,Create a table showing PM10 levels and population for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1515,Show NCAP funding breakdown by fiscal year for each state as a table.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ { 'alias': 'FY 2019-20 (Cr)',
'col': 'Amount released during FY 2019-20',
'fn': 'sum'},
{ 'alias': 'FY 2020-21 (Cr)',
'col': 'Amount released during FY 2020-21',
'fn': 'sum'},
{ 'alias': 'FY 2021-22 (Cr)',
'col': 'Amount released during FY 2021-22',
'fn': 'sum'},
{'alias': 'Total (Cr)', 'col': 'Total fund released', 'fn': 'sum'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1516,Create a ranked table of the 20 best-performing citys by PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1517,Which 15 citys had the lowest mean PM2.5 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1518,Show PM10 averages in a state × month matrix for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Karnataka',
'Maharashtra',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1519,List all states with their average PM10 and population for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1520,"Create a comprehensive state summary with PM10, population, and area for 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1521,Generate a city × month cross-tab of mean PM10 for Odisha in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1522,Create a table with mean and standard deviation of PM10 by city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1523,Tabulate the 15 worst citys for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1524,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1525,Show how average PM10 varied month by month for Mizoram in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1526,Generate a city × month cross-tab of mean PM10 for Karnataka in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hubballi',
'Koppal',
'Madikeri',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Udupi',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1527,List the top 20 states by PM2.5 in 2020 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1528,List all citys with their average PM2.5 and PM10 levels in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1529,"Create a table showing top 15 states ranked by PM2.5 in 2018, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1530,Tabulate average PM2.5 for each city in Rajasthan across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1531,Show a table of the 5 cleanest citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1532,"Show mean, median, minimum, and maximum PM2.5 for each city in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1533,Show a table of the 15 cleanest citys by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1534,List the bottom 5 citys with the lowest average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1535,List the average PM10 for Agra broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1536,Show a table of the 15 cleanest citys by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1537,Show a ranked table of the 10 most polluted states by average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1538,Which 15 citys recorded the highest average PM10 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1539,Show a monthly breakdown table of average PM10 for Mumbai in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1540,Tabulate the 10 worst states for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1541,"Show the mean, median and standard deviation of PM2.5 per city in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1542,Show a table of the 5 cleanest states by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1543,Show how average PM10 varied month by month for Ahmedabad in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1544,Show how average PM10 varied month by month for Maharashtra in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1545,Generate a table showing the 15 most polluted states based on mean PM2.5 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1546,Generate a year-by-year summary table of PM10 readings for Gujarat.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1547,Show a pivot table of monthly average PM10 by city for Haryana in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Dharuhera',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panipat',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1548,Create a summary table ranking the top 5 states by PM2.5 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1549,Generate a monthly average PM2.5 table for Kota for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1550,Which 15 states had the lowest mean PM10 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1551,"Show the mean, median and standard deviation of PM2.5 per state in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1552,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1553,"Create a table showing top 10 citys ranked by PM2.5 in 2018, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1554,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1555,Tabulate average PM10 for each city in Karnataka across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Bidar',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hubballi',
'Kalaburagi',
'Kolar',
'Koppal',
'Madikeri',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1556,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1557,Show how average PM2.5 varied month by month for Meerut in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1558,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1559,Create a per-capita PM10 summary table by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1560,Show a pivot table of monthly average PM10 by city for Gujarat in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1561,List the average PM10 for Indore broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1562,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1563,Show average PM2.5 per capita by state in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1564,Show the number of days each city exceeded a PM2.5 threshold of 60 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1565,Tabulate the 20 states with the least PM2.5 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1566,Show the number of days each state exceeded a PM10 threshold of 100 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1567,Create a month-wise summary of average PM10 for Himachal Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1568,Create a table showing PM10 spread (min to max) and central tendency per state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1569,Generate a city × month cross-tab of mean PM2.5 for Assam in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1570,Show the number of days each city exceeded a PM10 threshold of 150 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1571,List the top 5 citys by average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1572,"Show a table of average PM10, population, and area for all states in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1573,Show a pivot table of monthly average PM2.5 by city for Karnataka in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Gadag',
'Hassan',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1574,Create a per-capita PM2.5 summary table by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1575,"Show the variability of PM10 across states in 2021 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1576,Tabulate average PM2.5 for each city in Uttar Pradesh across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Kanpur',
'Lucknow',
'Moradabad',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1577,Which 10 citys had the lowest mean PM2.5 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1578,List states with their PM10 violation count and rate (>150 µg/m³) in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1579,Show a monthly breakdown table of average PM2.5 for West Bengal in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1580,Show a table of the top 5 states by average PM2.5 in 2022 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1581,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1582,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1583,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1584,Which 5 states had the lowest mean PM2.5 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1585,Show a ranked table of the 5 most polluted citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1586,Show annual average PM2.5 for Uttar Pradesh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1587,Tabulate average PM2.5 for each city in Kerala across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Eloor', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1588,Create a table with mean and standard deviation of PM10 by city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1589,Generate a city × month cross-tab of mean PM10 for Tamil Nadu in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1590,Create a month-wise summary of average PM10 for West Bengal in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1591,List states with their PM10 violation count and rate (>100 µg/m³) in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1592,Generate a city × month cross-tab of mean PM2.5 for Tamil Nadu in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1593,Show annual average PM2.5 for Maharashtra as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1594,"Tabulate PM10 levels, population, and land area per state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1595,Show average PM10 per capita by state in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1596,Create a table showing annual mean PM2.5 levels for Durgapur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1597,List average PM2.5 by month for Bengaluru in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1598,Tabulate the top 10 citys for PM2.5 in 2022 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1599,Show a table of the top 20 states by average PM2.5 in 2020 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1600,Show the number of days each city exceeded a PM10 threshold of 150 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1601,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1602,Generate a monthly average PM10 table for Nagpur for the year 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1603,Create a summary table comparing mean PM2.5 and PM10 across states in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1604,Tabulate mean PM10 and land area for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1605,Tabulate the yearly average PM2.5 trend for Assam across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1606,List the average PM2.5 for Himachal Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1607,Show how average PM2.5 varied month by month for Kolkata in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1608,Show a table of average PM2.5 and PM10 for all citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1609,Create a month-by-state breakdown table of mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1610,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1611,"Tabulate PM2.5 levels, population, and land area per state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1612,Generate a cross-tab of state vs month for average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1613,"Show the mean, median and standard deviation of PM2.5 per city in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1614,Tabulate the year-wise NCAP funding for each state.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ { 'alias': 'FY 2019-20 (Cr)',
'col': 'Amount released during FY 2019-20',
'fn': 'sum'},
{ 'alias': 'FY 2020-21 (Cr)',
'col': 'Amount released during FY 2020-21',
'fn': 'sum'},
{ 'alias': 'FY 2021-22 (Cr)',
'col': 'Amount released during FY 2021-22',
'fn': 'sum'},
{'alias': 'Total (Cr)', 'col': 'Total fund released', 'fn': 'sum'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1615,Tabulate mean PM2.5 and land area for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1616,"Tabulate the distribution of PM10 per state in 2023 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1617,Tabulate the 20 citys with the least PM10 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1618,Which 5 citys recorded the highest average PM10 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1619,"Create a table showing top 20 citys ranked by PM2.5 in 2020, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1620,Show a table of the top 10 citys by average PM2.5 in 2017 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1621,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1622,Tabulate the monthly mean PM10 levels for Telangana during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1623,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1624,"Show the mean, median and standard deviation of PM2.5 per city in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1625,List states with their average PM2.5 and area for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1626,Tabulate both PM2.5 and PM10 averages by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1627,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1628,List the bottom 20 states with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1629,Show a pivot table of monthly average PM2.5 by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1630,"Create a comprehensive state summary with PM2.5, population, and area for 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1631,Show how average PM10 varied month by month for Telangana in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1632,Tabulate the 20 worst states for average PM10 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1633,Create a month-wise summary of average PM10 for Meghalaya in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1634,List the top 15 citys by average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1635,List the top 20 states by average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1636,Show a table of the 20 cleanest citys by average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1637,Tabulate average PM2.5 for each city in West Bengal across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1638,Show PM2.5 density (µg/m³ per km²) by state for 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1639,Tabulate average PM2.5 for each city in Assam across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Byrnihat', 'Guwahati', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1640,List how many days each state breached the PM10 limit of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1641,Create a month-by-state breakdown table of mean PM2.5 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1642,"Show a table of average PM10, population, and area for all states in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1643,Show annual average PM10 for Nashik as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1644,Generate a monthly average PM2.5 table for Jammu and Kashmir for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1645,Show average PM2.5 per capita by state in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1646,List states with their average PM2.5 and area for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1647,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1648,Create a per-capita PM2.5 summary table by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1649,Generate a table showing the 5 most polluted citys based on mean PM2.5 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1650,Tabulate the top 10 states for PM2.5 in 2023 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1651,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1652,Show annual average PM10 for Faridabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1653,Tabulate the 15 worst citys for average PM10 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1654,Which 10 states recorded the highest average PM10 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1655,Create a statistical summary table of PM10 readings by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1656,Which 5 citys recorded the highest average PM10 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1657,Generate a monthly average PM10 table for Telangana for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1658,Show a year-wise table of average PM10 for Agra from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1659,"Show the variability of PM2.5 across citys in 2019 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1660,"Show average PM2.5, PM10 and the number of monitoring stations per state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1661,Create a summary table ranking the top 20 states by PM10 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1662,"Create a comprehensive state summary with PM2.5, population, and area for 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1663,List the bottom 20 citys with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1664,Tabulate average PM10 for each city in Rajasthan across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1665,Generate a year-by-year summary table of PM2.5 readings for Telangana.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1666,List how many days each city breached the PM10 limit of 150 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1667,List the top 10 states by PM2.5 in 2019 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1668,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1669,Tabulate the 5 worst citys for average PM10 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1670,Tabulate average PM2.5 for each city in Bihar across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Aurangabad',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Samastipur',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1671,Show a table of the 20 cleanest states by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1672,Tabulate the yearly average PM2.5 trend for Gujarat across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1673,Create a table of PM10 standard violations (>150 µg/m³) per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1674,Tabulate the monthly mean PM10 levels for Puducherry during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1675,Generate a city × month cross-tab of mean PM10 for Odisha in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1676,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1677,Create a month-by-state breakdown table of mean PM10 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1678,Create a summary table ranking the top 15 states by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1679,Generate a year-by-year summary table of PM10 readings for Nagaland.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1680,Tabulate average PM10 for each city in Kerala across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Ernakulam', 'Kochi', 'Kozhikode', 'Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1681,Tabulate average PM10 for each city in Maharashtra across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1682,Show a ranked table of the 10 most polluted states by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1683,"Tabulate PM10 levels, population, and land area per state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1684,Create a table with mean and standard deviation of PM2.5 by state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1685,Show a table of average PM2.5 per state in 2023 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1686,Tabulate both PM2.5 and PM10 averages by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1687,Create a month-wise PM10 breakdown table across cities in Karnataka for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Bengaluru', 'Chikkaballapur', 'Hubballi', 'Kalaburagi', 'Kolar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1688,Show how many times PM2.5 exceeded 100 µg/m³ per day across citys in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1689,Tabulate the 10 states with the least PM10 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1690,Show a pivot table of monthly average PM2.5 by city for Madhya Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Dewas', 'Mandideep', 'Pithampur', 'Singrauli', 'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1691,Generate a city × month cross-tab of mean PM10 for Tamil Nadu in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ariyalur',
'Chengalpattu',
'Chennai',
'Cuddalore',
'Gummidipoondi',
'Ooty',
'Palkalaiperur',
'Ramanathapuram',
'Thoothukudi',
'Tirupur',
'Vellore',
'Virudhunagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1692,Which 20 citys recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1693,Show a table of the 5 cleanest states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1694,Generate a table showing the 5 most polluted citys based on mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1695,Show a table of the 5 cleanest citys by average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1696,List average PM2.5 by month for Varanasi in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1697,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1698,Create a month-by-state breakdown table of mean PM2.5 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Haryana',
'Karnataka',
'Maharashtra',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1699,Create a month-wise PM2.5 breakdown table across cities in Punjab for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1700,Generate a monthly average PM2.5 table for Uttar Pradesh for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1701,Show a monthly breakdown table of average PM2.5 for West Bengal in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1702,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1703,Tabulate the 15 states with the least PM2.5 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1704,Create a ranked table of the 5 best-performing states by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1705,"Show the mean, median and standard deviation of PM2.5 per city in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1706,Generate a city × month cross-tab of mean PM10 for Punjab in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Amritsar', 'Ludhiana', 'Mandi Gobindgarh']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1707,Show how average PM10 varied month by month for Gujarat in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1708,Tabulate average PM10 for each state across all months in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Karnataka',
'Maharashtra',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1709,Show how average PM10 varied month by month for Bhopal in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1710,Generate a city × month cross-tab of mean PM2.5 for Kerala in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Kannur', 'Kochi', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1711,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1712,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1713,List the bottom 5 citys with the lowest average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1714,Tabulate the monthly mean PM2.5 levels for Kerala during 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1715,Create a ranked table of the 15 best-performing citys by PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1716,Show annual average PM2.5 for Noida as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1717,List states by PM2.5 concentration per million inhabitants in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1718,Tabulate the monthly mean PM10 levels for Chandigarh during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1719,List how many days each state breached the PM10 limit of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1720,Tabulate the monthly mean PM2.5 levels for Tamil Nadu during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1721,Show a table of the 20 cleanest states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1722,Generate a city × month cross-tab of mean PM2.5 for Madhya Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1723,Create a table with mean and standard deviation of PM10 by city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1724,Tabulate the yearly average PM2.5 trend for Varanasi across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1725,Show a monthly breakdown table of average PM10 for Nagaland in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1726,Show a pivot table of monthly average PM2.5 by city for Odisha in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Angul',
'Balasore',
'Barbil',
'Baripada',
'Bhubaneswar',
'Bileipada',
'Brajrajnagar',
'Byasanagar',
'Cuttack',
'Keonjhar',
'Nayagarh',
'Rairangpur',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1727,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1728,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1729,Tabulate the monthly mean PM2.5 levels for Bihar during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1730,"Create a table showing top 15 citys ranked by PM2.5 in 2021, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1731,Show a monthly breakdown table of average PM2.5 for Chandigarh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1732,Which 20 states had the lowest mean PM2.5 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1733,Create a summary table ranking the top 5 citys by PM10 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1734,List the bottom 5 states with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1735,Tabulate average and median PM10 for all states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1736,Show a monthly breakdown table of average PM2.5 for Nagaland in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1737,List how many days each state breached the PM10 limit of 100 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1738,Show a pivot table of monthly average PM2.5 by city for Andhra Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1739,List the top 5 citys by average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1740,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1741,Create a summary table ranking the top 5 citys by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1742,"Show mean, median, minimum, and maximum PM10 for each city in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1743,Show PM2.5 density (µg/m³ per km²) by state for 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1744,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1745,Create a table showing annual mean PM2.5 levels for Kota (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1746,List the average PM2.5 for Hyderabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1747,"Show the mean, median and standard deviation of PM2.5 per city in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1748,Generate a descriptive stats table for PM2.5 grouped by state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1749,Create a summary table comparing mean PM2.5 and PM10 across states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1750,Tabulate the yearly average PM2.5 trend for Meghalaya across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1751,List how many days each city breached the PM2.5 limit of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1752,Show how many times PM10 exceeded 150 µg/m³ per day across states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1753,Generate a year-by-year summary table of PM10 readings for Jammu and Kashmir.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1754,"Tabulate the distribution of PM10 per state in 2022 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1755,"Show the variability of PM2.5 across states in 2019 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1756,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1757,Tabulate the top 5 citys for PM2.5 in 2018 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1758,Create a ranked table of the 15 best-performing states by PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1759,Show average PM10 per capita by state in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1760,Generate a table showing the 5 most polluted citys based on mean PM10 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1761,Show annual average PM10 for Raipur as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1762,"Show the variability of PM10 across states in 2022 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1763,Tabulate the monthly mean PM2.5 levels for Nashik during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1764,Create a table showing annual mean PM2.5 levels for Telangana (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1765,Show a pivot table of monthly average PM10 by city for Andhra Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1766,Show NCAP funding utilisation efficiency by state as a table.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Total Fund (Cr)', 'col': 'Total fund released', 'fn': 'sum'},
{'alias': 'Utilised (Cr)', 'col': 'Utilisation as on June 2022', 'fn': 'sum'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': {'denominator': 'Total Fund (Cr)', 'new_col': 'Utilisation %', 'numerator': 'Utilised (Cr)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total Fund (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1767,Tabulate the yearly average PM2.5 trend for Tamil Nadu across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1768,Create a month-wise summary of average PM10 for Patna in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1769,Show a monthly breakdown table of average PM10 for Kerala in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1770,Tabulate both PM2.5 and PM10 averages by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1771,Create a ranked table of the 10 best-performing citys by PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1772,Generate a table showing the 10 most polluted citys based on mean PM2.5 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1773,List how many days each city breached the PM2.5 limit of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1774,Show a pivot table of monthly average PM2.5 by city for West Bengal in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Barrackpore', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1775,Create a table showing PM10 spread (min to max) and central tendency per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1776,Show a monthly breakdown table of average PM2.5 for Bhilai in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhilai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1777,"Show mean, median, minimum, and maximum PM2.5 for each state in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1778,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1779,List how many days each city breached the PM2.5 limit of 60 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1780,Show how average PM10 varied month by month for Ahmedabad in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1781,Tabulate the 10 worst citys for average PM10 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1782,Show a pivot table of monthly average PM2.5 by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1783,"Create a table showing top 10 citys ranked by PM2.5 in 2021, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1784,Generate a city × month cross-tab of mean PM10 for Karnataka in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1785,"Show the mean, median and standard deviation of PM10 per city in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1786,Show a pivot table of monthly average PM2.5 by city for Maharashtra in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Kalyan', 'Mumbai', 'Nagpur', 'Nashik', 'Navi Mumbai', 'Pune', 'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1787,Tabulate the 5 worst states for average PM2.5 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1788,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1789,Show how average PM2.5 varied month by month for Gurugram in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1790,Show a monthly breakdown table of average PM10 for Meerut in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1791,Generate a monthly average PM10 table for Noida for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1792,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1793,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1794,Create a table showing annual mean PM10 levels for Andhra Pradesh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1795,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1796,"Show mean, median, minimum, and maximum PM2.5 for each city in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1797,Tabulate mean PM10 alongside state population figures for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1798,Show how many times PM2.5 exceeded 60 µg/m³ per day across citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1799,Generate a city × month cross-tab of mean PM10 for Haryana in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra ',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal ',
'Panipat',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1800,"Show a table of average PM2.5, population, and area for all states in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1801,List states with their average PM2.5 and area for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1802,List states by PM2.5 concentration per million inhabitants in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1803,Tabulate the 10 citys with the least PM10 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1804,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1805,Show how average PM10 varied month by month for Thiruvananthapuram in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1806,Create a ranked table of the 15 best-performing states by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1807,Create a table showing annual mean PM10 levels for Gandhinagar (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1808,Tabulate the 10 worst states for average PM10 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1809,Create a month-wise summary of average PM2.5 for Nagpur in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1810,Tabulate the 5 states with the least PM2.5 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1811,Show a ranked table of the 15 most polluted states by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1812,Tabulate the yearly average PM10 trend for Andhra Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1813,Tabulate average PM10 for each city in Uttar Pradesh across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1814,Show PM2.5 density (µg/m³ per km²) by state for 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1815,Tabulate the yearly average PM10 trend for Himachal Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1816,Tabulate both PM2.5 and PM10 averages by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1817,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1818,Tabulate the 10 worst citys for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1819,List the average PM10 for Mumbai broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1820,Tabulate population-adjusted PM10 levels for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1821,List the bottom 10 citys with the lowest average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1822,Create a month-wise PM2.5 breakdown table across cities in Kerala for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Ernakulam',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1823,Which 15 states recorded the highest average PM10 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1824,Tabulate the 5 worst citys for average PM2.5 in 2019 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1825,Tabulate mean PM10 and land area for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1826,Create a summary table comparing mean PM2.5 and PM10 across citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1827,List how many days each state breached the PM2.5 limit of 60 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1828,Create a table showing annual mean PM2.5 levels for Prayagraj (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1829,Create a month-wise PM10 breakdown table across cities in Madhya Pradesh for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1830,List the bottom 15 citys with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1831,List the bottom 10 citys with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1832,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1833,List the average PM10 for Punjab broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1834,Create a month-wise PM10 breakdown table across cities in Gujarat for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vapi', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1835,List the bottom 15 states with the lowest average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1836,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1837,Which 5 states recorded the highest average PM10 levels in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1838,Generate a year-by-year summary table of PM2.5 readings for Muzaffarpur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1839,Show a table of the top 5 citys by average PM2.5 in 2021 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1840,List how many days each state breached the PM2.5 limit of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1841,List the top 20 states by PM2.5 in 2019 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1842,List average PM10 by month for Meghalaya in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1843,Create a month-wise summary of average PM10 for Gujarat in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1844,Tabulate average PM2.5 for each city in Karnataka across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1845,Generate a descriptive stats table for PM2.5 grouped by city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1846,Create a table showing annual mean PM2.5 levels for Assam (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1847,Show how average PM2.5 varied month by month for Mizoram in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1848,Show average PM2.5 per state in 2021 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1849,"Create a table showing top 10 citys ranked by PM2.5 in 2024, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1850,Create a month-wise summary of average PM2.5 for Ahmedabad in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1851,Create a statistical summary table of PM10 readings by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1852,Tabulate average PM2.5 for each state across all months in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1853,Tabulate the 5 worst states for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1854,Create a month-wise PM10 breakdown table across cities in Rajasthan for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1855,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1856,Show a cross-tab of state vs year for average PM2.5 levels.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1857,Generate a city × month cross-tab of mean PM2.5 for Odisha in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1858,Create a month-wise summary of average PM10 for West Bengal in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1859,Create a table showing annual mean PM10 levels for Bihar (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1860,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1861,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1862,"Show average PM2.5, PM10 and the number of monitoring stations per state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1863,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1864,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1865,Which 15 citys recorded the highest average PM10 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1866,Which 15 states had the lowest mean PM2.5 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1867,Tabulate the monthly mean PM2.5 levels for Telangana during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1868,Create a summary table ranking the top 15 states by PM2.5 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1869,List how many days each state breached the PM2.5 limit of 100 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1870,Tabulate the 10 worst citys for average PM10 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1871,Show a table of the 10 cleanest states by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1872,List the average PM2.5 for West Bengal broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1873,List the top 20 states by average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1874,Show average PM10 per capita by state in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1875,Create a table showing annual mean PM2.5 levels for Jodhpur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1876,Which 5 states recorded the highest average PM10 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1877,Create a month-wise PM10 breakdown table across cities in Assam for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1878,"Tabulate PM2.5 levels, population, and land area per state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1879,Show annual average PM10 for Haryana as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1880,Tabulate the 20 citys with the least PM10 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1881,Generate a year-by-year summary table of PM2.5 readings for Nagpur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1882,Tabulate the 5 worst states for average PM10 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1883,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1884,Generate a table showing the 10 most polluted states based on mean PM10 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1885,Tabulate average PM10 for each city in Andhra Pradesh across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1886,List the top 5 states by average PM10 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1887,"Show mean, median, minimum, and maximum PM2.5 for each city in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1888,Show a table of the 20 cleanest states by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1889,Show how average PM10 varied month by month for Nagpur in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1890,Tabulate the 5 states with the least PM2.5 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1891,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1892,Show a year-wise table of average PM10 for Kerala from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1893,Show annual average PM2.5 for Raipur as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1894,Tabulate the yearly average PM10 trend for Agra across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1895,Tabulate average PM10 for each city in Rajasthan across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Bhiwadi',
'Jaipur',
'Jodhpur',
'Kota',
'Pali',
'Sirohi',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1896,Generate a monthly average PM10 table for Chandigarh for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1897,Create a table showing PM10 levels and population for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1898,Generate a year-by-year summary table of PM2.5 readings for Agra.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1899,Show a pivot table of monthly average PM2.5 by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1900,Show how average PM10 varied month by month for Maharashtra in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1901,Show a year-wise table of average PM10 for Faridabad from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1902,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1903,Create a ranked table of the 15 best-performing citys by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1904,Create a month-wise PM2.5 breakdown table across cities in Maharashtra for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Aurangabad', 'Chandrapur', 'Nagpur', 'Nashik', 'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1905,Generate a monthly average PM10 table for Gurugram for the year 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1906,Generate a table showing the 15 most polluted states based on mean PM10 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1907,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1908,Tabulate average and median PM10 for all states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1909,Tabulate average PM2.5 for each city in Karnataka across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Bengaluru', 'Chikkaballapur', 'Hubballi', 'Kalaburagi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1910,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1911,List states with their PM10 violation count and rate (>100 µg/m³) in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1912,Show the number of days each city exceeded a PM2.5 threshold of 60 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1913,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1914,Generate a descriptive stats table for PM10 grouped by city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1915,List average PM10 by month for Mumbai in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1916,Create a month-wise summary of average PM10 for Aurangabad in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1917,Create a statistical summary table of PM2.5 readings by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1918,Tabulate NCAP funding and how much was utilised by each state.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Total Fund (Cr)', 'col': 'Total fund released', 'fn': 'sum'},
{'alias': 'Utilised (Cr)', 'col': 'Utilisation as on June 2022', 'fn': 'sum'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': {'denominator': 'Total Fund (Cr)', 'new_col': 'Utilisation %', 'numerator': 'Utilised (Cr)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total Fund (Cr)'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1919,Create a table with mean and standard deviation of PM2.5 by city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1920,List average PM2.5 by month for Tamil Nadu in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1921,Show annual average PM10 for Bengaluru as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1922,Create a month-wise PM2.5 breakdown table across cities in Assam for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1923,List the average PM2.5 for Muzaffarpur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1924,Generate a table showing the 20 most polluted states based on mean PM10 for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1925,List how many days each state breached the PM10 limit of 100 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1926,Show a pivot table of monthly average PM10 by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1927,Create a month-wise PM2.5 breakdown table across cities in West Bengal for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1928,Show the number of days each state exceeded a PM10 threshold of 100 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1929,Create a month-wise PM2.5 breakdown table across cities in Karnataka for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Tumakuru',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1930,Show the number of days each state exceeded a PM10 threshold of 150 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1931,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1932,List all citys with their average PM2.5 and PM10 levels in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1933,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1934,Create a table of PM10 standard violations (>150 µg/m³) per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1935,Show the number of days each city exceeded a PM2.5 threshold of 60 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1936,Which 10 citys had the lowest mean PM2.5 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1937,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1938,Show a pivot table of monthly average PM2.5 by city for Maharashtra in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1939,Tabulate average and median PM10 for all citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1940,Generate a city × month cross-tab of mean PM2.5 for Haryana in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Karnal',
'Kurukshetra',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1941,List average PM10 by month for Gandhinagar in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1942,List the top 10 states by average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1943,Tabulate the top 15 states for PM2.5 in 2018 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1944,Generate a city × month cross-tab of mean PM2.5 for Haryana in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1945,Show a monthly breakdown table of average PM10 for Bengaluru in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1946,"Tabulate the distribution of PM2.5 per city in 2017 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1947,"List each state's average PM2.5, PM10, and how many stations it has in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1948,List the top 15 states by average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1949,Show a pivot table of monthly average PM2.5 by city for Odisha in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1950,Create a month-by-state breakdown table of mean PM10 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1951,Show a table of the 10 cleanest citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1952,Create a table of state PM2.5 levels and geographic area for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1953,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1954,"List each state's average PM2.5, PM10, and how many stations it has in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1955,Create a month-wise summary of average PM2.5 for Andhra Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1956,List the bottom 10 citys with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1957,"Tabulate the distribution of PM10 per city in 2024 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1958,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1959,List states by PM2.5 concentration per million inhabitants in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1960,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1961,Create a summary table ranking the top 10 states by PM10 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1962,Create a month-wise summary of average PM10 for Hyderabad in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1963,Generate a year-by-year summary table of PM2.5 readings for Kerala.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1964,Tabulate the 15 worst states for average PM10 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1965,"Show the variability of PM10 across states in 2024 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1966,List all citys with their average PM2.5 and PM10 levels in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1967,Show a pivot table of monthly average PM10 by city for Kerala in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1968,Create a table with mean and standard deviation of PM10 by city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1969,Show a pivot table of monthly average PM10 by city for Odisha in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baripada',
'Bileipada',
'Brajrajnagar',
'Keonjhar',
'Nayagarh',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1970,Create a month-wise summary of average PM10 for Madhya Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1971,"Show mean, median, minimum, and maximum PM2.5 for each city in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1972,Show a pivot table of monthly average PM10 by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1973,Create a ranked table of the 5 best-performing states by PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
1974,Tabulate the 10 worst states for average PM2.5 in 2019 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
1975,Create a table showing PM10 spread (min to max) and central tendency per city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1976,List the bottom 15 states with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
1977,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1978,"Show mean, median, minimum, and maximum PM10 for each city in 2023 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1979,Show how average PM2.5 varied month by month for Pune in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1980,Show how many times PM2.5 exceeded 60 µg/m³ per day across states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1981,List the average PM2.5 for Jammu and Kashmir broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1982,List how many days each city breached the PM2.5 limit of 60 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1983,Show a table of average PM2.5 and PM10 for all states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1984,Create a table of PM10 exceedance frequency above 100 µg/m³ by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1985,Generate a monthly average PM10 table for Aurangabad for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1986,List the top 20 citys by average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
1987,Show PM2.5 density (µg/m³ per km²) by state for 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1988,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1989,Create a month-wise summary of average PM2.5 for Andhra Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1990,Show the number of days each state exceeded a PM2.5 threshold of 100 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1991,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1992,Generate a monthly average PM10 table for Delhi for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1993,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1994,List how many days each city breached the PM2.5 limit of 100 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1995,Generate a city × month cross-tab of mean PM10 for Tamil Nadu in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi', 'Thoothukudi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1996,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1997,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1998,Show annual average PM2.5 for Gujarat as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
1999,Show a monthly breakdown table of average PM10 for Ghaziabad in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2000,Show a table of the top 20 citys by average PM2.5 in 2023 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2001,Create a ranked table of the 20 best-performing citys by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2002,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2003,Create a month-wise PM2.5 breakdown table across cities in Bihar for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Gaya', 'Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2004,List the average PM2.5 for Chandigarh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2005,List states with their PM10 violation count and rate (>150 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2006,Generate a table showing the 15 most polluted citys based on mean PM10 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2007,Show a ranked table of the 5 most polluted citys by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2008,"Show the variability of PM2.5 across states in 2017 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2009,Create a month-wise summary of average PM10 for Thiruvananthapuram in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2010,List the bottom 10 citys with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2011,List the average PM2.5 for Raipur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Raipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2012,List states by PM2.5 concentration per million inhabitants in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2013,Show a pivot table of monthly average PM2.5 by city for Rajasthan in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2014,Tabulate the monthly mean PM2.5 levels for Punjab during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2015,Show a year-wise table of average PM2.5 for Gaya from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2016,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2017,"Create a table showing top 20 citys ranked by PM2.5 in 2017, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2018,Create a month-wise PM10 breakdown table across cities in Karnataka for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2019,List the average PM2.5 for Karnataka broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2020,Show a pivot table of monthly average PM10 by city for Maharashtra in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2021,Create a month-wise PM10 breakdown table across cities in Uttar Pradesh for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2022,Which 15 states had the lowest mean PM2.5 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2023,Show a monthly breakdown table of average PM10 for Jammu and Kashmir in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2024,Show a monthly breakdown table of average PM10 for Haryana in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2025,Show a year-wise table of average PM10 for Assam from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2026,Tabulate the yearly average PM2.5 trend for Delhi across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2027,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2028,Create a month-wise PM10 breakdown table across cities in Tamil Nadu for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore', 'Gummidipoondi', 'Thoothukudi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2029,Which 5 citys recorded the highest average PM10 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2030,"Show a table of average PM2.5, population, and area for all states in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2031,Create a summary table ranking the top 20 citys by PM2.5 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2032,Show a table of the 15 cleanest citys by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2033,List the top 5 citys by average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2034,Show a year-wise table of average PM2.5 for Nagaland from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2035,Which 5 citys recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2036,Show annual average PM2.5 for Durgapur as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2037,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2038,Create a table showing PM2.5 levels and population for each state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2039,List how many days each city breached the PM2.5 limit of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2040,Create a table showing annual mean PM2.5 levels for Kanpur (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2041,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2042,Tabulate the 10 states with the least PM2.5 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2043,Create a table showing annual mean PM2.5 levels for Pune (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2044,"Tabulate the distribution of PM10 per city in 2017 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2045,Generate a city × month cross-tab of mean PM2.5 for Uttar Pradesh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2046,Which 10 states recorded the highest average PM10 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2047,Create a month-wise PM2.5 breakdown table across cities in Uttar Pradesh for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2048,Create a month-wise summary of average PM10 for Tamil Nadu in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2049,Show a ranked table of the 10 most polluted states by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2050,Generate a monthly average PM10 table for Nagaland for the year 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2051,Show average PM2.5 per state in 2022 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2052,Tabulate the yearly average PM2.5 trend for Himachal Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2053,Create a summary table ranking the top 20 states by PM2.5 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2054,"Show the variability of PM2.5 across citys in 2017 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2055,Show a monthly breakdown table of average PM2.5 for Hyderabad in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2056,Generate a cross-tab of state vs month for average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2057,Create a table showing PM2.5 levels and population for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2058,Show a monthly breakdown table of average PM2.5 for Solapur in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2059,Generate a city × month cross-tab of mean PM2.5 for Bihar in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2060,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2061,Show a pivot table of monthly average PM10 by city for Assam in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Byrnihat', 'Guwahati', 'Nagaon', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2062,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2063,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2064,Tabulate the monthly mean PM10 levels for Ghaziabad during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2065,Which 15 states recorded the highest average PM10 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2066,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2067,Create a summary table ranking the top 5 citys by PM10 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2068,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2069,Create a month-wise PM10 breakdown table across cities in Uttar Pradesh for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2070,Generate a cross-tab of state vs month for average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2071,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2072,"Show mean, median, minimum, and maximum PM10 for each city in 2024 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2073,Show PM2.5 averages in a state × month matrix for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2074,Create a table showing PM10 levels and population for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2075,List average PM2.5 by month for Andhra Pradesh in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2076,Tabulate the yearly average PM2.5 trend for Tripura across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2077,Generate a monthly average PM2.5 table for Mumbai for the year 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2078,List all citys with their average PM2.5 and PM10 levels in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2079,"Show the variability of PM10 across citys in 2017 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2080,Create a month-wise summary of average PM2.5 for Karnataka in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2081,List the average PM2.5 for Moradabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2082,Show average PM2.5 per state in 2020 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2083,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2084,Generate a city × month cross-tab of mean PM2.5 for Bihar in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Gaya', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2085,Show a ranked table of the 20 most polluted citys by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2086,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2087,Create a table of PM10 standard violations (>150 µg/m³) per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2088,Show a ranked table of the 10 most polluted citys by average PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2089,Create a table of PM10 standard violations (>100 µg/m³) per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2090,Show a pivot table of monthly average PM10 by city for West Bengal in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Durgapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2091,Tabulate average PM2.5 for each city in Bihar across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Gaya', 'Hajipur', 'Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2092,Tabulate the monthly mean PM2.5 levels for Assam during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2093,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2094,Show a pivot table of monthly average PM2.5 by city for Karnataka in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2095,List all states with their average PM10 and population for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2096,Create a statistical summary table of PM2.5 readings by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2097,Create a table of PM10 standard violations (>100 µg/m³) per city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2098,Tabulate average PM2.5 for each city in Bihar across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Gaya', 'Muzaffarpur', 'Patna']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2099,"Tabulate PM10 levels, population, and land area per state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2100,Tabulate the 10 worst citys for average PM2.5 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2101,Create a table with mean and standard deviation of PM10 by state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2102,Tabulate the top 15 citys for PM2.5 in 2021 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2103,Create a table with mean and standard deviation of PM10 by state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2104,Tabulate average and median PM2.5 for all states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2105,Tabulate both PM2.5 and PM10 averages by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2106,Show annual average PM2.5 for Aurangabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Aurangabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2107,Tabulate average PM10 for each state across all months in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2108,Show average PM2.5 per state in 2023 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2109,Create a statistical summary table of PM2.5 readings by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2110,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2111,Tabulate average PM10 for each city in Maharashtra across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Chandrapur', 'Navi Mumbai', 'Pune', 'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2112,Show a ranked table of the 10 most polluted citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2113,Generate a table showing the 10 most polluted states based on mean PM10 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2114,"Tabulate PM10 statistics (mean, std, min, max) for each state in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2115,Show a table of the 15 cleanest states by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2116,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2117,List the top 20 citys by PM2.5 in 2021 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2118,"Tabulate the distribution of PM10 per state in 2017 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2119,Tabulate the monthly mean PM10 levels for Maharashtra during 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2120,Which 5 citys had the lowest mean PM2.5 in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2121,Create a summary table ranking the top 15 citys by PM10 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2122,List the top 20 states by average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2123,Which 15 states had the lowest mean PM10 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2124,Show how average PM2.5 varied month by month for Tamil Nadu in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2125,List all states with the total NCAP funds they received.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'Total fund released', 'fn': 'sum'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total fund released'}},
{'op': 'RENAME', 'params': {'map': {'Total fund released': 'Total Fund Released (Cr)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2126,Create a month-wise PM2.5 breakdown table across cities in Odisha for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2127,Generate a city × month cross-tab of mean PM2.5 for Kerala in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2128,Tabulate the 15 worst states for average PM2.5 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2129,Show a year-wise table of average PM2.5 for Pune from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Pune'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2130,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2131,Create a month-wise PM10 breakdown table across cities in Rajasthan for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Bhiwadi',
'Jaipur',
'Jodhpur',
'Kota',
'Pali',
'Sirohi',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2132,Show annual average PM10 for Meghalaya as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2133,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2134,Generate a city × month cross-tab of mean PM2.5 for Maharashtra in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ahmednagar',
'Akola',
'Amravati',
'Aurangabad',
'Badlapur',
'Belapur',
'Bhiwandi',
'Boisar',
'Chandrapur',
'Dhule',
'Jalgaon',
'Jalna',
'Kalyan',
'Kolhapur',
'Latur',
'Mahad',
'Malegaon',
'Mira-Bhayandar',
'Mumbai',
'Nagpur',
'Nanded',
'Nashik',
'Navi Mumbai',
'Parbhani',
'Pimpri-Chinchwad',
'Pune',
'Sangli',
'Solapur',
'Thane',
'Ulhasnagar',
'Virar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2135,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2136,Generate a year-by-year summary table of PM10 readings for Andhra Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2137,Which 20 citys recorded the highest average PM10 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2138,Tabulate the monthly mean PM2.5 levels for Maharashtra during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2139,Tabulate the yearly average PM2.5 trend for Jaipur across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2140,Generate a descriptive stats table for PM10 grouped by state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2141,"Show the mean, median and standard deviation of PM10 per state in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2142,Create a ranked table of the 5 best-performing states by PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2143,"Tabulate the distribution of PM2.5 per state in 2020 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2144,Create a per-capita PM10 summary table by state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2145,Tabulate daily PM10 exceedances (above 150 µg/m³) per state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2146,Which 15 citys had the lowest mean PM2.5 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2147,Create a month-wise summary of average PM2.5 for Lucknow in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2148,Show how average PM10 varied month by month for Kolkata in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2149,Generate a cross-tab of state vs month for average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2150,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2151,Show a table of average PM10 per state in 2018 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2152,Tabulate the 20 citys with the least PM2.5 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2153,Show a pivot table of monthly average PM10 by city for Uttar Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2154,Generate a table showing the 5 most polluted states based on mean PM10 for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2155,Generate a table showing the 10 most polluted states based on mean PM10 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2156,Tabulate the 10 worst citys for average PM2.5 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2157,Create a per-capita PM2.5 summary table by state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2158,Create a table with mean and standard deviation of PM10 by state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2159,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2160,Create a table showing annual mean PM2.5 levels for Maharashtra (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2161,"Show the mean, median and standard deviation of PM2.5 per state in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2162,Show how many times PM2.5 exceeded 60 µg/m³ per day across citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2163,Tabulate the top 10 citys for PM2.5 in 2021 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2164,Show a monthly breakdown table of average PM2.5 for Hyderabad in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2165,"Show the variability of PM2.5 across states in 2020 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2166,Create a ranked table of the 20 best-performing citys by PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2167,Show how average PM2.5 varied month by month for Durgapur in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2168,Tabulate average and median PM2.5 for all states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2169,Create a summary table ranking the top 10 states by PM10 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2170,Create a per-capita PM2.5 summary table by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2171,Show annual average PM10 for Himachal Pradesh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2172,List the bottom 5 citys with the lowest average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2173,"Show mean, median, minimum, and maximum PM2.5 for each state in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2174,List the average PM2.5 for Mumbai broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2175,Tabulate average PM2.5 for each city in Odisha across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2176,Tabulate the 10 states with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2177,Create a table of state PM2.5 levels and geographic area for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2178,Tabulate the yearly average PM2.5 trend for Howrah across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Howrah'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2179,Create a statistical summary table of PM2.5 readings by city for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2180,Tabulate average PM2.5 for each city in Karnataka across all months of 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2181,List states with their average PM2.5 and area for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2182,Generate a descriptive stats table for PM10 grouped by state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2183,Tabulate average PM2.5 for each city in Madhya Pradesh across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2184,Tabulate the yearly average PM10 trend for Lucknow across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2185,"Tabulate PM2.5 levels, population, and land area per state in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2186,Create a summary table ranking the top 5 states by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2187,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2188,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2189,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2190,Generate a year-by-year summary table of PM10 readings for Tamil Nadu.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2191,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2192,"Create a table showing top 20 states ranked by PM2.5 in 2022, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2193,Create a month-wise PM10 breakdown table across cities in Odisha for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2194,Tabulate average PM2.5 for each city in Punjab across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2195,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2196,Create a table showing annual mean PM10 levels for Chennai (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2197,Show how many times PM2.5 exceeded 100 µg/m³ per day across citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2198,Create a table of PM10 exceedance frequency above 100 µg/m³ by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2199,Show a table of the 5 cleanest states by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2200,Generate a table showing the 5 most polluted citys based on mean PM2.5 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2201,Create a summary table ranking the top 20 citys by PM10 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2202,Show a year-wise table of average PM2.5 for Ghaziabad from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2203,Show PM10 averages in a state × month matrix for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2204,Create a month-wise PM10 breakdown table across cities in Kerala for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Eloor', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2205,List how many days each city breached the PM10 limit of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2206,Tabulate the yearly average PM2.5 trend for Andhra Pradesh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2207,Tabulate average PM2.5 for each city in Maharashtra across all months of 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chandrapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2208,Tabulate average PM2.5 for each state across all months in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2209,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2210,Show a ranked table of the 5 most polluted citys by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2211,Create a summary table ranking the top 20 states by PM10 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2212,"Show the variability of PM2.5 across citys in 2022 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2213,Generate a year-by-year summary table of PM2.5 readings for Bengaluru.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2214,Create a ranked table of the 5 best-performing states by PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2215,Create a summary table ranking the top 20 citys by PM10 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2216,List how many days each state breached the PM10 limit of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2217,List states ranked by PM2.5 concentration relative to their area in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2218,Which 5 states recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2219,Show a pivot table of monthly average PM10 by city for Punjab in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2220,Create a month-wise summary of average PM10 for Patna in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2221,Create a month-wise PM2.5 breakdown table across cities in Kerala for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2222,Tabulate the 5 states with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2223,"Tabulate the distribution of PM10 per state in 2021 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2224,Show a table of average PM2.5 and PM10 for all citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2225,List the bottom 10 states with the lowest average PM2.5 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2226,Show a table of average PM2.5 and PM10 for all states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2227,List how many days each state breached the PM2.5 limit of 60 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2228,Show a pivot table of monthly average PM2.5 by city for Maharashtra in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Aurangabad', 'Chandrapur', 'Nagpur', 'Nashik', 'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2229,Tabulate the monthly mean PM2.5 levels for Delhi during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2230,Which 5 citys recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2231,Create a month-wise PM2.5 breakdown table across cities in Haryana for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra ',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal ',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2232,Show a monthly breakdown table of average PM2.5 for Solapur in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2233,Create a table with mean and standard deviation of PM2.5 by city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2234,"Show mean, median, minimum, and maximum PM2.5 for each city in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2235,Create a statistical summary table of PM10 readings by city for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2236,List the top 5 states by average PM10 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2237,"Tabulate PM10 levels, population, and land area per state in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2238,"Show a table of average PM10, population, and area for all states in 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2239,Generate a city × month cross-tab of mean PM2.5 for Haryana in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2240,Create a month-wise PM10 breakdown table across cities in Tamil Nadu for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi', 'Thoothukudi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2241,Create a ranked table of the 15 best-performing states by PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2242,List states ranked by PM2.5 concentration relative to their area in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2243,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2244,List how many days each state breached the PM2.5 limit of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2245,List the bottom 20 states with the lowest average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2246,Show annual average PM2.5 for Himachal Pradesh as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2247,Tabulate the 15 worst citys for average PM2.5 in 2020 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2248,Tabulate average PM2.5 for each city in Gujarat across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ahmedabad']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2249,List average PM2.5 by month for Maharashtra in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2250,Tabulate the 10 worst states for average PM10 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2251,Create a summary table ranking the top 15 states by PM10 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2252,Show a monthly breakdown table of average PM10 for Kerala in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2253,Show a table of the 15 cleanest citys by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2254,Which 15 citys had the lowest mean PM2.5 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2255,Show a table of average PM10 per state in 2021 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2256,Show the number of days each state exceeded a PM2.5 threshold of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2257,List the top 15 citys by PM2.5 in 2018 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2258,Tabulate mean PM2.5 alongside state population figures for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2259,Tabulate days with PM10 > 100 µg/m³ and exceedance percentage per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2260,Tabulate average PM2.5 for each city in Odisha across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baripada',
'Bileipada',
'Brajrajnagar',
'Keonjhar',
'Nayagarh',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2261,Show a monthly breakdown table of average PM2.5 for West Bengal in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2262,Show a ranked table of the 10 most polluted citys by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2263,List the average PM10 for Bhopal broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2264,List the top 20 citys by average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2265,Create a table of PM10 per unit area for all states in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2266,Show average PM10 per capita by state in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2267,Generate a city × month cross-tab of mean PM2.5 for Tamil Nadu in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2268,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2269,Create a table showing annual mean PM10 levels for Bengaluru (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2270,Show a year-wise table of average PM2.5 for Andhra Pradesh from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2271,Generate a table showing the 15 most polluted citys based on mean PM10 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2272,Create a statistical summary table of PM2.5 readings by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2273,Tabulate the yearly average PM10 trend for Ahmedabad across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2274,"Show mean, median, minimum, and maximum PM10 for each city in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2275,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2276,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2277,List the bottom 15 states with the lowest average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2278,List the top 10 states by average PM10 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2279,Which 5 states had the lowest mean PM10 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2280,Show a monthly breakdown table of average PM2.5 for Jammu and Kashmir in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Jammu and Kashmir'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2281,Create a month-wise PM10 breakdown table across cities in Punjab for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Amritsar', 'Ludhiana', 'Mandi Gobindgarh']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2282,Which 5 states recorded the highest average PM2.5 levels in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2283,Generate a table showing the 10 most polluted states based on mean PM2.5 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2284,Create a ranked table of the 5 best-performing states by PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2285,Show a monthly breakdown table of average PM10 for Prayagraj in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2286,Create a table with mean and standard deviation of PM2.5 by city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2287,Show a pivot table of monthly average PM10 by city for Karnataka in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2288,Show a pivot table of monthly average PM10 by city for Punjab in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2289,"Show the mean, median and standard deviation of PM10 per state in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2290,Show a table of the top 15 states by average PM2.5 in 2021 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2291,Show annual average PM10 for Rajasthan as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2292,Generate a table showing the 20 most polluted states based on mean PM10 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2293,Generate a city × month cross-tab of mean PM10 for Odisha in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2294,Create a summary table comparing mean PM2.5 and PM10 across citys in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2295,Tabulate average and median PM2.5 for all states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2296,List how many days each state breached the PM2.5 limit of 60 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2297,List the bottom 10 states with the lowest average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2298,"Show a table of average PM2.5, population, and area for all states in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2299,Tabulate the 20 worst citys for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2300,List the average PM2.5 for Solapur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2301,Show a ranked table of the 5 most polluted states by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2302,Which 5 citys had the lowest mean PM10 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2303,Create a table with mean and standard deviation of PM10 by state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2304,Create a statistical summary table of PM10 readings by state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2305,Tabulate the monthly mean PM10 levels for Gurugram during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2306,Create a table of PM10 per unit area for all states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2307,Create a month-by-state breakdown table of mean PM10 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2308,Generate a year-by-year summary table of PM10 readings for Puducherry.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2309,Tabulate the 5 states with the least PM2.5 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2310,Show a pivot table of monthly average PM2.5 by city for Assam in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2311,Create a month-wise summary of average PM2.5 for Tamil Nadu in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2312,Show a pivot table of monthly average PM2.5 by city for Andhra Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amaravati',
'Anantapur',
'Chittoor',
'Kadapa',
'Rajamahendravaram',
'Tirupati',
'Vijayawada',
'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2313,Tabulate the monthly mean PM10 levels for Delhi during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2314,Generate a year-by-year summary table of PM10 readings for Mizoram.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2315,List all states with their average PM2.5 and PM10 levels in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2316,Create a month-wise PM10 breakdown table across cities in Maharashtra for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ahmednagar',
'Akola',
'Amravati',
'Aurangabad',
'Badlapur',
'Belapur',
'Bhiwandi',
'Boisar',
'Chandrapur',
'Dhule',
'Jalgaon',
'Jalna',
'Kalyan',
'Kolhapur',
'Latur',
'Mahad',
'Malegaon',
'Mira-Bhayandar',
'Mumbai',
'Nagpur',
'Nanded',
'Nashik',
'Navi Mumbai',
'Parbhani',
'Pimpri-Chinchwad',
'Pune',
'Sangli',
'Solapur',
'Thane',
'Ulhasnagar',
'Virar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2317,List the top 5 states by average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2318,Show a monthly breakdown table of average PM10 for Jaipur in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2319,Generate a descriptive stats table for PM2.5 grouped by city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2320,Generate a cross-tab of state vs month for average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2321,List average PM2.5 by month for Meerut in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2322,List the bottom 5 citys with the lowest average PM10 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2323,Generate a descriptive stats table for PM10 grouped by city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2324,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2325,Create a statistical summary table of PM2.5 readings by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2326,List the average PM10 for Assam broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2327,"Create a table showing top 15 states ranked by PM2.5 in 2020, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2328,Generate a city × month cross-tab of mean PM2.5 for Andhra Pradesh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2329,List states ranked by PM2.5 concentration relative to their area in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2330,List the bottom 20 states with the lowest average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2331,Tabulate the yearly average PM10 trend for Kerala across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2332,Show average PM2.5 per state in 2019 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2333,Tabulate population-adjusted PM10 levels for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2334,Tabulate the monthly mean PM2.5 levels for Nashik during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2335,Create a month-wise summary of average PM2.5 for Maharashtra in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2336,Generate a city × month cross-tab of mean PM2.5 for Haryana in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Faridabad', 'Gurugram', 'Panchkula', 'Rohtak']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2337,Tabulate the monthly mean PM10 levels for West Bengal during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2338,Create a month-wise summary of average PM2.5 for Andhra Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2339,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2340,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2341,"Show a table of average PM10, population, and area for all states in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2342,Create a per-capita PM10 summary table by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2343,Create a table of PM10 standard violations (>100 µg/m³) per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2344,Tabulate average PM10 for each city in Karnataka across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chikkaballapur',
'Chikkamagaluru',
'Kolar',
'Mysuru',
'Ramanagara']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2345,Tabulate the monthly mean PM10 levels for Lucknow during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2346,"Show the variability of PM2.5 across states in 2022 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2347,Show a table of average PM2.5 and PM10 for all citys in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2348,List states with their average PM10 and area for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2349,List average PM10 by month for Tripura in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2350,Tabulate the 15 states with the least PM2.5 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2351,List states ranked by PM2.5 concentration relative to their area in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2352,Generate a table showing the 10 most polluted citys based on mean PM2.5 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2353,Generate a city × month cross-tab of mean PM2.5 for Haryana in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2354,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2355,List the top 15 citys by average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2356,Show PM10 exceedance count and rate (%) above 100 µg/m³ per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2357,Generate a city × month cross-tab of mean PM10 for West Bengal in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Asansol', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2358,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2359,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2360,Create a month-wise PM2.5 breakdown table across cities in Maharashtra for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2361,Tabulate the 10 worst states for average PM10 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2362,"Show the variability of PM10 across states in 2018 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2363,Create a ranked table of the 20 best-performing states by PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2364,Show annual average PM2.5 for Haryana as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2365,List average PM10 by month for Delhi in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2366,Tabulate the 10 citys with the least PM2.5 pollution in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2367,Show how many times PM2.5 exceeded 60 µg/m³ per day across citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2368,Which 20 citys recorded the highest average PM10 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2369,List average PM10 by month for Delhi in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2370,Tabulate the yearly average PM2.5 trend for Agra across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2371,Show annual average PM2.5 for Rajasthan as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2372,Tabulate average PM10 for each city in Maharashtra across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2373,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Belgaum',
'Bengaluru',
'Chamarajanagar',
'Chikkaballapur',
'Chikkamagaluru',
'Davanagere',
'Dharwad',
'Gadag',
'Hassan',
'Haveri',
'Hubballi',
'Kalaburagi',
'Koppal',
'Madikeri',
'Mangalore',
'Mysuru',
'Raichur',
'Ramanagara',
'Shivamogga',
'Tumakuru',
'Vijayapura',
'Yadgir']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2374,Tabulate the monthly mean PM2.5 levels for Varanasi during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Varanasi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2375,Which 20 states had the lowest mean PM10 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2376,Create a summary table ranking the top 5 citys by PM10 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2377,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2378,Show a table of average PM10 per state in 2024 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2379,Which 10 citys had the lowest mean PM10 in 2017? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2380,List the average PM2.5 for Mizoram broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2381,Create a statistical summary table of PM10 readings by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2382,Which 10 citys had the lowest mean PM2.5 in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2383,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2384,Tabulate the 15 worst states for average PM2.5 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2385,Which 20 states recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2386,Show a year-wise table of average PM2.5 for Delhi from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2387,List all states with their average PM10 and population for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2388,Tabulate the monthly mean PM10 levels for Bihar during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2389,Tabulate the top 15 citys for PM2.5 in 2020 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2390,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2391,Create a table with mean and standard deviation of PM2.5 by city in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2392,List how many days each state breached the PM10 limit of 150 µg/m³ in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2393,Tabulate average PM10 for each city in Andhra Pradesh across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2394,Create a ranked table of the 5 best-performing citys by PM2.5 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2395,Tabulate population-adjusted PM2.5 levels for each state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2396,List states ranked by PM2.5 concentration relative to their area in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2397,Which 15 states recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2398,Tabulate the monthly mean PM2.5 levels for Bihar during 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2399,Tabulate the 10 states with the least PM10 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2400,Show a table of the top 5 states by average PM2.5 in 2018 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2401,Show a table of average PM2.5 per state in 2020 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2402,List states with their average PM10 and area for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2403,List the bottom 10 states with the lowest average PM10 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2404,Tabulate the yearly average PM2.5 trend for Kolkata across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2405,Show how many times PM10 exceeded 100 µg/m³ per day across states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2406,List the top 10 citys by average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2407,Show a ranked table of the 10 most polluted citys by average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2408,Show average PM10 per capita by state in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2409,Show a monthly breakdown table of average PM2.5 for Gaya in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2410,List the bottom 15 citys with the lowest average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2411,Which 15 citys had the lowest mean PM2.5 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2412,Tabulate the 10 worst citys for average PM2.5 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2413,List how many days each city breached the PM10 limit of 150 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2414,Create a table of PM10 standard violations (>150 µg/m³) per city in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2415,Tabulate average PM2.5 for each city in Gujarat across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2416,"Create a table showing top 5 citys ranked by PM2.5 in 2022, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2417,Show annual average PM10 for Agra as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2418,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2419,List states with their PM10 violation count and rate (>100 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2420,Create a ranked table of the 20 best-performing states by PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2421,Show a table of the 15 cleanest citys by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2422,List the top 15 states by average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2423,List the bottom 20 citys with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2424,Show a ranked table of the 15 most polluted states by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2425,Create a table of PM2.5 per unit area for all states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2426,Show how average PM10 varied month by month for Asansol in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2427,Show a table of the 10 cleanest citys by average PM2.5 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2428,Which 10 citys had the lowest mean PM10 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2429,List states by PM10 concentration per million inhabitants in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2430,Tabulate average and median PM2.5 for all states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2431,Create a summary table ranking the top 20 states by PM2.5 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2432,Create a table of PM2.5 per unit area for all states in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2433,Create a month-wise summary of average PM10 for Andhra Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2434,Generate a descriptive stats table for PM10 grouped by city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2435,Create a summary table ranking the top 15 citys by PM2.5 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2436,Generate a city × month cross-tab of mean PM2.5 for Andhra Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2437,Which 5 states recorded the highest average PM10 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2438,Show a monthly breakdown table of average PM2.5 for Ghaziabad in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2439,Tabulate the 15 worst citys for average PM2.5 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2440,Tabulate the 10 citys with the least PM2.5 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2441,List all states with their average PM2.5 and population for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2442,Generate a monthly average PM10 table for Indore for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2443,Tabulate the 20 states with the least PM2.5 pollution in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2444,List states with their PM2.5 violation count and rate (>100 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2445,Create a table of total NCAP funding by state sorted by amount.,"
[ {'op': 'SOURCE', 'params': {'table': 'ncap'}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'Total fund released', 'fn': 'sum'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Total fund released'}},
{'op': 'RENAME', 'params': {'map': {'Total fund released': 'Total Fund Released (Cr)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2446,"Tabulate PM2.5 levels, population, and land area per state in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2447,Show a table of average PM2.5 and PM10 for all states in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2448,"Show the mean, median and standard deviation of PM10 per city in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2449,Show how average PM2.5 varied month by month for Maharashtra in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2450,"Tabulate the distribution of PM2.5 per city in 2020 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2451,List average PM2.5 by month for Chandigarh in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2452,Show a pivot table of monthly average PM10 by state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2453,Generate a city × month cross-tab of mean PM10 for Odisha in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Angul',
'Balasore',
'Barbil',
'Baripada',
'Bhubaneswar',
'Bileipada',
'Brajrajnagar',
'Byasanagar',
'Cuttack',
'Keonjhar',
'Nayagarh',
'Rairangpur',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2454,Create a table showing annual mean PM2.5 levels for Punjab (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2455,Show a table of average PM2.5 per state in 2017 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2456,Generate a monthly average PM2.5 table for Indore for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2457,List the top 10 states by average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2458,Create a month-wise summary of average PM2.5 for Karnataka in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2459,Which 15 states recorded the highest average PM2.5 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2460,Create a table showing annual mean PM10 levels for Nagaland (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2461,Show a ranked table of the 5 most polluted citys by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2462,Create a table of state PM2.5 levels and geographic area for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2463,Generate a year-by-year summary table of PM10 readings for Kanpur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2464,Create a month-wise summary of average PM10 for Bengaluru in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2465,Generate a city × month cross-tab of mean PM2.5 for Assam in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Byrnihat', 'Guwahati', 'Nalbari', 'Silchar', 'Sivasagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2466,Show the number of days each state exceeded a PM2.5 threshold of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2467,List the top 15 citys by average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2468,List the average PM10 for Uttar Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2469,Create a ranked table of the 20 best-performing citys by PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2470,Show how average PM2.5 varied month by month for Madhya Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2471,Which 5 citys had the lowest mean PM10 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2472,Create a month-wise summary of average PM2.5 for Ahmedabad in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2473,Create a month-wise summary of average PM2.5 for Bengaluru in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bengaluru'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2474,Tabulate population-adjusted PM10 levels for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2475,Create a table of PM10 exceedance frequency above 150 µg/m³ by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2476,Create a ranked table of the 20 best-performing states by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2477,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2478,List all states with their average PM10 and population for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2479,Create a summary table ranking the top 15 citys by PM2.5 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2480,Generate a city × month cross-tab of mean PM2.5 for Maharashtra in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chandrapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2481,Show how average PM2.5 varied month by month for Karnataka in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2482,Show a ranked table of the 15 most polluted states by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2483,Show a ranked table of the 10 most polluted citys by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2484,Show PM10 exceedance count and rate (%) above 100 µg/m³ per city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2485,Create a ranked table of the 5 best-performing citys by PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2486,Show how average PM10 varied month by month for Maharashtra in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2487,Create a summary table comparing mean PM2.5 and PM10 across states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2488,Tabulate average PM10 for each state across all months in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2489,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2490,Show the number of days each state exceeded a PM10 threshold of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2491,List the bottom 20 citys with the lowest average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2492,Which 15 states recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2493,Show a table of the top 10 states by average PM2.5 in 2024 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2494,Create a table showing PM10 spread (min to max) and central tendency per state for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2495,Tabulate the top 10 states for PM2.5 in 2021 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2496,Show annual average PM2.5 for Delhi as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2497,Generate a year-by-year summary table of PM10 readings for Meerut.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2498,Tabulate daily PM10 exceedances (above 100 µg/m³) per state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2499,Tabulate the monthly mean PM2.5 levels for Gujarat during 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2500,Create a table showing annual mean PM2.5 levels for Howrah (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Howrah'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2501,Show a pivot table of monthly average PM10 by city for Rajasthan in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2502,Create a table showing PM2.5 levels and population for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2503,Which 10 citys had the lowest mean PM2.5 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2504,Generate a table showing the 15 most polluted citys based on mean PM10 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2505,"Tabulate the distribution of PM10 per city in 2020 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2506,List average PM10 by month for Haryana in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2507,Tabulate area-adjusted PM2.5 (per km²) for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2508,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2509,Tabulate the top 20 citys for PM2.5 in 2019 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2510,Show a table of the 20 cleanest states by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2511,Show a table of the 15 cleanest states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2512,List the top 10 citys by average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2513,List the average PM10 for Guwahati broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Guwahati'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2514,List the bottom 15 states with the lowest average PM2.5 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2515,Generate a descriptive stats table for PM2.5 grouped by city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2516,Show PM10 density (µg/m³ per km²) by state for 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2517,Show how average PM10 varied month by month for Madhya Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2518,Show how many times PM2.5 exceeded 60 µg/m³ per day across citys in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2519,Show a pivot table of monthly average PM2.5 by city for Haryana in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2520,Tabulate average PM10 for each state across all months in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Manipur',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2521,Create a month-wise summary of average PM10 for Lucknow in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2522,Show annual average PM2.5 for Patna as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2523,Show a year-wise table of average PM2.5 for Chennai from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2524,Generate a year-by-year summary table of PM2.5 readings for Jodhpur.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2525,List citys with their PM10 violation count and rate (>150 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2526,Show a pivot table of monthly average PM2.5 by city for Punjab in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2527,Show how average PM10 varied month by month for Jaipur in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2528,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2529,List how many days each city breached the PM10 limit of 150 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2530,List the bottom 15 citys with the lowest average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2531,Tabulate average and median PM2.5 for all citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2532,List the average PM10 for Telangana broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2533,Show a year-wise table of average PM10 for Tamil Nadu from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2534,Show a pivot table of monthly average PM2.5 by city for Punjab in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ludhiana', 'Mandi Gobindgarh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2535,Show a pivot table of monthly average PM10 by city for Uttar Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ghaziabad', 'Moradabad', 'Noida', 'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2536,Create a per-capita PM10 summary table by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2537,Which 15 states had the lowest mean PM10 in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2538,List the top 10 citys by average PM2.5 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2539,Which 15 citys had the lowest mean PM10 in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2540,List the top 10 citys by PM2.5 in 2019 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2541,Show a table of the 20 cleanest citys by average PM10 in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2542,Which 20 citys recorded the highest average PM2.5 levels in 2020? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2543,"Show descriptive statistics of PM10 (mean, median, std, min, max) per city in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2544,Generate a year-by-year summary table of PM2.5 readings for Puducherry.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Puducherry'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2545,Which 10 states had the lowest mean PM10 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2546,Tabulate mean PM2.5 alongside state population figures for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2547,List average PM2.5 by month for Uttar Pradesh in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2548,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2549,Create a table of PM2.5 standard violations (>100 µg/m³) per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2550,Show a pivot table of monthly average PM10 by city for Rajasthan in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Bhiwadi',
'Jaipur',
'Jodhpur',
'Kota',
'Pali',
'Sirohi',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2551,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2552,Create a month-wise PM10 breakdown table across cities in Andhra Pradesh for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Tirupati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2553,List average PM2.5 by month for Punjab in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2554,Which 5 states recorded the highest average PM2.5 levels in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2555,Tabulate mean PM10 alongside state population figures for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2556,Tabulate mean PM10 alongside state population figures for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2557,Create a table with mean and standard deviation of PM10 by city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2558,Create a table showing annual mean PM2.5 levels for Moradabad (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2559,Tabulate the top 5 states for PM2.5 in 2024 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2560,Tabulate average PM10 for each city in Kerala across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Thiruvananthapuram']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2561,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2562,Generate a city × month cross-tab of mean PM2.5 for Madhya Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Damoh',
'Dewas',
'Mandideep',
'Pithampur',
'Ratlam',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2563,Tabulate the yearly average PM10 trend for Tripura across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2564,Show a pivot table of monthly average PM2.5 by city for Gujarat in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Ahmedabad']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2565,Show annual average PM10 for Punjab as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2566,Create a per-capita PM10 summary table by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2567,List states ranked by PM10 concentration relative to their area in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2568,Show a year-wise table of average PM2.5 for Bhopal from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2569,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2570,Create a month-wise PM2.5 breakdown table across cities in Maharashtra for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2571,Create a month-wise PM2.5 breakdown table across cities in Tamil Nadu for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2572,Tabulate population-adjusted PM10 levels for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2573,Show PM10 density (µg/m³ per km²) by state for 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2574,Generate a monthly average PM10 table for Uttar Pradesh for the year 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2575,"Show the mean, median and standard deviation of PM10 per city in 2020 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2576,Create a summary table ranking the top 10 citys by PM10 concentration in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2577,Generate a table showing the 10 most polluted citys based on mean PM2.5 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2578,Generate a table showing the 20 most polluted citys based on mean PM10 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2579,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2580,Create a table with mean and standard deviation of PM2.5 by state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2581,Tabulate the monthly mean PM10 levels for Agra during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2582,Tabulate average and median PM10 for all citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2583,Generate a city × month cross-tab of mean PM10 for Punjab in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2584,List the top 15 states by average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2585,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2586,List the top 5 citys by PM2.5 in 2024 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2587,Generate a city × month cross-tab of mean PM10 for Karnataka in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2588,Show a table of the top 15 citys by average PM2.5 in 2021 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2589,Tabulate the 20 citys with the least PM2.5 pollution in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2590,List all citys with their average PM2.5 and PM10 levels in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2591,Show a pivot table of monthly average PM2.5 by city for Haryana in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ambala',
'Bahadurgarh',
'Ballabgarh',
'Bhiwani',
'Charkhi Dadri',
'Dharuhera',
'Faridabad',
'Fatehabad',
'Gurugram',
'Hisar',
'Jind',
'Kaithal',
'Karnal',
'Kurukshetra',
'Mandikhera',
'Manesar',
'Narnaul',
'Palwal',
'Panchkula',
'Panipat',
'Rohtak',
'Sirsa',
'Sonipat',
'Yamuna Nagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2592,List states by PM10 concentration per million inhabitants in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2593,Tabulate the 5 states with the least PM10 pollution in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2594,Tabulate the 20 worst citys for average PM10 in 2019 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2595,Create a table showing annual mean PM10 levels for Ghaziabad (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ghaziabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2596,Show a monthly breakdown table of average PM10 for Karnataka in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2597,Create a statistical summary table of PM10 readings by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2598,Show a monthly breakdown table of average PM2.5 for Jaipur in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2599,Tabulate average PM2.5 for each city in Kerala across all months of 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2600,List average PM2.5 by month for Agra in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Agra'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2601,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2602,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2603,Generate a city × month cross-tab of mean PM10 for Maharashtra in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2604,List average PM10 by month for Madhya Pradesh in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2605,Tabulate the 10 worst citys for average PM2.5 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2606,Show a pivot table of monthly average PM10 by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2607,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2608,Show a table of the 20 cleanest states by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2609,Tabulate average PM10 for each city in Odisha across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baripada',
'Bileipada',
'Brajrajnagar',
'Keonjhar',
'Nayagarh',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2610,Tabulate the yearly average PM10 trend for Assam across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2611,"Show mean, median, minimum, and maximum PM10 for each city in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2612,Generate a city × month cross-tab of mean PM10 for Andhra Pradesh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2613,Show a table of the top 20 citys by average PM2.5 in 2020 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2614,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2615,Create a table of state PM10 levels and geographic area for 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2616,Generate a city × month cross-tab of mean PM2.5 for Uttar Pradesh in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Agra', 'Kanpur', 'Lucknow', 'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2617,Show a year-wise table of average PM10 for Telangana from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2618,Show a pivot table of monthly average PM10 by city for Andhra Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Vijayawada', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2619,Tabulate the 15 worst states for average PM2.5 in 2019 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2620,Show annual average PM2.5 for Hyderabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2621,Show annual average PM10 for Mizoram as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2622,Generate a dual-pollutant summary table (PM2.5 and PM10) by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2623,List average PM2.5 by month for Tamil Nadu in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2624,"Create a table showing top 5 states ranked by PM2.5 in 2019, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2625,Create a ranked table of the 10 best-performing citys by PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2626,Generate a table showing the 5 most polluted citys based on mean PM10 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2627,List states with their PM10 violation count and rate (>100 µg/m³) in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2628,Generate a descriptive stats table for PM10 grouped by city in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2629,"Create a comprehensive state summary with PM2.5, population, and area for 2020.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2630,Generate a descriptive stats table for PM2.5 grouped by state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2631,Create a per-capita PM10 summary table by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2632,Show a ranked table of the 20 most polluted citys by average PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2633,Tabulate average and median PM2.5 for all citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2634,Create a table of PM10 exceedance frequency above 100 µg/m³ by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2635,Create a table showing PM2.5 spread (min to max) and central tendency per city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2636,Show the number of days each state exceeded a PM2.5 threshold of 60 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2637,Show annual average PM2.5 for Mizoram as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2638,Show PM2.5 density (µg/m³ per km²) by state for 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2639,"Tabulate PM2.5 statistics (mean, std, min, max) for each state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2640,Tabulate the monthly mean PM2.5 levels for Haryana during 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2641,Create a month-wise summary of average PM2.5 for Telangana in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Telangana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2642,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per state in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2643,Create a ranked table of the 10 best-performing states by PM2.5 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2644,"Show the mean, median and standard deviation of PM10 per city in 2022 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2645,Tabulate average PM2.5 for each city in Uttar Pradesh across all months of 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2646,Show the number of days each city exceeded a PM2.5 threshold of 100 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2647,Tabulate mean PM2.5 and PM10 along with station coverage per state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2648,Create a table of PM2.5 exceedance frequency above 100 µg/m³ by city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2649,Create a table with mean and standard deviation of PM2.5 by state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2650,Show a monthly breakdown table of average PM10 for Madhya Pradesh in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2651,Show a monthly breakdown table of average PM2.5 for Kanpur in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2652,Generate a year-by-year summary table of PM2.5 readings for Uttar Pradesh.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2653,Create a ranked table of the 15 best-performing citys by PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2654,"Show the mean, median and standard deviation of PM2.5 per state in 2019 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2655,Tabulate the 20 states with the least PM2.5 pollution in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2656,List average PM2.5 by month for Delhi in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2657,Tabulate the yearly average PM10 trend for Chandigarh across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2658,List average PM2.5 by month for Gaya in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2659,List the top 20 states by PM2.5 in 2018 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2660,Tabulate average PM2.5 for each city in Uttar Pradesh across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2661,Create a month-by-state breakdown table of mean PM2.5 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2662,Create a summary table ranking the top 10 citys by PM10 concentration in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2663,Tabulate population-adjusted PM2.5 levels for each state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2664,Generate a table showing the 15 most polluted states based on mean PM2.5 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2665,Show the number of days each city exceeded a PM2.5 threshold of 60 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2666,Create a summary table ranking the top 15 states by PM2.5 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2667,Tabulate the monthly mean PM2.5 levels for Kanpur during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kanpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2668,Show a monthly breakdown table of average PM2.5 for Madhya Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2669,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2670,Tabulate the 5 worst states for average PM2.5 in 2018 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2671,Show how average PM2.5 varied month by month for Muzaffarpur in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Muzaffarpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2672,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2673,List states by PM10 concentration per million inhabitants in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2674,Show a pivot table of monthly average PM10 by city for Rajasthan in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2675,Create a month-wise PM2.5 breakdown table across cities in Punjab for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2676,Show a pivot table of monthly average PM10 by city for Odisha in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2677,Show a table of the top 20 states by average PM2.5 in 2024 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2678,Show a table of average PM2.5 and PM10 for all states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2679,Which 10 states had the lowest mean PM10 in 2023? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2680,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2681,"Show the variability of PM10 across states in 2023 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2682,Show a table of average PM2.5 and PM10 for all states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2683,Show a pivot table of monthly average PM10 by city for Uttar Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2684,Tabulate the 15 worst states for average PM2.5 in 2023 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2685,Tabulate the yearly average PM2.5 trend for Solapur across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2686,Tabulate average PM10 for each city in Punjab across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2687,Show a monthly breakdown table of average PM10 for Indore in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Indore'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2688,Tabulate area-adjusted PM10 (per km²) for each state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2689,Which 15 citys had the lowest mean PM10 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2690,Generate a city × month cross-tab of mean PM2.5 for Uttar Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2691,Tabulate days with PM2.5 > 60 µg/m³ and exceedance percentage per city in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2692,Show how average PM2.5 varied month by month for Meerut in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Meerut'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2693,List the average PM2.5 for Gurugram broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2694,Create a month-wise PM2.5 breakdown table across cities in Andhra Pradesh for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2695,"Show mean, median, minimum, and maximum PM10 for each city in 2021 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2696,List the average PM2.5 for Nagaland broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2697,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2698,Create a table of PM2.5 standard violations (>100 µg/m³) per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2699,Show a year-wise table of average PM10 for Mumbai from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2700,Generate a descriptive stats table for PM2.5 grouped by state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2701,Generate a monthly average PM2.5 table for Kerala for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2702,List the bottom 10 citys with the lowest average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2703,Tabulate the yearly average PM2.5 trend for Bihar across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2704,"Show mean, median, minimum, and maximum PM2.5 for each state in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2705,Create a table showing annual mean PM2.5 levels for Asansol (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2706,Show the number of days each city exceeded a PM2.5 threshold of 60 µg/m³ in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2707,List the top 5 states by average PM2.5 in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2708,Generate a year-by-year summary table of PM2.5 readings for Bhopal.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2709,List states with their PM10 violation count and rate (>150 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2710,Create a ranked table of the 5 best-performing citys by PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2711,Tabulate the 20 worst states for average PM2.5 in 2022 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2712,"Show mean, median, minimum, and maximum PM10 for each state in 2017 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2713,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2714,Create a table showing annual mean PM10 levels for Patna (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2715,Generate a table showing the 20 most polluted citys based on mean PM10 for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2716,List states with their PM2.5 violation count and rate (>60 µg/m³) in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2717,List the bottom 15 citys with the lowest average PM10 in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2718,Tabulate the yearly average PM2.5 trend for Noida across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Noida'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2719,Tabulate the yearly average PM2.5 trend for Bhopal across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhopal'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2720,Generate a city × month cross-tab of mean PM2.5 for Bihar in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Araria',
'Arrah',
'Bettiah',
'Bhagalpur',
'Bihar Sharif',
'Chhapra',
'Darbhanga',
'Gaya',
'Hajipur',
'Katihar',
'Kishanganj',
'Manguraha',
'Motihari',
'Munger',
'Muzaffarpur',
'Patna',
'Purnia',
'Rajgir',
'Saharsa',
'Sasaram',
'Siwan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2721,Show a pivot table of monthly average PM2.5 by city for West Bengal in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2722,Create a month-wise summary of average PM10 for Lucknow in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Lucknow'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2723,List states ranked by PM10 concentration relative to their area in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2724,Create a summary table ranking the top 5 citys by PM10 concentration in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2725,Create a month-wise PM10 breakdown table across cities in Madhya Pradesh for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bhopal',
'Damoh',
'Dewas',
'Gwalior',
'Indore',
'Jabalpur',
'Katni',
'Maihar',
'Mandideep',
'Pithampur',
'Ratlam',
'Sagar',
'Satna',
'Singrauli',
'Ujjain']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2726,Show a pivot table of monthly average PM10 by city for Andhra Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Amaravati', 'Rajamahendravaram', 'Tirupati', 'Visakhapatnam']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2727,Show a ranked table of the 5 most polluted states by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2728,Tabulate average PM2.5 for each city in Odisha across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Angul',
'Balasore',
'Barbil',
'Baripada',
'Bhubaneswar',
'Bileipada',
'Brajrajnagar',
'Byasanagar',
'Cuttack',
'Keonjhar',
'Nayagarh',
'Rairangpur',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2729,Tabulate the top 15 states for PM2.5 in 2019 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2730,Which 10 citys recorded the highest average PM10 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2731,List all states with their average PM2.5 and population for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2732,Which 5 citys had the lowest mean PM10 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2733,Tabulate daily PM2.5 exceedances (above 100 µg/m³) per city for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2734,Create a ranked table of the 5 best-performing citys by PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2735,"Show average PM2.5, PM10 and the number of monitoring stations per state in 2019.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2736,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2737,Create a month-wise summary of average PM2.5 for Hyderabad in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2738,Show how average PM2.5 varied month by month for Nagaland in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2739,Show PM10 exceedance count and rate (%) above 150 µg/m³ per state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2740,"Tabulate PM10 levels, population, and land area per state in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2741,"Show the variability of PM10 across citys in 2018 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2742,Create a month-wise summary of average PM2.5 for Mumbai in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2743,Tabulate area-adjusted PM10 (per km²) for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2744,List the average PM2.5 for Nashik broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2745,Show average PM10 per state in 2019 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2746,Tabulate daily PM10 exceedances (above 150 µg/m³) per state for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2747,List the bottom 5 states with the lowest average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2748,Show PM2.5 exceedance count and rate (%) above 60 µg/m³ per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2749,Create a month-by-state breakdown table of mean PM2.5 for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Himachal Pradesh',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Sikkim',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'Uttarakhand',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2750,Show the number of days each state exceeded a PM10 threshold of 100 µg/m³ in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2751,Create a table of PM2.5 per unit area for all states in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2752,Show the number of days each state exceeded a PM10 threshold of 100 µg/m³ in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2753,List the top 10 states by PM2.5 in 2020 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2754,List the top 10 citys by PM2.5 in 2020 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2755,Show a table of the 20 cleanest citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2756,Generate a table showing the 15 most polluted citys based on mean PM2.5 for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2757,Create a summary table ranking the top 20 citys by PM10 concentration in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2758,Tabulate average PM10 for each city in Assam across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2759,Tabulate population-adjusted PM2.5 levels for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2760,Show annual average PM10 for Ahmedabad as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2761,Generate a monthly average PM2.5 table for Nagaland for the year 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Nagaland'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2762,Create a table of PM10 exceedance frequency above 150 µg/m³ by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2763,List states with their average PM2.5 and area for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2764,Generate a descriptive stats table for PM2.5 grouped by city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2765,Show average PM10 per capita by state in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2766,List average PM2.5 by month for Bihar in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2767,Show a table of the top 20 states by average PM2.5 in 2022 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2768,List the average PM2.5 for Madhya Pradesh broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2769,Tabulate mean PM2.5 and land area for each state in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2770,Create a summary table ranking the top 10 states by PM2.5 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2771,Which 10 citys recorded the highest average PM2.5 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2772,Create a table showing annual mean PM2.5 levels for Chandigarh (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2773,Create a table of PM10 exceedance frequency above 100 µg/m³ by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2774,Tabulate daily PM10 exceedances (above 100 µg/m³) per city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2775,Which 20 citys recorded the highest average PM10 levels in 2019? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2776,Tabulate average and median PM2.5 for all citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2777,Create a summary table ranking the top 5 states by PM10 concentration in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2778,Tabulate the yearly average PM10 trend for Punjab across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2779,Tabulate the yearly average PM10 trend for Prayagraj across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Prayagraj'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2780,Create a table showing annual mean PM2.5 levels for Hyderabad (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2781,List states by PM10 concentration per million inhabitants in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2782,"Create a table showing top 10 citys ranked by PM2.5 in 2020, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2783,Create a per-capita PM2.5 summary table by state for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2784,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2785,List average PM10 by month for Mizoram in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2786,Tabulate average and median PM10 for all states in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2787,List states with their average PM10 and area for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2788,List the bottom 20 citys with the lowest average PM2.5 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2789,Create a table with mean and standard deviation of PM2.5 by state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2790,Show a ranked table of the 10 most polluted citys by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2791,Tabulate average PM10 for each city in Odisha across all months of 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Angul',
'Balasore',
'Barbil',
'Baripada',
'Bhubaneswar',
'Bileipada',
'Brajrajnagar',
'Byasanagar',
'Cuttack',
'Keonjhar',
'Nayagarh',
'Rairangpur',
'Rourkela',
'Suakati',
'Talcher',
'Tensa']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2792,Tabulate the 5 worst citys for average PM2.5 in 2017 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2793,List the bottom 10 citys with the lowest average PM2.5 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2794,Tabulate mean PM10 and land area for each state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2795,List states with their average PM10 and area for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2796,Tabulate the yearly average PM10 trend for Kota across all years.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kota'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2797,Show a year-wise table of average PM2.5 for Tripura from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2798,Create a summary table comparing mean PM2.5 and PM10 across citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2799,"Show the variability of PM10 across citys in 2022 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2800,Create a table of PM10 per unit area for all states in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2801,Generate a city × month cross-tab of mean PM10 for Uttar Pradesh in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Hapur',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2802,Tabulate the monthly mean PM2.5 levels for Moradabad during 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Moradabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2803,Show a table of the 5 cleanest citys by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2804,List the bottom 10 citys with the lowest average PM2.5 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2805,List average PM2.5 by month for Karnataka in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2806,List the average PM2.5 for Bhilai broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Bhilai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2807,Create a summary table ranking the top 20 states by PM2.5 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2808,Create a table showing PM2.5 spread (min to max) and central tendency per state for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2809,Show the number of days each state exceeded a PM2.5 threshold of 100 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2810,Show a pivot table of monthly average PM2.5 by city for West Bengal in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Asansol', 'Durgapur', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2811,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2812,Show PM10 exceedance count and rate (%) above 100 µg/m³ per state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2813,Create a month-wise summary of average PM10 for Asansol in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2814,Create a table showing PM10 spread (min to max) and central tendency per city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2815,Tabulate mean PM10 and land area for each state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2816,Show how average PM10 varied month by month for Mumbai in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2817,Tabulate days with PM2.5 > 100 µg/m³ and exceedance percentage per state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2818,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2819,Show a table of average PM2.5 per state in 2019 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2820,Tabulate the top 15 citys for PM2.5 in 2017 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2821,Tabulate average and median PM2.5 for all citys in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2822,Generate a table showing the 5 most polluted states based on mean PM2.5 for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2823,List the bottom 20 citys with the lowest average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2824,Show how average PM10 varied month by month for Delhi in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2825,Show how many times PM2.5 exceeded 60 µg/m³ per day across states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2826,Generate a city × month cross-tab of mean PM2.5 for Karnataka in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Bengaluru']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2827,List the top 15 citys by PM2.5 in 2019 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2828,Show PM2.5 exceedance count and rate (%) above 100 µg/m³ per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2829,Show a pivot table of monthly average PM2.5 by city for Tamil Nadu in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2830,List citys with their PM2.5 violation count and rate (>60 µg/m³) in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2831,Create a table showing annual mean PM10 levels for Howrah (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Howrah'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2832,List the bottom 20 citys with the lowest average PM10 in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2833,List states by PM10 concentration per million inhabitants in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM10 per million',
'numerator': 'PM10',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'PM10 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2834,Generate a dual-pollutant summary table (PM2.5 and PM10) by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2835,Generate a city × month cross-tab of mean PM10 for Karnataka in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Bagalkot',
'Bengaluru',
'Chikkaballapur',
'Chikkamagaluru',
'Kolar',
'Mysuru',
'Ramanagara']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2836,Show the number of days each state exceeded a PM10 threshold of 150 µg/m³ in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2837,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2838,List the average PM2.5 for Meghalaya broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Meghalaya'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2839,Tabulate daily PM2.5 exceedances (above 60 µg/m³) per city for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2840,Show a ranked table of the 20 most polluted states by average PM10 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2841,Show a ranked table of the 20 most polluted states by average PM10 in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2842,Generate a cross-tab of state vs month for average PM2.5 in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Arunachal Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Chhattisgarh',
'Delhi',
'Gujarat',
'Haryana',
'Jammu and Kashmir',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2843,Create a month-wise PM2.5 breakdown table across cities in Tamil Nadu for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2844,Create a ranked table of the 10 best-performing citys by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2845,Generate a year-by-year summary table of PM2.5 readings for Chennai.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2846,"Show descriptive statistics of PM2.5 (mean, median, std, min, max) per city in 2024.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2847,Generate a city × month cross-tab of mean PM10 for Uttar Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2848,Show PM10 averages in a state × month matrix for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2849,List states with their PM10 violation count and rate (>150 µg/m³) in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2850,Create a month-wise PM10 breakdown table across cities in Uttar Pradesh for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Moradabad',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2851,Generate a descriptive stats table for PM10 grouped by city in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2852,Show a pivot table of monthly average PM2.5 by city for Gujarat in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Gujarat'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Ahmedabad', 'Ankleshwar', 'Gandhinagar', 'Nandesari', 'Vatva']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2853,Show a table of the 5 cleanest states by average PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2854,Show a table of the top 15 states by average PM2.5 in 2018 including their PM10 levels too.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2855,Which 15 states had the lowest mean PM10 in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2856,Create a table showing annual mean PM2.5 levels for Gwalior (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2857,Create a month-wise summary of average PM2.5 for Andhra Pradesh in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Andhra Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2858,Show a year-wise table of average PM2.5 for Nagpur from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2859,Generate a cross-tab of state vs month for average PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Meghalaya',
'Odisha',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2860,Tabulate the top 15 states for PM2.5 in 2020 along with their corresponding PM10 values.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2861,Create a month-wise summary of average PM10 for West Bengal in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2862,Create a table showing annual mean PM2.5 levels for Haryana (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2863,Show a pivot table of monthly average PM2.5 by city for Maharashtra in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2864,Tabulate average PM2.5 for each city in Rajasthan across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Ajmer', 'Alwar', 'Bhiwadi', 'Jaipur', 'Jodhpur', 'Kota', 'Pali', 'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2865,Create a ranked table of the 15 best-performing citys by PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2866,Show a table of the 10 cleanest states by average PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2867,Which 10 states recorded the highest average PM10 levels in 2021? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2868,Generate a city × month cross-tab of mean PM2.5 for Punjab in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Punjab'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Amritsar',
'Bathinda',
'Jalandhar',
'Khanna',
'Ludhiana',
'Mandi Gobindgarh',
'Patiala',
'Rupnagar']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2869,Create a month-wise PM2.5 breakdown table across cities in Assam for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Assam'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Guwahati']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2870,List the average PM10 for Asansol broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Asansol'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2871,"Show a table of average PM10, population, and area for all states in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2872,Tabulate average PM10 for each city in Maharashtra across all months of 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Maharashtra'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Aurangabad',
'Chandrapur',
'Kalyan',
'Mumbai',
'Nagpur',
'Nashik',
'Navi Mumbai',
'Pune',
'Solapur',
'Thane']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2873,Show a table of average PM2.5 and PM10 for all states in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2874,Show a pivot table of monthly average PM2.5 by city for Rajasthan in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Rajasthan'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Ajmer',
'Alwar',
'Banswara',
'Baran',
'Barmer',
'Bharatpur',
'Bhilwara',
'Bhiwadi',
'Bikaner',
'Bundi',
'Chittorgarh',
'Churu',
'Dausa',
'Dholpur',
'Dungarpur',
'Hanumangarh',
'Jaipur',
'Jaisalmer',
'Jalore',
'Jhalawar',
'Jhunjhunu',
'Jodhpur',
'Karauli',
'Kota',
'Nagaur',
'Pali',
'Pratapgarh',
'Rajsamand',
'Sawai Madhopur',
'Sikar',
'Sirohi',
'Sri Ganganagar',
'Tonk',
'Udaipur']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2875,List the average PM10 for Kerala broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2876,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2877,Create a month-wise PM10 breakdown table across cities in Odisha for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2878,List average PM2.5 by month for Uttar Pradesh in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2879,Show PM2.5 averages in a state × month matrix for 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2880,List states ranked by PM2.5 concentration relative to their area in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2881,Tabulate area-adjusted PM10 (per km²) for each state in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'COMPUTE', 'params': {'denominator': 'area (km2)', 'new_col': 'PM10 per km²', 'numerator': 'PM10'}},
{'op': 'DROPNA', 'params': {'col': 'PM10 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)', 'PM10 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2882,"Tabulate the distribution of PM2.5 per state in 2017 including mean, median, and std.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM2.5', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2883,Show a pivot table of monthly average PM10 by city for Kerala in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Eloor',
'Kannur',
'Kochi',
'Kollam',
'Kozhikode',
'Thiruvananthapuram',
'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2884,"Show descriptive statistics of PM10 (mean, median, std, min, max) per state in 2022.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2885,Show how many times PM2.5 exceeded 100 µg/m³ per day across states in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2886,Generate a table showing the 5 most polluted citys based on mean PM10 for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2887,Create a table showing annual mean PM10 levels for Gwalior (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gwalior'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2888,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2889,Show how average PM2.5 varied month by month for Solapur in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Solapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2890,Create a table of PM10 exceedance frequency above 100 µg/m³ by state for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 100'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2891,Create a table showing PM2.5 levels and population for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2892,"Show the variability of PM2.5 across citys in 2018 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'min', 'max']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2893,Show a table of the 20 cleanest states by average PM2.5 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2894,Create a table of PM2.5 exceedance frequency above 60 µg/m³ by city for 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM2.5 > 60'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2895,Tabulate mean PM2.5 alongside state population figures for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2896,Create a ranked table of the 20 best-performing citys by PM10 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2897,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2898,Create a table of PM10 exceedance frequency above 150 µg/m³ by city for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2899,Create a table with mean and standard deviation of PM10 by state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2900,Tabulate daily PM10 exceedances (above 150 µg/m³) per city for 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2901,Create a month-wise PM10 breakdown table across cities in West Bengal for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Asansol', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2902,Show annual average PM2.5 for Thiruvananthapuram as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Thiruvananthapuram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2903,Which 10 states recorded the highest average PM10 levels in 2022? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2904,Show a monthly breakdown table of average PM10 for Madhya Pradesh in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Madhya Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2905,List the bottom 15 states with the lowest average PM10 in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2906,Create a table of state PM2.5 levels and geographic area for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2907,Tabulate area-adjusted PM2.5 (per km²) for each state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2908,Create a month-wise summary of average PM10 for Jodhpur in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jodhpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2909,Create a table showing annual mean PM2.5 levels for Patna (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Patna'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2910,Create a month-wise summary of average PM10 for Chandigarh in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Chandigarh'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2911,Show a table of average PM2.5 and PM10 for all states in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2912,Show annual average PM10 for Karnataka as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2913,Generate a table showing the 10 most polluted citys based on mean PM2.5 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2914,Show how many times PM10 exceeded 150 µg/m³ per day across citys in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2915,Show a monthly breakdown table of average PM2.5 for Gurugram in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gurugram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2916,Tabulate average and median PM10 for all states in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2917,Show the number of days each city exceeded a PM10 threshold of 100 µg/m³ in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2918,Tabulate how average PM10 changed year by year for each state.,"
[ { 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Delhi',
'Haryana',
'Jharkhand',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Odisha',
'Punjab',
'Rajasthan',
'Telangana',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'year',
'fn': 'mean',
'index': 'state',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2919,Tabulate both PM2.5 and PM10 averages by state for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2920,Show a year-wise table of average PM2.5 for Bihar from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Bihar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2921,List the average PM2.5 for Faridabad broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Faridabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2922,List average PM10 by month for Ahmedabad in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Ahmedabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2923,Generate a year-by-year summary table of PM2.5 readings for Haryana.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Haryana'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2924,List the top 10 citys by average PM10 in 2024 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2925,"Tabulate PM10 statistics (mean, std, min, max) for each city in 2021.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'DESCRIBE',
'params': {'by': 'city', 'col': 'PM10', 'stats': ['mean', 'median', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2926,Create a table of PM10 standard violations (>150 µg/m³) per state in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2927,Show a ranked table of the 15 most polluted citys by average PM10 in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2928,Show average PM2.5 per capita by state in 2018 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{ 'op': 'COMPUTE',
'params': { 'denominator': 'population',
'new_col': 'PM2.5 per million',
'numerator': 'PM2.5',
'scale': 1000000}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per million'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per million'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'PM2.5 per million']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2929,Tabulate the 5 worst states for average PM10 in 2021 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2930,Tabulate the 10 worst states for average PM10 in 2024 sorted by pollution level.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2931,Generate a year-by-year summary table of PM2.5 readings for Nashik.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nashik'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2932,Create a summary table ranking the top 10 states by PM2.5 concentration in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2933,Generate a city × month cross-tab of mean PM2.5 for Uttar Pradesh in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2934,Create a ranked table of the 15 best-performing citys by PM2.5 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2935,List the top 15 citys by PM2.5 in 2021 with both PM2.5 and PM10 averages.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2936,List the top 10 citys by average PM2.5 in 2020 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2937,Tabulate the 5 citys with the least PM10 pollution in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2938,Create a table showing PM10 spread (min to max) and central tendency per state for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'std', 'min', 'max']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2939,Create a table of PM2.5 standard violations (>60 µg/m³) per city in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2940,List average PM2.5 by month for Himachal Pradesh in 2022 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Himachal Pradesh'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2941,Show a ranked table of the 20 most polluted citys by average PM10 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2942,"Show the mean, median and standard deviation of PM2.5 per city in 2018 as a table.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2943,Generate a table showing the 15 most polluted states based on mean PM2.5 for 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2944,Tabulate the monthly mean PM2.5 levels for Kolkata during 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Kolkata'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2945,Show PM10 exceedance count and rate (%) above 150 µg/m³ per city in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2946,Create a month-wise PM10 breakdown table across cities in West Bengal for 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'West Bengal'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Asansol', 'Barrackpore', 'Durgapur', 'Haldia', 'Howrah', 'Kolkata', 'Siliguri']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2947,Generate a year-by-year summary table of PM2.5 readings for Tripura.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tripura'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2948,Create a month-wise PM2.5 breakdown table across cities in Uttar Pradesh for 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Kanpur',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Noida',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2949,Create a summary table ranking the top 10 citys by PM10 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2950,List the average PM2.5 for Jaipur broken down by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Jaipur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2951,Show how many times PM10 exceeded 100 µg/m³ per day across citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2952,"Show the variability of PM10 across states in 2019 using mean, median, and standard deviation.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'DESCRIBE', 'params': {'by': 'state', 'col': 'PM10', 'stats': ['mean', 'q25', 'median', 'q75']}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2953,Show a monthly breakdown table of average PM2.5 for Durgapur in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Durgapur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2954,Show PM10 exceedance count and rate (%) above 150 µg/m³ per state in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2955,List average PM10 by month for Hyderabad in 2023 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Hyderabad'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2956,Tabulate the 10 states with the least PM2.5 pollution in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2957,List average PM2.5 by month for Kerala in 2017 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2958,Which 5 citys had the lowest mean PM2.5 in 2018? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2959,List the top 20 states by average PM10 in 2021 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 20}}]
"
2960,Show the number of days each state exceeded a PM10 threshold of 150 µg/m³ in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2961,Show a table of the 10 cleanest citys by average PM10 in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2962,Tabulate average PM2.5 for each state across all months in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Bihar',
'Delhi',
'Haryana',
'Karnataka',
'Maharashtra',
'Tamil Nadu',
'Telangana',
'Uttar Pradesh']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2963,Generate a year-by-year summary table of PM10 readings for Mumbai.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2964,Create a table showing PM10 levels and population for each state in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2965,List the bottom 15 states with the lowest average PM10 in 2019 as a table.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2966,Show a table of the 15 cleanest citys by average PM2.5 in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2967,Show a pivot table of monthly average PM2.5 by city for Uttar Pradesh in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bareilly',
'Bulandshahr',
'Firozabad',
'Ghaziabad',
'Gorakhpur',
'Greater Noida',
'Hapur',
'Jhansi',
'Kanpur',
'Khurja',
'Lucknow',
'Meerut',
'Moradabad',
'Muzaffarnagar',
'Prayagraj',
'Varanasi',
'Vrindavan']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2968,Tabulate average PM10 for each city in Odisha across all months of 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Odisha'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Brajrajnagar', 'Talcher']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2969,Create a month-wise PM2.5 breakdown table across cities in Karnataka for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Karnataka'}},
{ 'op': 'OR_FILTER',
'params': {'field': 'city', 'values': ['Bengaluru', 'Chikkaballapur', 'Hubballi', 'Kalaburagi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2970,Create a table showing annual mean PM10 levels for Mumbai (2017–2024).,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Mumbai'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2971,Generate a city × month cross-tab of mean PM10 for Kerala in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Kerala'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': ['Eloor', 'Kannur', 'Kochi', 'Kollam', 'Thiruvananthapuram', 'Thrissur']}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2972,Show annual average PM2.5 for Gandhinagar as a table sorted by year.,"
[ {'op': 'FILTER', 'params': {'field': 'city', 'value': 'Gandhinagar'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2973,Show a monthly breakdown table of average PM2.5 for Nagpur in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Nagpur'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2974,Create a table of PM10 standard violations (>150 µg/m³) per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2975,Show a pivot table of monthly average PM2.5 by city for Tamil Nadu in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2976,Generate a monthly average PM2.5 table for Mizoram for the year 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Mizoram'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2977,Tabulate the 15 states with the least PM2.5 pollution in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2978,Tabulate average PM2.5 for each city in Tamil Nadu across all months of 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2979,Create a table of PM2.5 standard violations (>60 µg/m³) per state in 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 60}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 60', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'state'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 60'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2980,Tabulate area-adjusted PM2.5 (per km²) for each state in 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{ 'op': 'COMPUTE',
'params': {'denominator': 'area (km2)', 'new_col': 'PM2.5 per km²', 'numerator': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5 per km²'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5 per km²'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'area (km2)', 'PM2.5 per km²']}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2981,"Tabulate PM2.5 statistics (mean, std, min, max) for each city in 2017.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DESCRIBE', 'params': {'by': 'city', 'col': 'PM2.5', 'stats': ['mean', 'median', 'std']}},
{'op': 'DROPNA', 'params': {'col': 'std'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'mean'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2982,Show a table of average PM10 per state in 2020 along with population.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'population']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2983,Which 10 citys recorded the highest average PM2.5 levels in 2024? Tabulate the results.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 10}}]
"
2984,Generate a monthly average PM2.5 table for Chennai for the year 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'FILTER', 'params': {'field': 'city', 'value': 'Chennai'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2985,Show a table of average PM2.5 and PM10 for all citys in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2986,Show average PM10 per state in 2024 with area in km².,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2024}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM10'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM10', 'area (km2)']}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'area (km2)': 'Area (km²)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2987,"Create a table of PM2.5, PM10 and station counts by state for 2023.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'col': 'PM2.5', 'fn': 'mean'},
{'col': 'PM10', 'fn': 'mean'},
{'alias': 'Station Count', 'col': 'station', 'fn': 'nunique'}],
'by': 'state'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2988,Create a ranked table of the 5 best-performing citys by PM10 in 2017.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2017}},
{'op': 'AGG', 'params': {'by': 'city', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'PM10'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2989,"Create a comprehensive state summary with PM2.5, population, and area for 2018.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'JOIN', 'params': {'on': 'state', 'source': 'states'}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'population', 'value': 0}},
{'op': 'FILTER_JOIN', 'params': {'comparison': 'gt', 'field': 'area (km2)', 'value': 0}},
{'op': 'DROPNA', 'params': {'col': 'population'}},
{'op': 'DROPNA', 'params': {'col': 'area (km2)'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'SELECT_COLS', 'params': {'cols': ['state', 'PM2.5', 'population', 'area (km2)']}},
{ 'op': 'RENAME',
'params': { 'map': { 'PM2.5': 'Avg PM2.5 (µg/m³)',
'area (km2)': 'Area (km²)',
'population': 'Population'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2990,Show a year-wise table of average PM2.5 for Tamil Nadu from 2017 to 2024.,"
[ {'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'AGG', 'params': {'by': 'year', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'year'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)', 'year': 'Year'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2991,Show how many times PM2.5 exceeded 100 µg/m³ per day across citys in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM2.5', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 100}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM2.5 > 100', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM2.5', 'fn': 'count'}],
'by': 'city'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM2.5 > 100'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2992,Tabulate the monthly mean PM10 levels for Delhi during 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Delhi'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'AGG', 'params': {'by': 'month', 'col': 'PM10', 'fn': 'mean'}},
{'op': 'SORT', 'params': {'ascending': True, 'col': 'month'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'month': 'Month'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2993,Tabulate days with PM10 > 150 µg/m³ and exceedance percentage per city in 2018.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2018}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'ADD_FLAG', 'params': {'col': 'PM10', 'comparison': 'gt', 'new_col': 'exceeds', 'value': 150}},
{ 'op': 'MULTI_AGG',
'params': { 'aggs': [ {'alias': 'Days PM10 > 150', 'col': 'exceeds', 'fn': 'sum'},
{'alias': 'Total Days', 'col': 'PM10', 'fn': 'count'}],
'by': 'city'}},
{ 'op': 'ADD_RATE',
'params': { 'denominator': 'Total Days',
'new_col': 'Exceedance Rate (%)',
'numerator': 'Days PM10 > 150'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Days PM10 > 150'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2994,Create a summary table ranking the top 15 states by PM2.5 concentration in 2023.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2023}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 15}}]
"
2995,Create a month-wise PM2.5 breakdown table across cities in Uttar Pradesh for 2019.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2019}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Uttar Pradesh'}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'city',
'values': [ 'Agra',
'Baghpat',
'Bulandshahr',
'Ghaziabad',
'Greater Noida',
'Kanpur',
'Lucknow',
'Moradabad',
'Noida',
'Varanasi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2996,Generate a cross-tab of state vs month for average PM2.5 in 2021.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2021}},
{ 'op': 'OR_FILTER',
'params': { 'field': 'state',
'values': [ 'Andhra Pradesh',
'Assam',
'Bihar',
'Chandigarh',
'Delhi',
'Gujarat',
'Haryana',
'Karnataka',
'Kerala',
'Madhya Pradesh',
'Maharashtra',
'Mizoram',
'Nagaland',
'Odisha',
'Puducherry',
'Punjab',
'Rajasthan',
'Tamil Nadu',
'Telangana',
'Tripura',
'Uttar Pradesh',
'West Bengal']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'state',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2997,Generate a city × month cross-tab of mean PM2.5 for Tamil Nadu in 2022.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2022}},
{'op': 'FILTER', 'params': {'field': 'state', 'value': 'Tamil Nadu'}},
{'op': 'OR_FILTER', 'params': {'field': 'city', 'values': ['Chennai', 'Coimbatore', 'Gummidipoondi']}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{ 'op': 'PIVOT',
'params': { 'add_row_summary': True,
'col_source': 'month',
'fn': 'mean',
'index': 'city',
'value_col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'Annual Avg'}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': -1}}]
"
2998,"Create a table showing top 5 citys ranked by PM2.5 in 2020, also showing PM10.","
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{ 'op': 'MULTI_AGG',
'params': {'aggs': [{'col': 'PM2.5', 'fn': 'mean'}, {'col': 'PM10', 'fn': 'mean'}], 'by': 'city'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'DROPNA', 'params': {'col': 'PM10'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM10': 'Avg PM10 (µg/m³)', 'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"
2999,Create a summary table ranking the top 5 states by PM2.5 concentration in 2020.,"
[ {'op': 'FILTER', 'params': {'field': 'year', 'value': 2020}},
{'op': 'AGG', 'params': {'by': 'state', 'col': 'PM2.5', 'fn': 'mean'}},
{'op': 'DROPNA', 'params': {'col': 'PM2.5'}},
{'op': 'SORT', 'params': {'ascending': False, 'col': 'PM2.5'}},
{'op': 'RENAME', 'params': {'map': {'PM2.5': 'Avg PM2.5 (µg/m³)'}}},
{'op': 'SELECT', 'params': {'mode': 'table', 'n': 5}}]
"