I am trying to convert an ODS file to XLSX/CSV using Python. The code snippet is shown below:
import odf
import pandas as pd
pd.read_excel("filename.ods")
The file gets converted to a Pandas data frame, however, all the column entries are NaN. Further, the column names appear as "unnamed 1", "unnamed 2", etc., instead of the column names contained in the original ODS file. Is there a way to resolve this issue?
A snapshot of the data is included below.