MCPcopy Create free account
hub / github.com/apache/arrow / num_columns

Method num_columns

python/pyarrow/interchange/dataframe.py:103–107  ·  view source on GitHub ↗

Return the number of columns in the DataFrame.

(self)

Source from the content-addressed store, hash-verified

101 return {}
102
103 def num_columns(self) -> int:
104 """
105 Return the number of columns in the DataFrame.
106 """
107 return self._df.num_columns
108
109 def num_rows(self) -> int:
110 """

Callers 9

ReadNextMethod · 0.45
test_pandas_roundtripFunction · 0.45
test_pyarrow_roundtripFunction · 0.45
test_dataframeFunction · 0.45

Calls

no outgoing calls