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

Method test_sparse

pandas/tests/internals/test_internals.py:523–525  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

521 assert lbase is None and rbase is None
522
523 def test_sparse(self):
524 mgr = create_mgr("a: sparse-1; b: sparse-2")
525 assert mgr.as_array().dtype == np.float64
526
527 def test_sparse_mixed(self):
528 mgr = create_mgr("a: sparse-1; b: sparse-2; c: f8")

Callers

nothing calls this directly

Calls 2

create_mgrFunction · 0.85
as_arrayMethod · 0.45

Tested by

no test coverage detected