Jump to content
Fórum Script Brasil
  • 0

PANDAS read_excel não consegue ler arquivo xlsx


ezanardo

Question

Bom dia, por favor, alguém saberia como faço para o Pandas read_excel ler o arquivo excel esta dando o erro abaixo :

 

This is most probably because the workbook source files contain some invalid XML.
Please see the exception for more details.
ValueError: Value must be one of {'mediumDashDot', 'medium', 'double', 'hair', 'thick', 'dashDot', 'dashed', 'thin', 'slantDashDot', 'dashDotDot', 'mediumDashed', 'mediumDashDotDot', 'dotted'}

The above exception was the direct cause of the following exception:

  File "D:\TOTVS\rdmake_local\python\cvxlsxcsv5.py", line 19, in <module>
    planilha = pd.read_excel(file_path_ori,"Income")
ValueError: Unable to read workbook: could not read stylesheet from D:\TOTVS\rdmake_local\python\shopee.xlsx.
This is most probably because the workbook source files contain some invalid XML.
Please see the exception for more details.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.1k
    • Total Posts
      651.9k
×
×
  • Create New...