Fixed a bug in Pandas Iloc Row Series introduced in v1.1.0.
This commit is contained in:
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user