Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python - subset specific columns name in a dataframe

columns = ['b', 'c']
df1 = pd.DataFrame(df, columns=columns)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #subset #specific #columns #dataframe
ADD COMMENT
Topic
Name
2+3 =