I have imported pandas dataframe from a csv file. I am trying to access each row at a time in a loop.
I have written this code:
import pandas as pd
df = pd.read_csv(“/home/user/data1”)
for row in df:
print (row)
But it is not the content of the row. For example, if the row has email ID, then it is printing like this:
a
b
c
@
g
m
a
I
l
.
c
o
m
Please help