Skip to content

Instantly share code, notes, and snippets.

@Kilo59
Last active December 7, 2017 17:36
Show Gist options
  • Select an option

  • Save Kilo59/6650da48de008b10fff0aaa3022fe863 to your computer and use it in GitHub Desktop.

Select an option

Save Kilo59/6650da48de008b10fff0aaa3022fe863 to your computer and use it in GitHub Desktop.
pandas.DataFrame.drop Bug
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kilo59

Kilo59 commented Dec 7, 2017

Copy link
Copy Markdown
Author

Bug when trying to drop columns from a dataFrame when using the columns keyword.
The example included in the official pandas.DataFrame.drop documentation results in unexpected keyword argument 'columns' TypeError
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop.html#pandas.DataFrame.drop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment