visualize_decorators

_decorators

Convenience methods for visualizastion

this module provides decorator functions that can be used to:

  • convert dask dataframes to pandas dataframes

  • iterate over individual rows of a dataframe

  • print the types of some function’s arguments (useful for debugging)

Functions

dask_to_pandas(fun)

Decorator that converts function arguments from dask to pandas.

pr(*args, **kwargs)

Prints the types of the passed arguments.

subsequent_calls_per_line(plotfun)

Call a function on each row of a dataframe separately.