Fixed a bug in Pandas Iloc Row Series introduced in v1.1.0.

This commit is contained in:
HowToSD
2025-02-18 03:10:49 -08:00
parent b935528dac
commit e63b1e54ce
2 changed files with 3 additions and 4 deletions
@@ -26,7 +26,7 @@ class PandasIlocRowSeries:
}
}
RETURN_TYPES: tuple = ("DATAFRAME",)
RETURN_TYPES: tuple = ("PDSERIES",)
FUNCTION: str = "select_row"
CATEGORY: str = "Data Analysis"
@@ -41,8 +41,7 @@ class PandasIlocRowSeries:
row_integer_position (int): The row integer position.
Returns:
tuple: A tuple containing the value of the row in string. The string is
a JSON string containing the serialized Pandas Series object.
tuple: A tuple containing the value of the row in a Pandas Series object.
"""
value = dataframe.iloc[row_integer_position]
return (value,)
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "data-analysis"
description = "Data analysis custom modules for ComfyUI - Use Pandas & Matplotlib within ComfyUI"
version = "1.1.3"
version = "1.1.4"
license = {file = "LICENSE"}
[project.urls]