Я хочу прочитать файл .xlsx с помощью библиотеки python Pandas и перенести данные в таблицу postgreSQL.
Все, что я мог сделать до сих пор:
import pandas as pd
data = pd.ExcelFile("*File Name*")
Теперь я знаю, что шаг был успешно выполнен, но я хочу знать, как я могу разобрать файл excel, который был прочитан, чтобы я мог понять, как данные в excel сопоставляются с данными в переменных данных.
Я узнал, что данные являются объектами Dataframe, если я не ошибаюсь. Итак, как разобрать этот объект dataframe, чтобы извлекать каждую строку подряд за строкой.