MCPcopy Create free account
hub / github.com/ddf-project/DDF / head

Method head

python/ddf/dataframe.py:50–54  ·  view source on GitHub ↗

Return this DistributedDataFrame's some first rows

(self, n=10)

Source from the content-addressed store, hash-verified

48 ###########################################################################
49
50 def head(self, n=10):
51 """
52 Return this DistributedDataFrame's some first rows
53 """
54 return self._jddf.getViewHandler().head(n)
55
56 def project(self, column_names):
57 """

Callers

nothing calls this directly

Calls 2

headMethod · 0.65
getViewHandlerMethod · 0.45

Tested by

no test coverage detected