adviz
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: adviz | ||
| Version: 0.0.21 | ||
| Version: 0.0.22 | ||
| Summary: advertools visualizations | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/eliasdabbas/adviz |
@@ -1,2 +0,2 @@ | ||
| __version__ = "0.0.21" | ||
| __version__ = "0.0.22" | ||
@@ -3,0 +3,0 @@ from .value_counts_plus import value_counts_plus |
+8
-1
@@ -44,2 +44,4 @@ # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/08_ecdf.ipynb. | ||
| df['total count'] = len(df) | ||
| cdf = [x/len(df) for x in range(1, len(df)+1)] | ||
| cumsum = 0 | ||
| fig = px.ecdf( | ||
@@ -59,7 +61,12 @@ df.dropna(subset=[x]), | ||
| for data in fig.data: | ||
| if data.type == 'histogram': | ||
| data.opacity = 1 | ||
| continue | ||
| if data.type in ['scatter', 'scattergl']: | ||
| data.y = cdf[cumsum:cumsum+len(data.y)] | ||
| cumsum += len(data.y) | ||
| data.marker.symbol = "circle-open" | ||
| data.marker.size = 11 | ||
| prefix = '<b>%{customdata[3]}</b>' if hover_name is not None else '' | ||
| data.hovertemplate = prefix + f'<br><br>{x}' + ': %{x}<br>percent: %{y:.1f}%<br><br>count below: %{customdata[0]:,}<br>count above: %{customdata[1]:,}<br>total count: %{customdata[2]:,}<extra></extra>' | ||
| data.hovertemplate = prefix + f'<br><br>{x}' + ': %{x}<br>percent: %{y:.1%}%<br><br>count below: %{customdata[0]:,}<br>count above: %{customdata[1]:,}<br>total count: %{customdata[2]:,}<extra></extra>' | ||
| fig.update_yaxes(ticksuffix='%', showspikes=True) | ||
@@ -66,0 +73,0 @@ fig.update_xaxes(showspikes=True) |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: adviz | ||
| Version: 0.0.21 | ||
| Version: 0.0.22 | ||
| Summary: advertools visualizations | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/eliasdabbas/adviz |
+1
-1
| [DEFAULT] | ||
| repo = adviz | ||
| lib_name = adviz | ||
| version = 0.0.21 | ||
| version = 0.0.22 | ||
| min_python = 3.7 | ||
@@ -6,0 +6,0 @@ license = apache2 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
70876
0.34%1596
0.44%