Arshad Mehmood

Search the blog

    Today I Learned

    Select columns from a pandas dataframe

    python

    selected = df[['col1','col2']]