Skip to content

Instantly share code, notes, and snippets.

@tanveer-sayyed
Last active February 13, 2019 08:19
Show Gist options
  • Save tanveer-sayyed/28a7b8a5e03441d8d06ce43392606704 to your computer and use it in GitHub Desktop.
Save tanveer-sayyed/28a7b8a5e03441d8d06ce43392606704 to your computer and use it in GitHub Desktop.
In [63]:
new_df.drop(columns=['c2'], inplace=True)
new_df
Out[63]:
c0 c1 c3
index
i0 1.0 2.0 3.0
i1 5.5 7.0 10.0
i2 4.0 5.0 10.0
i3 6.0 7.0 8.0
i4 5.5 9.0 10.0
i5 11.0 12.0 10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment