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,)