-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tables have nans instead of empty cells #22
Comments
The actual script for creating the table can be found at https://github.com/timvink/mkdocs-table-reader-plugin/blob/master/mkdocs_table_reader_plugin/plugin.py. The location where the table is converted to Markdown text and pasted into the source .md file is at the bottom of the linked script (line 208+). It doesn't seem like it would be too difficult to fork the repo and add in a snippet that replaces any nan text with 3 spaces (or whatever would make the table readable, not sure. This is potentially something to hack on a Tuesday when we aren't quite as busy |
Looks like its a typical pandas issue with nans appearing. It's part of read_csv. I think we can solve this purely by modifying the {{ read_csv( file ) }} We do {{ read_csv( file, keep_default_na=False ) }} |
Yep worked perfectly. Putting together pull request. |
…ctions Add instructions for entering/updating AWS IAM credentials in Globus for LTS
The table importer fills blanks with "nan". Doesn't appear to be an obvious solution, and the plugin has no config for it. We may need to investigate deeper.
The text was updated successfully, but these errors were encountered: