strings

String functions.

Functions

string_baseform(string)

Remove special characters from given string, leaving only a-z, A-Z, 0-9 characters.

get_base_form_to_variants_dict(uniques)

Create dict of base-form of the uniques to their values.

split_camel_case(string)

Split string where there are capital letters and enter space instead.

split_and_keep(s, separators)

Split string by a another substring into a list.

split_by_order(s, separators[, keep])

Split string by a a list of substrings, each used once as a separator.

is_string_column(column)

Determine whether a pandas series is string type.

format_percent(ratio[, floating_point, ...])

Format percent for elegant display.

format_number(x[, floating_point])

Format number for elegant display.

format_list(l[, max_elements_to_show, ...])

Format columns properties for display in condition name.

get_random_string([n])

Return random string at the given size.

format_datetime(value[, datetime_format])

Format datetime object or timestamp value.

get_docs_summary(obj[, with_doc_link])

Return the docs summary if available.

get_ellipsis(long_string, max_length)

Return the long string with ellipsis if above max_length.

to_snake_case(value)

Transform camel case indentifier into snake case.