Tokenizing data error usually occurs when we try to read a .xlsx file using pd.read_csv()
To avoid this error, we should use pd.read_excel() to read .xlsx files.
import pandas as pd
excel_data_df = pd.read_excel('records.xlsx')
# print whole sheet data
print(excel_data_df)
To learn more about the read_excel function, visit this link.
Comments
0 comments
Article is closed for comments.