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

Function flatten

pandas/tests/io/test_pickle.py:215–221  ·  view source on GitHub ↗

Flatten create_pickle_data

(data: dict)

Source from the content-addressed store, hash-verified

213
214
215def flatten(data: dict) -> list[tuple[str, Any]]:
216 """Flatten create_pickle_data"""
217 return [
218 (typ, example)
219 for typ, examples in data.items()
220 for example in examples.values()
221 ]
222
223
224@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

itemsMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected