Skip to content

Commit 7448795

Browse files
committed
remove hdf
1 parent 238db69 commit 7448795

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

pandas/tests/io/pytables/test_pytables.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,38 +2353,6 @@ def test_series(self):
23532353
ts3 = Series(ts.values, Index(np.asarray(ts.index, dtype=object), dtype=object))
23542354
self._check_roundtrip(ts3, tm.assert_series_equal, check_index_type=False)
23552355

2356-
@ignore_sparse
2357-
@ignore_series_tosparse
2358-
def test_sparse_series(self):
2359-
2360-
s = tm.makeStringSeries()
2361-
s.iloc[3:5] = np.nan
2362-
ss = s.to_sparse()
2363-
self._check_roundtrip(ss, tm.assert_series_equal, check_series_type=True)
2364-
2365-
ss2 = s.to_sparse(kind="integer")
2366-
self._check_roundtrip(ss2, tm.assert_series_equal, check_series_type=True)
2367-
2368-
ss3 = s.to_sparse(fill_value=0)
2369-
self._check_roundtrip(ss3, tm.assert_series_equal, check_series_type=True)
2370-
2371-
@ignore_sparse
2372-
@ignore_dataframe_tosparse
2373-
def test_sparse_frame(self):
2374-
2375-
s = tm.makeDataFrame()
2376-
s.iloc[3:5, 1:3] = np.nan
2377-
s.iloc[8:10, -2] = np.nan
2378-
ss = s.to_sparse()
2379-
2380-
self._check_double_roundtrip(ss, tm.assert_frame_equal, check_frame_type=True)
2381-
2382-
ss2 = s.to_sparse(kind="integer")
2383-
self._check_double_roundtrip(ss2, tm.assert_frame_equal, check_frame_type=True)
2384-
2385-
ss3 = s.to_sparse(fill_value=0)
2386-
self._check_double_roundtrip(ss3, tm.assert_frame_equal, check_frame_type=True)
2387-
23882356
def test_float_index(self):
23892357

23902358
# GH #454

0 commit comments

Comments
 (0)