@@ -289,7 +289,15 @@ def read_hdf(
289
289
Read from the store, close it if we opened it.
290
290
291
291
Retrieve pandas object stored in file, optionally based on where
292
- criteria
292
+ criteria.
293
+
294
+ .. warning::
295
+
296
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
297
+ serializing object-dtype data with pickle when using the "fixed" format.
298
+ Loading pickled data received from untrusted sources can be unsafe.
299
+
300
+ See: https://docs.python.org/3/library/pickle.html for more.
293
301
294
302
Parameters
295
303
----------
@@ -445,6 +453,14 @@ class HDFStore:
445
453
446
454
Either Fixed or Table format.
447
455
456
+ .. warning::
457
+
458
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
459
+ serializing object-dtype data with pickle when using the "fixed" format.
460
+ Loading pickled data received from untrusted sources can be unsafe.
461
+
462
+ See: https://docs.python.org/3/library/pickle.html for more.
463
+
448
464
Parameters
449
465
----------
450
466
path : str
@@ -789,6 +805,14 @@ def select(
789
805
"""
790
806
Retrieve pandas object stored in file, optionally based on where criteria.
791
807
808
+ .. warning::
809
+
810
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
811
+ serializing object-dtype data with pickle when using the "fixed" format.
812
+ Loading pickled data received from untrusted sources can be unsafe.
813
+
814
+ See: https://docs.python.org/3/library/pickle.html for more.
815
+
792
816
Parameters
793
817
----------
794
818
key : str
@@ -852,6 +876,15 @@ def select_as_coordinates(
852
876
"""
853
877
return the selection as an Index
854
878
879
+ .. warning::
880
+
881
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
882
+ serializing object-dtype data with pickle when using the "fixed" format.
883
+ Loading pickled data received from untrusted sources can be unsafe.
884
+
885
+ See: https://docs.python.org/3/library/pickle.html for more.
886
+
887
+
855
888
Parameters
856
889
----------
857
890
key : str
@@ -876,6 +909,14 @@ def select_column(
876
909
return a single column from the table. This is generally only useful to
877
910
select an indexable
878
911
912
+ .. warning::
913
+
914
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
915
+ serializing object-dtype data with pickle when using the "fixed" format.
916
+ Loading pickled data received from untrusted sources can be unsafe.
917
+
918
+ See: https://docs.python.org/3/library/pickle.html for more.
919
+
879
920
Parameters
880
921
----------
881
922
key : str
@@ -912,6 +953,14 @@ def select_as_multiple(
912
953
"""
913
954
Retrieve pandas objects from multiple tables.
914
955
956
+ .. warning::
957
+
958
+ Pandas uses PyTables for reading and writing HDF5 files, which allows
959
+ serializing object-dtype data with pickle when using the "fixed" format.
960
+ Loading pickled data received from untrusted sources can be unsafe.
961
+
962
+ See: https://docs.python.org/3/library/pickle.html for more.
963
+
915
964
Parameters
916
965
----------
917
966
keys : a list of the tables
0 commit comments