Answers for "python select list of columns"

0

select list of columns pandas

df[['C', 'D', 'E']]  # or df.loc[:, ['C', 'D', 'E']]
Posted by: Guest on August-09-2021

Code answers related to "python select list of columns"

Python Answers by Framework

Browse Popular Code Answers by Language