Здесь я прикрепил ссылку на образец данных. Ниже мой сценарий:
Код: Выделить всё
import pandas as pd
# 1) An empty list to collect unpivoted DataFrames
unpivoted_dfs = []
# 2) Group by a valid column index for "SheetName".
# If your DataFrame has fewer columns, adjust this index accordingly.
sheet_name_col_index = 48 #
Подробнее здесь: [url]https://stackoverflow.com/questions/79367058/unable-to-read-date-value-using-python-script[/url]
Мобильная версия