We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1800625 commit 0fb46dbCopy full SHA for 0fb46db
docs/examples/segmentation.ipynb
@@ -316,7 +316,7 @@
316
}
317
],
318
"source": [
319
- "from pyretailscience.analysis.segmentation import HMLSegmentation\n",
+ "from pyretailscience.segmentation.hml import HMLSegmentation\n",
320
"\n",
321
"seg = HMLSegmentation(df, zero_value_customers=\"include_with_light\")\n",
322
"seg.df.head()"
@@ -640,7 +640,7 @@
640
641
642
643
- "from pyretailscience.analysis.segmentation import SegTransactionStats\n",
+ "from pyretailscience.segmentation.segstats import SegTransactionStats\n",
644
645
"seg_stats = SegTransactionStats(df_with_segments, segment_col=\"segment_name\")\n",
646
"seg_stats.df"
0 commit comments