You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/io.rst
+65
Original file line number
Diff line number
Diff line change
@@ -2410,6 +2410,10 @@ for some advanced strategies
2410
2410
2411
2411
There is a ``PyTables`` indexing bug which may appear when querying stores using an index. If you see a subset of results being returned, upgrade to ``PyTables`` >= 3.2. Stores created previously will need to be rewritten using the updated version.
2412
2412
2413
+
.. warning::
2414
+
2415
+
As of version 0.17.0, ``HDFStore`` will not drop rows that have all missing values by default. Previously, if all values (except the index) were missing, ``HDFStore`` would not write those rows to disk.
2416
+
2413
2417
.. ipython:: python
2414
2418
:suppress:
2415
2419
:okexcept:
@@ -2486,6 +2490,8 @@ Closing a Store, Context Manager
2486
2490
import os
2487
2491
os.remove('store.h5')
2488
2492
2493
+
2494
+
2489
2495
Read/Write API
2490
2496
~~~~~~~~~~~~~~
2491
2497
@@ -2504,6 +2510,65 @@ similar to how ``read_csv`` and ``to_csv`` work. (new in 0.11.0)
2504
2510
2505
2511
os.remove('store_tl.h5')
2506
2512
2513
+
2514
+
As of version 0.17.0, HDFStore will no longer drop rows that are all missing by default. This behavior can be enabled by setting ``dropna=True``.
- default behavior for HDFStore write functions with ``format='table'`` is now to keep rows that are all missing except for index. Previously, the behavior was to drop rows that were all missing save the index. The previous behavior can be replicated using the ``dropna=True`` option. (:issue:`9382`)
0 commit comments