Skip to content

Commit 611aa28

Browse files
committed
Formatting fixes.
1 parent e7c8313 commit 611aa28

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pandas/io/pytables.py

+1
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ def read_hdf(path_or_buf, key=None, **kwargs):
333333
if key is None:
334334
groups = store.groups()
335335
candidate_only_group = groups[0]
336+
336337
# For the HDF file to have only one dataset, all other groups
337338
# should then be metadata groups for that candidate group. (This
338339
# assumes that the groups() method enumerates parent groups

pandas/io/tests/test_pytables.py

+2
Original file line numberDiff line numberDiff line change
@@ -4877,6 +4877,7 @@ def test_read_nokey(self):
48774877
df = DataFrame(np.random.rand(4, 5),
48784878
index=list('abcd'),
48794879
columns=list('ABCDE'))
4880+
48804881
# Categorical dtype not supported for "fixed" format. So no need
48814882
# to test with that dtype in the dataframe here.
48824883
with ensure_clean_path(self.path) as path:
@@ -4890,6 +4891,7 @@ def test_read_nokey_table(self):
48904891
# GH13231
48914892
df = DataFrame({'i': range(5),
48924893
'c': Series(list('abacd'), dtype='category')})
4894+
48934895
with ensure_clean_path(self.path) as path:
48944896
df.to_hdf(path, 'df', mode='a', format='table')
48954897
reread = read_hdf(path)

0 commit comments

Comments
 (0)