Closed firmai closed 1 year ago
What is your version of edgartools
!pip install edgartools
OR
pip install edgartools
Can you tell me which filing has the issues .. print the filing or get the accession number
Reproduced on colab.
Some online code environments like colab have a problem running pandas query expressions
e.g.
df.query(query)
which by default uses the numexr engine, particularly if the expression is complex
The fix is to change to df.query(query, engine='python'). Alternatively, don't use query, but the regular df[df.col==] expression instead
I will change and release a new version.
But also, I have to do a more testing on colab
Made a couple of patches. Fixed in 1.10.3
Tested on Colab See https://github.com/dgunning/edgartools/blob/main/Usage.ipynb
Fixed
Fixed
After running the following code
TypeError: unhashable type: 'Series'
TypeError: unhashable type: 'Series'![image](https://user-images.githubusercontent.com/26666267/217272001-2ee8e8d6-0ee5-4f30-9439-68658831f67b.png)
Here you have an interactive notebook to reproduce the error: https://colab.research.google.com/drive/12m_ohER2LGLe0khppGeKyqoqUkMLh_Ks?usp=sharing