Skip to content

Commit 19304b2

Browse files
committed
Remove sklearn data dtype version fix
1 parent 9c0f1d1 commit 19304b2

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

doc/examples/py_double_ml_pension.ipynb

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -94,23 +94,6 @@
9494
"data = fetch_401K(return_type='DataFrame')"
9595
]
9696
},
97-
{
98-
"cell_type": "code",
99-
"execution_count": null,
100-
"id": "853ba4be",
101-
"metadata": {},
102-
"outputs": [],
103-
"source": [
104-
"# Temporary fix for https://github.com/DoubleML/doubleml-docs/issues/45 / https://github.com/scikit-learn/scikit-learn/issues/21997\n",
105-
"# Can be removed when scikit-learn version 1.2.0 is released\n",
106-
"dtypes = data.dtypes\n",
107-
"dtypes['nifa'] = 'float64'\n",
108-
"dtypes['net_tfa'] = 'float64'\n",
109-
"dtypes['tw'] = 'float64'\n",
110-
"dtypes['inc'] = 'float64'\n",
111-
"data = data.astype(dtypes)"
112-
]
113-
},
11497
{
11598
"cell_type": "code",
11699
"execution_count": null,
@@ -1179,7 +1162,7 @@
11791162
"name": "python",
11801163
"nbconvert_exporter": "python",
11811164
"pygments_lexer": "ipython3",
1182-
"version": "3.11.2"
1165+
"version": "3.12.4"
11831166
},
11841167
"vscode": {
11851168
"interpreter": {

0 commit comments

Comments
 (0)