pydit.wrangling.various¶
Utility functions, they are not used directly in the core functions.
The functions below can be used directly. However, when needed for a specific core function, instead of importing them, we would create a copy of the function and rename it with an _ prefix. This is to ensure that a core function’s module is self-standing, ie can be used/imported with no other dependencies.
Functions
Create test dataframes |
|
Convert a dataframe to source code that one can include in a test script or tutorial. |
|
Deduplicates a list |
|
print ansi codes to make the printout green |
|
print ansi codes to make the printout red |