scienceforchange / ictiopy Goto Github PK
View Code? Open in Web Editor NEWParser for ictio.org Citizen Observatory data for Amazon basin fish observation
License: Other
Parser for ictio.org Citizen Observatory data for Amazon basin fish observation
License: Other
There is a bug in pandas 1.5.1 and we get this error message when using ictiopy.load_zipdb():
RecursionError: maximum recursion depth exceeded while calling a Python object
The error is due to this line:
bdb = bdb.replace(np.nan, None, regex=True)
The bug is documented here: pandas-dev/pandas#45725
The bug is closed and will be fixed for pandas version 1.5.2. In the meanwhile, they recommend to use pandas 1.4.7.
Other methods are working to replace np.nan by None, like this:
bdb_data = bdb_data.astype(object).replace(np.nan, 'None')
This and others are pointed here: https://stackoverflow.com/questions/14162723/replacing-pandas-or-numpy-nan-with-a-none-to-use-with-mysqldb
If you prefer to keep the code as it is right now I can add a pandas != 1.5.0, 1.5.1
in the requirements of mecoda-orange.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.