Skip to content

Commit 6f937dc

Browse files
attempt to remove clustering futurewarnings
1 parent b3f04f8 commit 6f937dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/clustering.md

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ kernelspec:
1818
```{code-cell} ipython3
1919
:tags: [remove-cell]
2020
21+
# get rid of futurewarnings from sklearn kmeans
22+
import warnings
23+
warnings.simplefilter(action='ignore', category=FutureWarning)
24+
2125
from chapter_preamble import *
2226
```
2327

0 commit comments

Comments
 (0)