Closed boardtc closed 3 years ago
Yes, I'm sorry about that. This is because the type stubs are not complete. For example, in this package there is no definition of read_excel()
. There are two possible solutions:
# type: ignore
at the end of the lineThanks very much for the info! I did not know about #2. I could try and contribute perhaps, I never have for open source before, any tips on what to read up regarding how to add stuff (for read_excel)?
I am working with Anaconda3-2020.11 and did a conda install -c conda-forge data-science-types which installed data-science-types conda-forge/noarch::data-science-types-0.2.22-pyhd8ed1ab_0
Previously I got: error: Skipping analyzing 'pandas': found module but no type hints or library stubs
After installing data-science-types I get the new errors: error: Name 'pd.core.frame.Series' is not defined error: Module has no attribute "read_excel"