DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas dataframe select last n columns
y = dataframe[dataframe.columns[-3:]]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#dataframe
#select
#columns
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit