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

Function _get_range_index_descriptor

python/pyarrow/pandas_compat.py:539–547  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

537
538
539def _get_range_index_descriptor(level):
540 # public start/stop/step attributes added in pandas 0.25.0
541 return {
542 'kind': 'range',
543 'name': _level_name(level.name),
544 'start': _pandas_api.get_rangeindex_attribute(level, 'start'),
545 'stop': _pandas_api.get_rangeindex_attribute(level, 'stop'),
546 'step': _pandas_api.get_rangeindex_attribute(level, 'step')
547 }
548
549
550def _get_index_level_values(index):

Callers 1

_get_columns_to_convertFunction · 0.85

Calls 1

_level_nameFunction · 0.85

Tested by

no test coverage detected