Report Helpers

dataprofiler.profilers.helpers.report_helpers.calculate_quantiles(num_quantile_groups, quantiles)
dataprofiler.profilers.helpers.report_helpers.flat_dict(od, separator='_', key='')

Function to flatten nested dictionary. Each level is collapsed and joined with the specified seperator.

Parameters
  • od (dict) – dictionary or dictionary-like object

  • seperator (str) – character(s) joining successive levels

  • key (str) – concatenated keys

Returns

unnested dictionary

Return type

dict