Skip to content

Commit f6238db

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 7aa7485466be233498b50f9f564b8eb9fceb3702
1 parent a35479c commit f6238db

File tree

1,312 files changed

+7204
-7128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,312 files changed

+7204
-7128
lines changed

dev/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: b8475758ea3b824e55e20cfe74ffc2eb
3+
config: dac8c3fe1a779cbc4a2e7650e8445792
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.

dev/_downloads/53490cdb42c3c07ba8cccd1c4ed4dca4/plot_release_highlights_1_4_0.ipynb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,18 @@
5858
},
5959
"outputs": [],
6060
"source": [
61-
"import polars as pl\nfrom sklearn.preprocessing import StandardScaler\nfrom sklearn.preprocessing import OneHotEncoder\nfrom sklearn.compose import ColumnTransformer\n\ndf = pl.DataFrame(\n {\"height\": [120, 140, 150, 110, 100], \"pet\": [\"dog\", \"cat\", \"dog\", \"cat\", \"cat\"]}\n)\npreprocessor = ColumnTransformer(\n [\n (\"numerical\", StandardScaler(), [\"height\"]),\n (\"categorical\", OneHotEncoder(sparse_output=False), [\"pet\"]),\n ],\n verbose_feature_names_out=False,\n)\npreprocessor.set_output(transform=\"polars\")\n\ndf_out = preprocessor.fit_transform(df)\nprint(f\"Output type: {type(df_out)}\")"
61+
"import polars as pl\nfrom sklearn.preprocessing import StandardScaler\nfrom sklearn.preprocessing import OneHotEncoder\nfrom sklearn.compose import ColumnTransformer\n\ndf = pl.DataFrame(\n {\"height\": [120, 140, 150, 110, 100], \"pet\": [\"dog\", \"cat\", \"dog\", \"cat\", \"cat\"]}\n)\npreprocessor = ColumnTransformer(\n [\n (\"numerical\", StandardScaler(), [\"height\"]),\n (\"categorical\", OneHotEncoder(sparse_output=False), [\"pet\"]),\n ],\n verbose_feature_names_out=False,\n)\npreprocessor.set_output(transform=\"polars\")\n\ndf_out = preprocessor.fit_transform(df)\ndf_out"
62+
]
63+
},
64+
{
65+
"cell_type": "code",
66+
"execution_count": null,
67+
"metadata": {
68+
"collapsed": false
69+
},
70+
"outputs": [],
71+
"source": [
72+
"print(f\"Output type: {type(df_out)}\")"
6273
]
6374
},
6475
{
Binary file not shown.

dev/_downloads/c15cce0dbcd8722cb5638987eff985c0/plot_release_highlights_1_4_0.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
preprocessor.set_output(transform="polars")
7474

7575
df_out = preprocessor.fit_transform(df)
76+
df_out
77+
78+
# %%
7679
print(f"Output type: {type(df_out)}")
7780

7881
# %%

dev/_downloads/scikit-learn-docs.zip

6.18 KB
Binary file not shown.
-510 Bytes
-11 Bytes
-574 Bytes
-182 Bytes

0 commit comments

Comments
 (0)