Skip to content

Commit

Permalink
Pandas drop now requires named parameters
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 582429940
  • Loading branch information
jdbcode authored and copybara-github committed Nov 15, 2023
1 parent f7f30e6 commit 5ea7d21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@
"dcp_df['Precip-mm'] = dcp_df['Precip-rate'] * 86400 * 30\n",
"dcp_df['Temp-mean'] = dcp_df['Temp-mean'] - 273.15\n",
"dcp_df['Model'] = 'NEX-DCP30'\n",
"dcp_df = dcp_df.drop('Precip-rate', 1)\n",
"dcp_df = dcp_df.drop('Precip-rate', axis=1)\n",
"dcp_df.head(5)"
],
"execution_count": null,
Expand Down

0 comments on commit 5ea7d21

Please sign in to comment.