texthero.preprocessing.remove_curly_brackets¶ remove_curly_brackets(s: pandas.core.series.Series)¶ Remove content within curly brackets {} and the curly brackets. See also remove_brackets() remove_angle_brackets() remove_round_brackets() remove_square_brackets() Examples >>> s = pd.Series("Texthero {is not a superhero!}") >>> remove_curly_brackets(s) 0 Texthero dtype: object