Skip to content

Commit a01eb23

Browse files
committed
fix: fix the imports
1 parent 1800625 commit a01eb23

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/api/analysis/segmentation.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/examples/segmentation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
}
317317
],
318318
"source": [
319-
"from pyretailscience.analysis.segmentation import HMLSegmentation\n",
319+
"from pyretailscience.segmentation.hml import HMLSegmentation\n",
320320
"\n",
321321
"seg = HMLSegmentation(df, zero_value_customers=\"include_with_light\")\n",
322322
"seg.df.head()"
@@ -640,7 +640,7 @@
640640
}
641641
],
642642
"source": [
643-
"from pyretailscience.analysis.segmentation import SegTransactionStats\n",
643+
"from pyretailscience.segmentation.segstats import SegTransactionStats\n",
644644
"\n",
645645
"seg_stats = SegTransactionStats(df_with_segments, segment_col=\"segment_name\")\n",
646646
"seg_stats.df"

0 commit comments

Comments
 (0)