Python - AttributeError: type object 'DataFrame' has no attribute 'read_csv'
read_csv() is not available on DataFrame. to read csvs using pandas -

import pandas as pd
data = pd.read_csv("file_name")


if you check type(data), it will be pandas DataFrame.