modin.pandas.Series.set_axis¶
- Series.set_axis(labels, *, axis: Axis = 0, copy=None) Self[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/.tox/docs/lib/python3.9/site-packages/modin/pandas/base.py#L3027-L3041)¶
Assign desired index to given axis.
- Parameters:
labels (list-like, Index, MultiIndex) – The values for the new index.
axis ({index (0), rows(0)}, default 0) – Axis for the function to be applied on. For Series this parameter is unused and defaults to 0.
copy (bool, default True) – this parameter is unused.
- Return type:
Examples