Created
October 2, 2019 15:37
-
-
Save sllynn/cc93bcc82aa1767628bfb3c76fb7247c to your computer and use it in GitHub Desktop.
Example of selecting groups of columns in a pandas dataframe using numpy slicing tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data.iloc[:, np.r_[5:data.columns.size,1]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment