-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy path__init__.py
More file actions
23 lines (19 loc) · 860 Bytes
/
__init__.py
File metadata and controls
23 lines (19 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Data structure for the report"""
from typing import Callable, Dict
def get_render_map() -> Dict[str, Callable]:
import ydata_profiling.report.structure.variables as render_algorithms
render_map = {
"Boolean": render_algorithms.render_boolean,
"Numeric": render_algorithms.render_real,
"Complex": render_algorithms.render_complex,
"Text": render_algorithms.render_text,
"DateTime": render_algorithms.render_date,
"Categorical": render_algorithms.render_categorical,
"URL": render_algorithms.render_url,
"Path": render_algorithms.render_path,
"File": render_algorithms.render_file,
"Image": render_algorithms.render_image,
"Unsupported": render_algorithms.render_generic,
"TimeSeries": render_algorithms.render_timeseries,
}
return render_map