MCPcopy Index your code
hub / github.com/numpy/numpy / test_keep_missing_values

Method test_keep_missing_values

numpy/lib/tests/test__iotools.py:249–254  ·  view source on GitHub ↗

Check that we're not losing missing values

(self)

Source from the content-addressed store, hash-verified

247 assert_equal(converter.default, 0)
248
249 def test_keep_missing_values(self):
250 "Check that we're not losing missing values"
251 converter = StringConverter(int, default=0,
252 missing_values="N/A")
253 assert_equal(
254 converter.missing_values, {'', 'N/A'})
255
256 def test_int64_dtype(self):
257 "Check that int64 integer types can be specified"

Callers

nothing calls this directly

Calls 2

StringConverterClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected