Files

24 lines
577 B
Markdown

# Pandas Rename
Renames an index (row label) or a column label.
Currently, renaming only works for string labels. Renaming of integer labels is not supported.
Note below node parameter description is incomplete due to a reference generator's bug:
* axis takes columns or index.
## Input
| Name | Data type |
|---|---|
| dataframe | DataFrame |
| axis | |
| current_label | String |
| new_label | String |
## Output
| Data type |
|---|
| DataFrame |
<HR>
Category: Transformation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.