548 B
548 B
Pandas Rename
Renames an index (row label) or a column label.
Note below node parameter description is inaccurate due to a reference generator's bug:
- axis takes columns or index, not DataFrame.
- Both current_label and new_label take a String.
Input
| Name | Data type |
|---|---|
| dataframe | DataFrame |
| axis | |
| current_label | String |
| new_label | String |
Output
| Data type |
|---|
| DataFrame |
Category: Transformation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.