MCPcopy
hub / github.com/pandas-dev/pandas / test_select_empty_where

Function test_select_empty_where

pandas/tests/io/pytables/test_select.py:1012–1018  ·  view source on GitHub ↗
(temp_hdfstore, where)

Source from the content-addressed store, hash-verified

1010
1011@pytest.mark.parametrize("where", ["", (), (None,), [], [None]])
1012def test_select_empty_where(temp_hdfstore, where):
1013 # GH26610
1014
1015 df = DataFrame([1, 2, 3])
1016 temp_hdfstore.put("df", df, "t")
1017 result = read_hdf(temp_hdfstore, "df", where=where)
1018 tm.assert_frame_equal(result, df)
1019
1020
1021def test_select_large_integer(temp_hdfstore):

Callers

nothing calls this directly

Calls 3

DataFrameClass · 0.90
read_hdfFunction · 0.90
putMethod · 0.80

Tested by

no test coverage detected