-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try converting all columns to numerical type
The dtype inference in augur.io.read_metadata does not support numerical columns with empty values (because it calls pandas.read_csv with na_filter=False¹). This gets around that limitation by converting columns before querying. I also considered infer_objects and convert_dtypes, but those are not useful here since they only support soft (not hard) conversions². ¹ a1bfce4 ² https://stackoverflow.com/a/60278450
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters