Open armando-fandango opened 2 years ago
Hi, I also am running the import.py code and I ran into the same problem...
Did you manage to figure it out or find an alternative solution?
It's not strictly an error but it may result in an inconsistent data load (I haven't checked). Essentially the load uses pandas as a convenience. pandas tries a low memory load, fails, and reverts to a high memory load. It can be fixed by specifying the known data types for each table in the read_csv call.
Since the column types are already known in advance and are not going to change since its a frozen/snapshot dataset, hence would it be good to add the column type to the import script? I can send a pull request if this solution is acceptable.
Yes it would for sure, and yes we would love a PR!
Prerequisites
Description
While trying to import mimic3 into SQLite with import.py, I get the following error: