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

Method get_column

python/pyarrow/interchange/dataframe.py:135–140  ·  view source on GitHub ↗

Return the column at the indicated position.

(self, i: int)

Source from the content-addressed store, hash-verified

133 return self._df.schema.names
134
135 def get_column(self, i: int) -> _PyArrowColumn:
136 """
137 Return the column at the indicated position.
138 """
139 return _PyArrowColumn(self._df.column(i),
140 allow_copy=self._allow_copy)
141
142 def get_column_by_name(self, name: str) -> _PyArrowColumn:
143 """

Callers 9

test_dtypesFunction · 0.80
test_column_get_chunksFunction · 0.80
test_get_columnsFunction · 0.80
test_bufferFunction · 0.80
test_categorical_dtypeFunction · 0.80

Calls 2

_PyArrowColumnClass · 0.90
columnMethod · 0.45

Tested by 9

test_dtypesFunction · 0.64
test_column_get_chunksFunction · 0.64
test_get_columnsFunction · 0.64
test_bufferFunction · 0.64
test_categorical_dtypeFunction · 0.64