-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: cookbook for in-memory HDFStores usage #10491
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
Comments
I think the current implementation in master |
we have a tests for this and this would make a nice cookbook recipe. you still need to give it a string path, but it wont' actually generate a file, see the docs here for how to actually get the image (e.g. the bytes). I am not sure that you can write directly to a
|
The doc string currently states:
Should it be changed so its more specific and says you should provide a HDFStore? |
yes could change the arg names / doc-string to be more clear |
@joshlk going to leave this one open if you (or someone!) wants to add a cookbook recipe for using in-memory stores |
When writing a DataFrame to hdf format ('to_hdf' method) you cannot pass a file handle instead of a string. i.e. you can't:
This raises an error:
This is inconsistent with the 'to_csv' method where you can do this. In the docs it states that you can pass a file buffer to both 'to_hdf' and 'to_csv'.
pd.show_versions(False)
The text was updated successfully, but these errors were encountered: