I am trying to print each entry of the dataframe separately. The dataframe is created by reading a csv file. This is the code I am using:
import pandas as pd
df = pd.read_csv(“/home/user/data1”)
for row in df.rows:
print (row)
But I am getting this error:
AttributeError: 'DataFrame' object has no attribute 'rows'