Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get particular columns from dataframe

x, y = df.iloc[:, [0]], df.iloc[:, [1]]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #columns #dataframe
ADD COMMENT
Topic
Name
7+1 =