MCPcopy Create free account
hub / github.com/dask/dask / __init__

Method __init__

dask/dataframe/tests/test_utils_dataframe.py:120–124  ·  view source on GitHub ↗
(self, max=0)

Source from the content-addressed store, hash-verified

118 """Custom class iterator returning pandas types."""
119
120 def __init__(self, max=0):
121 if PANDAS_GE_300:
122 self.types = [("a", "i8"), ("c", "f8"), ("b", "str")]
123 else:
124 self.types = [("a", "i8"), ("c", "f8"), ("b", "O")]
125
126 def __iter__(self):
127 self.n = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected