79675791

Date: 2025-06-23 07:41:05
Score: 1
Natty:
Report link

# Retry reading the "may b2b.xls" file using openpyxl engine instead

# Also, set engine="openpyxl" for the other file just in case

gst_df = pd.read_excel(gst_portal_file, engine="openpyxl")

# Try alternative engine for old .xls format using 'pyxlsb' or similar might not work; fallback to openpyxl might not support .xls either

# Instead, convert using Excel writer to xlsx or try older compatibility with xlrd (but not available)

# Skip reading miracle_df for now and just preview gst_df

gst_df.head()

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Raj