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

Method itertuples

dask/dataframe/dask_expr/_collection.py:2781–2785  ·  view source on GitHub ↗
(self, index=True, name="Pandas")

Source from the content-addressed store, hash-verified

2779
2780 @derived_from(pd.DataFrame)
2781 def itertuples(self, index=True, name="Pandas"):
2782 frame = self.optimize()
2783 for i in range(self.npartitions):
2784 df = frame.get_partition(i).compute()
2785 yield from df.itertuples(index=index, name=name)
2786
2787 @property
2788 def _elemwise(self):

Callers 9

test_to_bagFunction · 0.95
test_to_bagFunction · 0.95
check_metaFunction · 0.80
assert_dask_dtypesFunction · 0.80
_df_to_bagFunction · 0.80

Calls 3

get_partitionMethod · 0.80
optimizeMethod · 0.45
computeMethod · 0.45

Tested by 6

test_to_bagFunction · 0.76
test_to_bagFunction · 0.76