0

I have to read an Excel file with multiple sheets, all sheets have the same structure, all have 152 columns, but pandas doesn't read the full structure of a sheet, read only 97 columns of 152, any ideas?

I use this simple code

    def read_excel(self, header=0):
        self._excel = pd.read_excel(io=self.path_read,
                                    sheet_name=self.sheets,
                                    header=header
                                    )

1 Answers1

0

I've solved this horrible problem; the problem was Windows Security config that makes impossible to read the full Excel. A simple solution is to run the code as administrator.