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

Function test_dict_keys_rangeindex

pandas/tests/series/test_constructors.py:2291–2294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2289
2290
2291def test_dict_keys_rangeindex():
2292 result = Series({0: 1, 1: 2})
2293 expected = Series([1, 2], index=RangeIndex(2))
2294 tm.assert_series_equal(result, expected, check_index_type=True)

Callers

nothing calls this directly

Calls 2

SeriesClass · 0.90
RangeIndexClass · 0.90

Tested by

no test coverage detected