Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stsievert committed Jul 26, 2018
1 parent f146728 commit e336808
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/Carbon_Flux.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
" for i in range(50):\n",
" df = df.replace(limit - i, np.nan)\n",
" \n",
" assert all([col in df.columns for col in drop])\n",
" assert all([col in df.columns for col in drop]), \"Some columns to drop not in the dataframe.\"\n",
" df.drop(columns=drop, inplace=True)\n",
" assert not all([col in df.columns for col in drop])\n",
" for col in keep:\n",
" if col not in df.columns:\n",
" if 'SWC_F' in col or 'TS_F' in col:\n",
Expand Down

0 comments on commit e336808

Please sign in to comment.