Answers for "only keep a few columns of a df"

0

df only take 2 columns

df1 = df[['a', 'b']]
Posted by: Guest on August-06-2020

Code answers related to "only keep a few columns of a df"

Python Answers by Framework

Browse Popular Code Answers by Language