Python: Filter Data

idx = df_2017Prod_weight[‘YEAR’]==’2017′
df_2017Prod_weight_1=df_2017Prod_weight[idx]

Leave a Reply

Your email address will not be published. Required fields are marked *