From 87a864a8675462d4e9f5f660c04154637f9db7ad Mon Sep 17 00:00:00 2001 From: HowToSD Date: Thu, 20 Feb 2025 18:14:34 -0800 Subject: [PATCH] Moved Pandas Set Index node to the Transformation doc category --- docs/reference/node_reference.md | 5 +---- docs/reference/pandas_set_index.md | 2 +- modules/pandas_wrapper/pandas_set_index.py | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/reference/node_reference.md b/docs/reference/node_reference.md index 091a7a7..f09f1bc 100644 --- a/docs/reference/node_reference.md +++ b/docs/reference/node_reference.md @@ -52,10 +52,6 @@ | [Pandas Loc Row Series](pandas_loc_row_series.md) | Selects a row from a pandas DataFrame and output as a Series. | | [Pandas Select Columns](pandas_select_columns.md) | Selects specific columns from a pandas DataFrame. | | [Pandas Select Rows](pandas_select_rows.md) | Selects specific rows from a pandas DataFrame based on a condition. | -## Data transformation -| Node | Description | -| --- | --- | -| [Pandas Set Index](pandas_set_index.md) | Create index (row label) from existing column or columns. | ## Data type conversion | Node | Description | | --- | --- | @@ -131,6 +127,7 @@ | [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 Set Index](pandas_set_index.md) | Create index (row label) from existing column or columns. | | [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. | diff --git a/docs/reference/pandas_set_index.md b/docs/reference/pandas_set_index.md index 14b8f65..f1e4b61 100644 --- a/docs/reference/pandas_set_index.md +++ b/docs/reference/pandas_set_index.md @@ -28,6 +28,6 @@ This class internally calls `pandas.DataFrame.set_index()`. | DataFrame |
-Category: Data transformation +Category: Transformation ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved. diff --git a/modules/pandas_wrapper/pandas_set_index.py b/modules/pandas_wrapper/pandas_set_index.py index e3ed1ed..4102dc3 100644 --- a/modules/pandas_wrapper/pandas_set_index.py +++ b/modules/pandas_wrapper/pandas_set_index.py @@ -19,7 +19,7 @@ class PandasSetIndex: This class internally calls `pandas.DataFrame.set_index()`. - category: Data transformation + category: Transformation """ @classmethod