8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf99975 commit 4f68f93Copy full SHA for 4f68f93
pandas/tests/io/test_pytables.py
@@ -5191,6 +5191,14 @@ def test_query_compare_column_type(self):
5191
expected = df.loc[[], :]
5192
tm.assert_frame_equal(expected, result)
5193
5194
+ def test_read_hdf_series_fixed(self):
5195
+ # GH 16583
5196
+ series = tm.makeFloatSeries()
5197
+ with ensure_clean_path(self.path) as path:
5198
+ series.to_hdf(path, key='data', format='fixed')
5199
+ result = pd.read_hdf(path, key='data', mode='r')
5200
+ tm.assert_series_equal(result, series)
5201
+
5202
@pytest.mark.skipif(sys.version_info < (3, 6), reason="Need python 3.6")
5203
def test_fspath(self):
5204
with tm.ensure_clean('foo.h5') as path:
0 commit comments