util_data_processing#
dictionary manipulation#
|
Split dictionary into a list of chunks. |
|
Delete keys from dictionary. |
list manipulation#
|
Split a list into a number of equally-sized sub-lists. |
|
Split a list into sublist of the same specified length. |
|
Flatten a nested list. |
string manipulation#
|
Convert a string to an integer. |
|
Convert a string to a float. |
|
Convert all consecutive whitespace characters to ' ' (half-width whitespace), then return a copy of the string with leading and trailing whitespace removed. |
dataclass manipulation#
|
Dynamically creates a dataclass with the given attributes. |
|
Creates a dataclass with attributes and values based on the given dictionary. |
|
Merges two dataclasses into a single new dataclass, handling duplicate attributes. |
|
Creates a new dataclass by extending the base_dataclass with additional_attributes. |
|
Wrap a dataclass instance to provide dictionary-like access. |
data processing#
|
Check if the value can be converted to float. |
|
Get the boundary values of the target column based on the base column values. |
|
Convert an integer to an alphabet string. |