Added Pandas Feature Split To Pt and Pandas Replace Advanced nodes.

This commit is contained in:
HowToSD
2025-03-14 02:53:10 -07:00
parent 4d05b00f45
commit a8aaa21ce0
9 changed files with 303 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
# Pandas Replace Advanced
Replaces strings in a DataFrame cell using a mapping specified in a dictionary.
For example, if you want to replace "cat" with "dog" and replace "mountain" with "ocean", specify the mapping in Python dict format:
```
{"cat":"dog", "mountain":"ocean"}
```
## Input
| Name | Data type |
|---|---|
| dataframe | DataFrame |
| replacement_dict | String |
## Output
| Data type |
|---|
| DataFrame |
<HR>
Category: Data cleansing
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.