Skip to content

Commit 68a30c9

Browse files
fixes docstring in to_hdf() (#42775)
1 parent 018590c commit 68a30c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2624,9 +2624,9 @@ def to_hdf(
26242624
- 'a': append, an existing file is opened for reading and
26252625
writing, and if the file does not exist it is created.
26262626
- 'r+': similar to 'a', but the file must already exist.
2627-
complevel : {0-9}, optional
2627+
complevel : {0-9}, default None
26282628
Specifies a compression level for data.
2629-
A value of 0 disables compression.
2629+
A value of 0 or None disables compression.
26302630
complib : {'zlib', 'lzo', 'bzip2', 'blosc'}, default 'zlib'
26312631
Specifies the compression library to be used.
26322632
As of v0.20.2 these additional compressors for Blosc are supported

0 commit comments

Comments
 (0)