@export
def token_count_df(data: pd.DataFrame, column: str, delimiter: str=' ') -> pd.Series:
    "\n    Return count of delimiter-separated tokens pd.Series column.\n\n    Parameters\n    ----------\n    data : pd.DataFrame\n        The DataFrame to process\n    column : str\n        Column name to process\n    delimiter : str, optional\n        Delimiter used to split the column string.\n        (the default is ' ')\n\n    Returns\n    -------\n    pd.Series\n        count of tokens in strings in `column`\n\n    "
    return data.apply((lambda x: len(x[column].split(delimiter))), axis=1)
Return count of delimiter-separated tokens pd.Series column.

Parameters
----------
data : pd.DataFrame
    The DataFrame to process
column : str
    Column name to process
delimiter : str, optional
    Delimiter used to split the column string.
    (the default is ' ')

Returns
-------
pd.Series
    count of tokens in strings in `column`
@export
def token_count_df(data: pd.DataFrame, column: str, delimiter: str=' ') -> pd.Series:
    "\n    Return count of delimiter-separated tokens pd.Series column.\n\n    Parameters\n    ----------\n    data : pd.DataFrame\n        The DataFrame to process\n    column : str\n        Column name to process\n    delimiter : str, optional\n        Delimiter used to split the column string.\n        (the default is ' ')\n\n    Returns\n    -------\n    pd.Series\n        count of tokens in strings in `column`\n\n    "
    return data.apply((lambda x: len(x[column].split(delimiter))), axis=1)