How to get output of a column of a DataFrame?
Suppose, I have a DataFrame DF
which has columns: name, marks, phone in it.
How to het one of the column in python?
>Solution :
You can get the output of any columns by:
For Name:
DF["name"]
or you can use:
DF.name
Like this, you can insert the name of any column in place of "name".