@@ -220,7 +220,7 @@ class DuplicateWarning(Warning):
220
220
"""
221
221
222
222
with config .config_prefix ('io.hdf' ):
223
- config .register_option ('dropna_table' , True , dropna_doc ,
223
+ config .register_option ('dropna_table' , False , dropna_doc ,
224
224
validator = config .is_bool )
225
225
config .register_option (
226
226
'default_format' , None , format_doc ,
@@ -802,7 +802,7 @@ def put(self, key, value, format=None, append=False, **kwargs):
802
802
This will force Table format, append the input data to the
803
803
existing.
804
804
encoding : default None, provide an encoding for strings
805
- dropna : boolean, default True , do not write an ALL nan row to
805
+ dropna : boolean, default False , do not write an ALL nan row to
806
806
the store settable by the option 'io.hdf.dropna_table'
807
807
"""
808
808
if format is None :
@@ -884,7 +884,7 @@ def append(self, key, value, format=None, append=True, columns=None,
884
884
chunksize : size to chunk the writing
885
885
expectedrows : expected TOTAL row size of this table
886
886
encoding : default None, provide an encoding for strings
887
- dropna : boolean, default True , do not write an ALL nan row to
887
+ dropna : boolean, default False , do not write an ALL nan row to
888
888
the store settable by the option 'io.hdf.dropna_table'
889
889
Notes
890
890
-----
@@ -904,7 +904,7 @@ def append(self, key, value, format=None, append=True, columns=None,
904
904
** kwargs )
905
905
906
906
def append_to_multiple (self , d , value , selector , data_columns = None ,
907
- axes = None , dropna = True , ** kwargs ):
907
+ axes = None , dropna = False , ** kwargs ):
908
908
"""
909
909
Append to multiple tables
910
910
@@ -919,7 +919,7 @@ def append_to_multiple(self, d, value, selector, data_columns=None,
919
919
data_columns : list of columns to create as data columns, or True to
920
920
use all columns
921
921
dropna : if evaluates to True, drop rows from all tables if any single
922
- row in each table has all NaN
922
+ row in each table has all NaN. Default False.
923
923
924
924
Notes
925
925
-----
@@ -3746,7 +3746,7 @@ class AppendableTable(LegacyTable):
3746
3746
3747
3747
def write (self , obj , axes = None , append = False , complib = None ,
3748
3748
complevel = None , fletcher32 = None , min_itemsize = None ,
3749
- chunksize = None , expectedrows = None , dropna = True , ** kwargs ):
3749
+ chunksize = None , expectedrows = None , dropna = False , ** kwargs ):
3750
3750
3751
3751
if not append and self .is_exists :
3752
3752
self ._handle .remove_node (self .group , 'table' )
@@ -3783,7 +3783,7 @@ def write(self, obj, axes=None, append=False, complib=None,
3783
3783
# add the rows
3784
3784
self .write_data (chunksize , dropna = dropna )
3785
3785
3786
- def write_data (self , chunksize , dropna = True ):
3786
+ def write_data (self , chunksize , dropna = False ):
3787
3787
""" we form the data into a 2-d including indexes,values,mask
3788
3788
write chunk-by-chunk """
3789
3789
0 commit comments