How to select dataframe column by name?

Select a column with df[:, :col] or df[:, "col"].

4 Likes