Skip to content

Functions

flowtask.components.tMap.functions

tMap Transformations functions based on Series.

concat

concat(df, columns, sep=' ')

Concatenates the values of the specified columns in the given DataFrame.

:param df: The input DataFrame :param columns: The list of columns to concatenate :param sep: The separator to use between the concatenated values (default is a space) :return: A Series with the concatenated values

to_integer

to_integer(series, **kwargs)

Converts a pandas Series to an integer type, handling errors by coercing invalid values to NaN.

:param series: The pandas Series to be converted. :param kwargs: Additional keyword arguments. :return: The converted pandas Series with integer type.

to_string

to_string(series, remove_nan=False, **kwargs)

to_string.

Converting to string a Pandas column (Series) Args: series (pandas.Series): Column Series to be converted remove_nan (bool, optional): remove Not a Number from Column. Defaults to False.

Returns:

Type Description
Series

pandas.Series: a New Serie is returned with string values.