@@ -103,8 +103,11 @@ def get_data_home(data_home=None, *, use_default_location="deprecated") -> str:
103
103
"- Linux/Unix: ~/.cache/scikit-learn\n "
104
104
"- macOS: ~/Library/Caches/scikit-learn\n "
105
105
"- Windows: ~/AppData/Local/scikit-learn\n \n "
106
- "To migrate your data, copy the contents of '~/scikit_learn_data' "
107
- "to the new location for your OS." ,
106
+ "To migrate your data:\n "
107
+ "1. Copy the contents of '~/scikit_learn_data' to the new\n "
108
+ " location for your OS\n "
109
+ "2. Delete the old '~/scikit_learn_data' directory to properly\n "
110
+ " use the new location" ,
108
111
FutureWarning ,
109
112
)
110
113
return old_default
@@ -116,8 +119,11 @@ def get_data_home(data_home=None, *, use_default_location="deprecated") -> str:
116
119
"- Linux/Unix: ~/.cache/scikit-learn\n "
117
120
"- macOS: ~/Library/Caches/scikit-learn\n "
118
121
"- Windows: ~/AppData/Local/scikit-learn\n \n "
119
- "To migrate your data, copy the contents of '~/scikit_learn_data' "
120
- "to the new location for your OS." ,
122
+ "To migrate your data:\n "
123
+ "1. Copy the contents of '~/scikit_learn_data' to the new\n "
124
+ " location for your OS\n "
125
+ "2. Delete the old '~/scikit_learn_data' directory to properly\n "
126
+ " use the new location" ,
121
127
FutureWarning ,
122
128
)
123
129
return join (expanduser ("~" ), "scikit_learn_data" )
0 commit comments