with_subroles¶
- StringColumn.with_subroles(subroles: Union[str, List[str]], append=True)¶
Returns a new column with new subroles.
- Args:
subroles (str or List[str]): The subroles to be assigned.
- append (bool, optional): Whether you want to append the
new subroles to the existing subroles.