-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for storing dataframes with no data and only columns (#3)
Fixes #2 The pytables library does not store anything for empty dataframe and read_hdf excepts in this case. To fix this we check beforehand if the HDF5 file is empty and in this case create the dataframe from the columns attribute
- Loading branch information
1 parent
cf20084
commit 61e5f84
Showing
2 changed files
with
31 additions
and
3 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