Added Pandas Series To DataFrame and Pandas Transpose nodes.

This commit is contained in:
HowToSD
2025-02-20 01:55:21 -08:00
parent a0efd91f1e
commit c076e42c15
9 changed files with 132 additions and 3 deletions
+2
View File
@@ -106,6 +106,8 @@
| [Pandas Horizontal Split](pandas_horizontal_split.md) | Horizontally splits a Pandas DataFrame into two pandas DataFrames. |
| [Pandas Join](pandas_join.md) | Merges two pandas DataFrames based on a common column. |
| [Pandas Rename](pandas_rename.md) | Renames an index (row label) or a column label. |
| [Pandas Series To Data Frame](pandas_series_to_dataframe.md) | Converts a Pandas Series to a DataFrame. |
| [Pandas Sort](pandas_sort.md) | Sorts a pandas DataFrame by a specified column. |
| [Pandas Transpose](pandas_transpose.md) | Transposes a DataFrame. |
| [Pandas Vertical Concat](pandas_vertical_concat.md) | Vertically concatenates two pandas DataFrames. |
| [Pandas Vertical Split](pandas_vertical_split.md) | Vertically splits a Pandas DataFrame into two pandas DataFrames. |
+1 -1
View File
@@ -1,6 +1,6 @@
# 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.
@@ -0,0 +1,19 @@
# Pandas Series To Data Frame
Converts a Pandas Series to a DataFrame.
## Input
| Name | Data type |
|---|---|
| series | Series |
| label | String |
| transpose | Boolean |
## Output
| Data type |
|---|
| DataFrame |
<HR>
Category: Transformation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
+17
View File
@@ -0,0 +1,17 @@
# Pandas Transpose
Transposes a DataFrame.
## Input
| Name | Data type |
|---|---|
| dataframe | DataFrame |
## Output
| Data type |
|---|
| DataFrame |
<HR>
Category: Transformation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.