ColumnType#

class ColumnType#

Enum containing possible types of data.

__init__(*args, **kwds)#
__new__(value)#

Attributes

Methods

ColumnType.values()

ColumnType.capitalize(/)

Return a capitalized version of the string.

ColumnType.casefold(/)

Return a version of the string suitable for caseless comparisons.

ColumnType.center(width[, fillchar])

Return a centered string of length width.

ColumnType.count(sub[, start[, end]])

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

ColumnType.encode(/[, encoding, errors])

Encode the string using the codec registered for encoding.

ColumnType.endswith(suffix[, start[, end]])

Return True if S ends with the specified suffix, False otherwise.

ColumnType.expandtabs(/[, tabsize])

Return a copy where all tab characters are expanded using spaces.

ColumnType.find(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

ColumnType.format(*args, **kwargs)

Return a formatted version of S, using substitutions from args and kwargs.

ColumnType.format_map(mapping)

Return a formatted version of S, using substitutions from mapping.

ColumnType.index(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

ColumnType.isalnum(/)

Return True if the string is an alpha-numeric string, False otherwise.

ColumnType.isalpha(/)

Return True if the string is an alphabetic string, False otherwise.

ColumnType.isascii(/)

Return True if all characters in the string are ASCII, False otherwise.

ColumnType.isdecimal(/)

Return True if the string is a decimal string, False otherwise.

ColumnType.isdigit(/)

Return True if the string is a digit string, False otherwise.

ColumnType.isidentifier(/)

Return True if the string is a valid Python identifier, False otherwise.

ColumnType.islower(/)

Return True if the string is a lowercase string, False otherwise.

ColumnType.isnumeric(/)

Return True if the string is a numeric string, False otherwise.

ColumnType.isprintable(/)

Return True if the string is printable, False otherwise.

ColumnType.isspace(/)

Return True if the string is a whitespace string, False otherwise.

ColumnType.istitle(/)

Return True if the string is a title-cased string, False otherwise.

ColumnType.isupper(/)

Return True if the string is an uppercase string, False otherwise.

ColumnType.join(iterable, /)

Concatenate any number of strings.

ColumnType.ljust(width[, fillchar])

Return a left-justified string of length width.

ColumnType.lower(/)

Return a copy of the string converted to lowercase.

ColumnType.lstrip([chars])

Return a copy of the string with leading whitespace removed.

ColumnType.maketrans(x[, y, z])

Return a translation table usable for str.translate().

ColumnType.partition(sep, /)

Partition the string into three parts using the given separator.

ColumnType.removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

ColumnType.removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

ColumnType.replace(old, new[, count])

Return a copy with all occurrences of substring old replaced by new.

ColumnType.rfind(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

ColumnType.rindex(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

ColumnType.rjust(width[, fillchar])

Return a right-justified string of length width.

ColumnType.rpartition(sep, /)

Partition the string into three parts using the given separator.

ColumnType.rsplit(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

ColumnType.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

ColumnType.split(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

ColumnType.splitlines(/[, keepends])

Return a list of the lines in the string, breaking at line boundaries.

ColumnType.startswith(prefix[, start[, end]])

Return True if S starts with the specified prefix, False otherwise.

ColumnType.strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

ColumnType.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

ColumnType.title(/)

Return a version of the string where each word is titlecased.

ColumnType.translate(table, /)

Replace each character in the string using the given translation table.

ColumnType.upper(/)

Return a copy of the string converted to uppercase.

ColumnType.zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.