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

Method get_column_by_name

python/pyarrow/interchange/dataframe.py:142–147  ·  view source on GitHub ↗

Return the column whose name is the indicated name.

(self, name: str)

Source from the content-addressed store, hash-verified

140 allow_copy=self._allow_copy)
141
142 def get_column_by_name(self, name: str) -> _PyArrowColumn:
143 """
144 Return the column whose name is the indicated name.
145 """
146 return _PyArrowColumn(self._df.column(name),
147 allow_copy=self._allow_copy)
148
149 def get_columns(self) -> Iterable[_PyArrowColumn]:
150 """

Callers 6

test_datetimeFunction · 0.80
test_mixed_dtypesFunction · 0.80
test_na_floatFunction · 0.80
test_noncategoricalFunction · 0.80
test_categoricalFunction · 0.80

Calls 2

_PyArrowColumnClass · 0.90
columnMethod · 0.45

Tested by 5

test_datetimeFunction · 0.64
test_mixed_dtypesFunction · 0.64
test_na_floatFunction · 0.64
test_noncategoricalFunction · 0.64
test_categoricalFunction · 0.64