StoreFilter

Overview: StoreFilter

class StoreFilter(*, from_nan: Optional[str] = '', from_nat: Optional[str] = '', from_none: Optional[str] = 'None', from_posinf: Optional[str] = 'inf', from_neginf: Optional[str] = '-inf', to_nan: FrozenSet[str] = frozenset({'', '#N/A', 'NAN', 'NULL', 'NaN', 'nan'}), to_nat: FrozenSet[str] = frozenset({}), to_none: FrozenSet[str] = frozenset({'None'}), to_posinf: FrozenSet[str] = frozenset({'inf'}), to_neginf: FrozenSet[str] = frozenset({'-inf'}), value_format_float_positional: Optional[str] = None, value_format_float_scientific: Optional[str] = None, value_format_complex_positional: Optional[str] = None, value_format_complex_scientific: Optional[str] = None)[source]

Utility for defining and applying translation of values going to and from a data store, as needed for XLSX and other writers.

StoreFilter: Constructor

Overview: StoreFilter: Constructor

StoreFilter.__init__(*, from_nan: Optional[str] = '', from_nat: Optional[str] = '', from_none: Optional[str] = 'None', from_posinf: Optional[str] = 'inf', from_neginf: Optional[str] = '-inf', to_nan: FrozenSet[str] = frozenset({'', '#N/A', 'NAN', 'NULL', 'NaN', 'nan'}), to_nat: FrozenSet[str] = frozenset({}), to_none: FrozenSet[str] = frozenset({'None'}), to_posinf: FrozenSet[str] = frozenset({'inf'}), to_neginf: FrozenSet[str] = frozenset({'-inf'}), value_format_float_positional: Optional[str] = None, value_format_float_scientific: Optional[str] = None, value_format_complex_positional: Optional[str] = None, value_format_complex_scientific: Optional[str] = None)None[source]

Initialize self. See help(type(self)) for accurate signature.

StoreFilter.from_type_filter_array(array: numpy.ndarray)numpy.ndarray[source]

Given an array, replace types with strings

StoreFilter.from_type_filter_element(value: Any)Any[source]

Filter single values to string.

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Exporter

Overview: StoreFilter: Exporter

StoreFilter.to_type_filter_array(array: numpy.ndarray)numpy.ndarray[source]

Given an array, replace strings with types.

StoreFilter.to_type_filter_element(value: Any)Any[source]

Given a value wich may be an encoded string, decode into a type.

StoreFilter.to_type_filter_iterable(iterable: Iterable[Any])Iterator[Any][source]

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Attribute

Overview: StoreFilter: Attribute

StoreFilter.from_nan
StoreFilter.from_nat
StoreFilter.from_neginf
StoreFilter.from_none
StoreFilter.from_posinf
StoreFilter.to_nan
StoreFilter.to_nat
StoreFilter.to_neginf
StoreFilter.to_none
StoreFilter.to_posinf
StoreFilter.value_format_complex_positional
StoreFilter.value_format_complex_scientific
StoreFilter.value_format_float_positional
StoreFilter.value_format_float_scientific

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Display

Overview: StoreFilter: Display

StoreFilter.interface

A Frame documenting the interface of this class.

StoreFilter.__repr__()

Return repr(self).

StoreFilter.__str__()

Return str(self).

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Operator Binary

Overview: StoreFilter: Operator Binary

StoreFilter.__eq__(value, /)

Return self==value.

StoreFilter.__ge__(value, /)

Return self>=value.

StoreFilter.__gt__(value, /)

Return self>value.

StoreFilter.__le__(value, /)

Return self<=value.

StoreFilter.__lt__(value, /)

Return self<value.

StoreFilter.__ne__(value, /)

Return self!=value.

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary