diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 8fbcb65b..54a7bb03 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -56,6 +56,7 @@ jobs:
python -c 'from polars_ds import linear_models'
python -c 'from polars_ds.ts_features import *'
python -c 'from polars_ds.spatial import *'
+ python -c 'from polars_ds.sample_and_split import *'
- name: Upload sdist
uses: actions/upload-artifact@v4
diff --git a/docs/sample.md b/docs/sample_and_split.md
similarity index 59%
rename from docs/sample.md
rename to docs/sample_and_split.md
index a6a2b493..c40607a4 100644
--- a/docs/sample.md
+++ b/docs/sample_and_split.md
@@ -1,3 +1,3 @@
## Polars Native Machine Learning Pipeline
-::: polars_ds.sample
\ No newline at end of file
+::: polars_ds.sample_and_split
\ No newline at end of file
diff --git a/examples/diagnosis.ipynb b/examples/diagnosis.ipynb
index 8c78a6f2..f6f1bab1 100644
--- a/examples/diagnosis.ipynb
+++ b/examples/diagnosis.ipynb
@@ -39,21 +39,21 @@
" white-space: pre-wrap;\n",
"}\n",
"\n",
- "shape: (5, 6)
uniform_1 | uniform_2 | exp | normal | fat_normal | list_prob |
---|
f64 | f64 | f64 | f64 | f64 | list[f64] |
6.791467 | 0.283161 | 0.777444 | -0.568004 | 491.394955 | [0.283161, 0.716839] |
0.276134 | 0.408202 | 3.863593 | -2.438353 | -160.146634 | [0.408202, 0.591798] |
3.002214 | 0.26685 | 2.834594 | 1.727347 | -130.782322 | [0.26685, 0.73315] |
3.103055 | 0.627046 | 1.193838 | 0.107552 | 392.246007 | [0.627046, 0.372954] |
11.138852 | 0.980313 | 0.234841 | 0.240036 | 1009.132124 | [0.980313, 0.019687] |
"
+ "shape: (5, 6)uniform_1 | uniform_2 | exp | normal | fat_normal | list_prob |
---|
f64 | f64 | f64 | f64 | f64 | list[f64] |
10.777577 | 0.846696 | 1.038449 | 1.210316 | 1023.649935 | [0.846696, 0.153304] |
2.361788 | 0.270618 | 0.586649 | 0.026263 | -633.309472 | [0.270618, 0.729382] |
3.517526 | 0.957559 | 3.107917 | 0.959678 | -681.153679 | [0.957559, 0.042441] |
2.05943 | 0.900452 | 3.903089 | 1.361853 | 746.768916 | [0.900452, 0.099548] |
6.954952 | 0.208234 | 1.27169 | -0.54639 | -375.050195 | [0.208234, 0.791766] |
"
],
"text/plain": [
"shape: (5, 6)\n",
- "┌───────────┬───────────┬──────────┬───────────┬─────────────┬──────────────────────┐\n",
- "│ uniform_1 ┆ uniform_2 ┆ exp ┆ normal ┆ fat_normal ┆ list_prob │\n",
- "│ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │\n",
- "│ f64 ┆ f64 ┆ f64 ┆ f64 ┆ f64 ┆ list[f64] │\n",
- "╞═══════════╪═══════════╪══════════╪═══════════╪═════════════╪══════════════════════╡\n",
- "│ 6.791467 ┆ 0.283161 ┆ 0.777444 ┆ -0.568004 ┆ 491.394955 ┆ [0.283161, 0.716839] │\n",
- "│ 0.276134 ┆ 0.408202 ┆ 3.863593 ┆ -2.438353 ┆ -160.146634 ┆ [0.408202, 0.591798] │\n",
- "│ 3.002214 ┆ 0.26685 ┆ 2.834594 ┆ 1.727347 ┆ -130.782322 ┆ [0.26685, 0.73315] │\n",
- "│ 3.103055 ┆ 0.627046 ┆ 1.193838 ┆ 0.107552 ┆ 392.246007 ┆ [0.627046, 0.372954] │\n",
- "│ 11.138852 ┆ 0.980313 ┆ 0.234841 ┆ 0.240036 ┆ 1009.132124 ┆ [0.980313, 0.019687] │\n",
- "└───────────┴───────────┴──────────┴───────────┴─────────────┴──────────────────────┘"
+ "┌───────────┬───────────┬──────────┬──────────┬─────────────┬──────────────────────┐\n",
+ "│ uniform_1 ┆ uniform_2 ┆ exp ┆ normal ┆ fat_normal ┆ list_prob │\n",
+ "│ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │\n",
+ "│ f64 ┆ f64 ┆ f64 ┆ f64 ┆ f64 ┆ list[f64] │\n",
+ "╞═══════════╪═══════════╪══════════╪══════════╪═════════════╪══════════════════════╡\n",
+ "│ 10.777577 ┆ 0.846696 ┆ 1.038449 ┆ 1.210316 ┆ 1023.649935 ┆ [0.846696, 0.153304] │\n",
+ "│ 2.361788 ┆ 0.270618 ┆ 0.586649 ┆ 0.026263 ┆ -633.309472 ┆ [0.270618, 0.729382] │\n",
+ "│ 3.517526 ┆ 0.957559 ┆ 3.107917 ┆ 0.959678 ┆ -681.153679 ┆ [0.957559, 0.042441] │\n",
+ "│ 2.05943 ┆ 0.900452 ┆ 3.903089 ┆ 1.361853 ┆ 746.768916 ┆ [0.900452, 0.099548] │\n",
+ "│ 6.954952 ┆ 0.208234 ┆ 1.27169 ┆ -0.54639 ┆ -375.050195 ┆ [0.208234, 0.791766] │\n",
+ "└───────────┴───────────┴──────────┴──────────┴─────────────┴──────────────────────┘"
]
},
"execution_count": 2,
@@ -132,51 +132,51 @@
{
"data": {
"text/html": [
- "\n",
+ "
\n",
"\n",
"
\n",
@@ -201,76 +201,76 @@
" uniform_1 | \n",
" 1000000 | \n",
" 0.00% | \n",
- " 6.003 | \n",
- " 3.467 | \n",
+ " 5.991 | \n",
+ " 3.465 | \n",
" 0.000 | \n",
- " 2.999 | \n",
- " 6.000 | \n",
- " 9.004 | \n",
+ " 2.989 | \n",
+ " 5.980 | \n",
+ " 8.993 | \n",
" 12.000 | \n",
" 6.005 | \n",
" 0 | \n",
- " | \n",
+ " | \n",
" \n",
" \n",
" uniform_2 | \n",
" 1000000 | \n",
" 0.00% | \n",
- " 0.499 | \n",
+ " 0.500 | \n",
" 0.289 | \n",
" 0.000 | \n",
" 0.250 | \n",
" 0.500 | \n",
- " 0.749 | \n",
+ " 0.750 | \n",
" 1.000 | \n",
" 0.500 | \n",
" 0 | \n",
- " | \n",
+ " | \n",
"
\n",
" \n",
" exp | \n",
" 1000000 | \n",
" 0.00% | \n",
- " 2.001 | \n",
+ " 1.999 | \n",
" 2.002 | \n",
" 0.000 | \n",
" 0.576 | \n",
- " 1.390 | \n",
- " 2.774 | \n",
- " 29.329 | \n",
- " 2.198 | \n",
- " 48003 | \n",
- " | \n",
+ " 1.380 | \n",
+ " 2.769 | \n",
+ " 23.493 | \n",
+ " 2.193 | \n",
+ " 48290 | \n",
+ " | \n",
"
\n",
" \n",
" normal | \n",
" 1000000 | \n",
" 0.00% | \n",
- " 0.001 | \n",
- " 1.001 | \n",
- " −4.430 | \n",
- " −0.675 | \n",
+ " −0.002 | \n",
+ " 1.000 | \n",
+ " −4.675 | \n",
+ " −0.677 | \n",
" 0.000 | \n",
- " 0.676 | \n",
- " 5.117 | \n",
+ " 0.674 | \n",
+ " 4.785 | \n",
" 1.351 | \n",
- " 7001 | \n",
- " | \n",
+ " 6926 | \n",
+ " | \n",
"
\n",
" \n",
" fat_normal | \n",
" 1000000 | \n",
" 0.00% | \n",
- " 2.503 | \n",
- " 1,000.485 | \n",
- " −5,002.916 | \n",
- " −671.090 | \n",
- " 3.180 | \n",
- " 677.716 | \n",
- " 4,862.190 | \n",
- " 1,348.805 | \n",
- " 6972 | \n",
- " | \n",
+ " −1.839 | \n",
+ " 998.757 | \n",
+ " −5,129.788 | \n",
+ " −675.712 | \n",
+ " −2.810 | \n",
+ " 671.120 | \n",
+ " 4,884.954 | \n",
+ " 1,346.832 | \n",
+ " 7101 | \n",
+ " | \n",
"
\n",
"\n",
"\n",
@@ -282,27 +282,26 @@
],
"text/plain": [
"GT(_tbl_data=shape: (5, 13)\n",
- "┌────────────┬────────────┬───────┬──────────┬───┬────────────┬────────────┬───────────┬───────────┐\n",
- "│ column ┆ non_null_c ┆ null% ┆ mean ┆ … ┆ max ┆ IQR ┆ outlier_c ┆ histogram │\n",
- "│ --- ┆ nt ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ nt ┆ --- │\n",
- "│ str ┆ --- ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ --- ┆ struct[1] │\n",
- "│ ┆ u32 ┆ ┆ ┆ ┆ ┆ ┆ u32 ┆ │\n",
- "╞════════════╪════════════╪═══════╪══════════╪═══╪════════════╪════════════╪═══════════╪═══════════╡\n",
- "│ uniform_1 ┆ 1000000 ┆ 0.0 ┆ 6.003015 ┆ … ┆ 11.999996 ┆ 6.004953 ┆ 0 ┆ {[50087, │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 49933, … │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 50327]} │\n",
- "│ uniform_2 ┆ 1000000 ┆ 0.0 ┆ 0.49933 ┆ … ┆ 0.999999 ┆ 0.499751 ┆ 0 ┆ {[50265, │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 50526, … │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 49800]} │\n",
- "│ exp ┆ 1000000 ┆ 0.0 ┆ 2.000617 ┆ … ┆ 29.329002 ┆ 2.198114 ┆ 48003 ┆ {[519706, │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 249181, … │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 1]} │\n",
- "│ normal ┆ 1000000 ┆ 0.0 ┆ 0.000649 ┆ … ┆ 5.11653 ┆ 1.351107 ┆ 7001 ┆ {[25, │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 203, … │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 2]} │\n",
- "│ fat_normal ┆ 1000000 ┆ 0.0 ┆ 2.502748 ┆ … ┆ 4862.19002 ┆ 1348.80531 ┆ 6972 ┆ {[6, 27, │\n",
- "│ ┆ ┆ ┆ ┆ ┆ 9 ┆ 5 ┆ ┆ … 8]} │\n",
- "└────────────┴────────────┴───────┴──────────┴───┴────────────┴────────────┴───────────┴───────────┘, _body=, _boxhead=Boxhead([ColInfo(var='column', type=, column_label='column', column_align='left', column_width=None), ColInfo(var='non_null_cnt', type=, column_label='non_null_cnt', column_align='center', column_width=None), ColInfo(var='null%', type=, column_label='null%', column_align='right', column_width=None), ColInfo(var='mean', type=, column_label='mean', column_align='right', column_width=None), ColInfo(var='std', type=, column_label='std', column_align='right', column_width=None), ColInfo(var='min', type=, column_label='min', column_align='right', column_width=None), ColInfo(var='q1', type=, column_label='q1', column_align='right', column_width=None), ColInfo(var='median', type=, column_label='median', column_align='right', column_width=None), ColInfo(var='q3', type=, column_label='q3', column_align='right', column_width=None), ColInfo(var='max', type=, column_label='max', column_align='right', column_width=None), ColInfo(var='IQR', type=, column_label='IQR', column_align='right', column_width=None), ColInfo(var='outlier_cnt', type=, column_label='outlier_cnt', column_align='center', column_width=None), ColInfo(var='histogram', type=, column_label='histogram', column_align='center', column_width=None)]), _stub=, _spanners=Spanners([]), _heading=Heading(title=None, subtitle=None, preheader=None), _stubhead='column', _source_notes=[], _footnotes=[], _styles=[], _locale=, _formats=[, , ], _substitutions=[], _options=Options(table_id=OptionsInfo(scss=False, category='table', type='value', value=None), table_caption=OptionsInfo(scss=False, category='table', type='value', value=None), table_width=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_layout=OptionsInfo(scss=True, category='table', type='value', value='fixed'), table_margin_left=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_margin_right=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_background_color=OptionsInfo(scss=True, category='table', type='value', value='#FFFFFF'), table_font_names=OptionsInfo(scss=False, category='table', type='values', value=['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Fira Sans', 'Droid Sans', 'Arial', 'sans-serif']), table_font_size=OptionsInfo(scss=True, category='table', type='px', value='16px'), table_font_weight=OptionsInfo(scss=True, category='table', type='value', value='normal'), table_font_style=OptionsInfo(scss=True, category='table', type='value', value='normal'), table_font_color=OptionsInfo(scss=True, category='table', type='value', value='#333333'), table_font_color_light=OptionsInfo(scss=True, category='table', type='value', value='#FFFFFF'), table_border_top_include=OptionsInfo(scss=False, category='table', type='boolean', value=True), table_border_top_style=OptionsInfo(scss=True, category='table', type='value', value='solid'), table_border_top_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_top_color=OptionsInfo(scss=True, category='table', type='value', value='#A8A8A8'), table_border_right_style=OptionsInfo(scss=True, category='table', type='value', value='none'), table_border_right_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_right_color=OptionsInfo(scss=True, category='table', type='value', value='#D3D3D3'), table_border_bottom_include=OptionsInfo(scss=False, category='table', type='boolean', value=True), table_border_bottom_style=OptionsInfo(scss=True, category='table', type='value', value='solid'), table_border_bottom_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_bottom_color=OptionsInfo(scss=True, category='table', type='value', value='#A8A8A8'), table_border_left_style=OptionsInfo(scss=True, category='table', type='value', value='none'), table_border_left_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_left_color=OptionsInfo(scss=True, category='table', type='value', value='#D3D3D3'), heading_background_color=OptionsInfo(scss=True, category='heading', type='value', value=None), heading_align=OptionsInfo(scss=True, category='heading', type='value', value='center'), heading_title_font_size=OptionsInfo(scss=True, category='heading', type='px', value='125%'), heading_title_font_weight=OptionsInfo(scss=True, category='heading', type='value', value='initial'), heading_subtitle_font_size=OptionsInfo(scss=True, category='heading', type='px', value='85%'), heading_subtitle_font_weight=OptionsInfo(scss=True, category='heading', type='value', value='initial'), heading_padding=OptionsInfo(scss=True, category='heading', type='px', value='4px'), heading_padding_horizontal=OptionsInfo(scss=True, category='heading', type='px', value='5px'), heading_border_bottom_style=OptionsInfo(scss=True, category='heading', type='value', value='solid'), heading_border_bottom_width=OptionsInfo(scss=True, category='heading', type='px', value='2px'), heading_border_bottom_color=OptionsInfo(scss=True, category='heading', type='value', value='#D3D3D3'), heading_border_lr_style=OptionsInfo(scss=True, category='heading', type='value', value='none'), heading_border_lr_width=OptionsInfo(scss=True, category='heading', type='px', value='1px'), heading_border_lr_color=OptionsInfo(scss=True, category='heading', type='value', value='#D3D3D3'), column_labels_background_color=OptionsInfo(scss=True, category='column_labels', type='value', value=None), column_labels_font_size=OptionsInfo(scss=True, category='column_labels', type='px', value='100%'), column_labels_font_weight=OptionsInfo(scss=True, category='column_labels', type='value', value='normal'), column_labels_text_transform=OptionsInfo(scss=True, category='column_labels', type='value', value='inherit'), column_labels_padding=OptionsInfo(scss=True, category='column_labels', type='px', value='5px'), column_labels_padding_horizontal=OptionsInfo(scss=True, category='column_labels', type='px', value='5px'), column_labels_vlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='none'), column_labels_vlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), column_labels_vlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), column_labels_border_top_style=OptionsInfo(scss=True, category='column_labels', type='value', value='solid'), column_labels_border_top_width=OptionsInfo(scss=True, category='column_labels', type='px', value='2px'), column_labels_border_top_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_border_bottom_style=OptionsInfo(scss=True, category='column_labels', type='value', value='solid'), column_labels_border_bottom_width=OptionsInfo(scss=True, category='column_labels', type='px', value='2px'), column_labels_border_bottom_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_border_lr_style=OptionsInfo(scss=True, category='column_labels', type='value', value='none'), column_labels_border_lr_width=OptionsInfo(scss=True, category='column_labels', type='px', value='1px'), column_labels_border_lr_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_hidden=OptionsInfo(scss=False, category='column_labels', type='boolean', value=False), row_group_background_color=OptionsInfo(scss=True, category='row_group', type='value', value=None), row_group_font_size=OptionsInfo(scss=True, category='row_group', type='px', value='100%'), row_group_font_weight=OptionsInfo(scss=True, category='row_group', type='value', value='initial'), row_group_text_transform=OptionsInfo(scss=True, category='row_group', type='value', value='inherit'), row_group_padding=OptionsInfo(scss=True, category='row_group', type='px', value='8px'), row_group_padding_horizontal=OptionsInfo(scss=True, category='row_group', type='px', value='5px'), row_group_border_top_style=OptionsInfo(scss=True, category='row_group', type='value', value='solid'), row_group_border_top_width=OptionsInfo(scss=True, category='row_group', type='px', value='2px'), row_group_border_top_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_right_style=OptionsInfo(scss=True, category='row_group', type='value', value='none'), row_group_border_right_width=OptionsInfo(scss=True, category='row_group', type='px', value='1px'), row_group_border_right_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_bottom_style=OptionsInfo(scss=True, category='row_group', type='value', value='solid'), row_group_border_bottom_width=OptionsInfo(scss=True, category='row_group', type='px', value='2px'), row_group_border_bottom_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_left_style=OptionsInfo(scss=True, category='row_group', type='value', value='none'), row_group_border_left_width=OptionsInfo(scss=True, category='row_group', type='px', value='1px'), row_group_border_left_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_as_column=OptionsInfo(scss=False, category='row_group', type='boolean', value=False), table_body_hlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_hlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), table_body_hlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_vlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='none'), table_body_vlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), table_body_vlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_border_top_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_border_top_width=OptionsInfo(scss=True, category='table_body', type='px', value='2px'), table_body_border_top_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_border_bottom_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_border_bottom_width=OptionsInfo(scss=True, category='table_body', type='px', value='2px'), table_body_border_bottom_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), data_row_padding=OptionsInfo(scss=True, category='data_row', type='px', value='8px'), data_row_padding_horizontal=OptionsInfo(scss=True, category='data_row', type='px', value='5px'), stub_background_color=OptionsInfo(scss=True, category='stub', type='value', value=None), stub_font_size=OptionsInfo(scss=True, category='stub', type='px', value='100%'), stub_font_weight=OptionsInfo(scss=True, category='stub', type='value', value='initial'), stub_text_transform=OptionsInfo(scss=True, category='stub', type='value', value='inherit'), stub_border_style=OptionsInfo(scss=True, category='stub', type='value', value='solid'), stub_border_width=OptionsInfo(scss=True, category='stub', type='px', value='2px'), stub_border_color=OptionsInfo(scss=True, category='stub', type='value', value='#D3D3D3'), stub_row_group_background_color=OptionsInfo(scss=True, category='stub', type='value', value=None), stub_row_group_font_size=OptionsInfo(scss=True, category='stub', type='px', value='100%'), stub_row_group_font_weight=OptionsInfo(scss=True, category='stub', type='value', value='initial'), stub_row_group_text_transform=OptionsInfo(scss=True, category='stub', type='value', value='inherit'), stub_row_group_border_style=OptionsInfo(scss=True, category='stub', type='value', value='solid'), stub_row_group_border_width=OptionsInfo(scss=True, category='stub', type='px', value='2px'), stub_row_group_border_color=OptionsInfo(scss=True, category='stub', type='value', value='#D3D3D3'), source_notes_padding=OptionsInfo(scss=True, category='source_notes', type='px', value='4px'), source_notes_padding_horizontal=OptionsInfo(scss=True, category='source_notes', type='px', value='5px'), source_notes_background_color=OptionsInfo(scss=True, category='source_notes', type='value', value=None), source_notes_font_size=OptionsInfo(scss=True, category='source_notes', type='px', value='90%'), source_notes_border_bottom_style=OptionsInfo(scss=True, category='source_notes', type='value', value='none'), source_notes_border_bottom_width=OptionsInfo(scss=True, category='source_notes', type='px', value='2px'), source_notes_border_bottom_color=OptionsInfo(scss=True, category='source_notes', type='value', value='#D3D3D3'), source_notes_border_lr_style=OptionsInfo(scss=True, category='source_notes', type='value', value='none'), source_notes_border_lr_width=OptionsInfo(scss=True, category='source_notes', type='px', value='2px'), source_notes_border_lr_color=OptionsInfo(scss=True, category='source_notes', type='value', value='#D3D3D3'), source_notes_multiline=OptionsInfo(scss=False, category='source_notes', type='boolean', value=True), source_notes_sep=OptionsInfo(scss=False, category='source_notes', type='value', value=' '), container_width=OptionsInfo(scss=False, category='container', type='px', value='auto'), container_height=OptionsInfo(scss=False, category='container', type='px', value='auto'), container_padding_x=OptionsInfo(scss=False, category='container', type='px', value='0px'), container_padding_y=OptionsInfo(scss=False, category='container', type='px', value='10px'), container_overflow_x=OptionsInfo(scss=False, category='container', type='overflow', value='auto'), container_overflow_y=OptionsInfo(scss=False, category='container', type='overflow', value='auto'), quarto_disable_processing=OptionsInfo(scss=False, category='quarto', type='logical', value=False), quarto_use_bootstrap=OptionsInfo(scss=False, category='quarto', type='logical', value=False)), _has_built=False)"
+ "┌────────────┬────────────┬───────┬───────────┬───┬────────────┬───────────┬───────────┬───────────┐\n",
+ "│ column ┆ non_null_c ┆ null% ┆ mean ┆ … ┆ max ┆ IQR ┆ outlier_c ┆ histogram │\n",
+ "│ --- ┆ nt ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ nt ┆ --- │\n",
+ "│ str ┆ --- ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ --- ┆ struct[1] │\n",
+ "│ ┆ u32 ┆ ┆ ┆ ┆ ┆ ┆ u32 ┆ │\n",
+ "╞════════════╪════════════╪═══════╪═══════════╪═══╪════════════╪═══════════╪═══════════╪═══════════╡\n",
+ "│ uniform_1 ┆ 1000000 ┆ 0.0 ┆ 5.991058 ┆ … ┆ 11.999984 ┆ 6.004569 ┆ 0 ┆ {[50219, │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 50058, … │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 49643]} │\n",
+ "│ uniform_2 ┆ 1000000 ┆ 0.0 ┆ 0.499937 ┆ … ┆ 1.0 ┆ 0.499889 ┆ 0 ┆ {[49961, │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 49829, … │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 49974]} │\n",
+ "│ exp ┆ 1000000 ┆ 0.0 ┆ 1.998808 ┆ … ┆ 23.492641 ┆ 2.193418 ┆ 48290 ┆ {[444633, │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 246909, … │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ 7]} │\n",
+ "│ normal ┆ 1000000 ┆ 0.0 ┆ -0.001726 ┆ … ┆ 4.784853 ┆ 1.350971 ┆ 6926 ┆ {[12, 78, │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ … 8]} │\n",
+ "│ fat_normal ┆ 1000000 ┆ 0.0 ┆ -1.83878 ┆ … ┆ 4884.95408 ┆ 1346.8323 ┆ 7101 ┆ {[2, 27, │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ 2 ┆ 11 ┆ ┆ … 7]} │\n",
+ "└────────────┴────────────┴───────┴───────────┴───┴────────────┴───────────┴───────────┴───────────┘, _body=, _boxhead=Boxhead([ColInfo(var='column', type=, column_label='column', column_align='left', column_width=None), ColInfo(var='non_null_cnt', type=, column_label='non_null_cnt', column_align='center', column_width=None), ColInfo(var='null%', type=, column_label='null%', column_align='right', column_width=None), ColInfo(var='mean', type=, column_label='mean', column_align='right', column_width=None), ColInfo(var='std', type=, column_label='std', column_align='right', column_width=None), ColInfo(var='min', type=, column_label='min', column_align='right', column_width=None), ColInfo(var='q1', type=, column_label='q1', column_align='right', column_width=None), ColInfo(var='median', type=, column_label='median', column_align='right', column_width=None), ColInfo(var='q3', type=, column_label='q3', column_align='right', column_width=None), ColInfo(var='max', type=, column_label='max', column_align='right', column_width=None), ColInfo(var='IQR', type=, column_label='IQR', column_align='right', column_width=None), ColInfo(var='outlier_cnt', type=, column_label='outlier_cnt', column_align='center', column_width=None), ColInfo(var='histogram', type=, column_label='histogram', column_align='center', column_width=None)]), _stub=, _spanners=Spanners([]), _heading=Heading(title=None, subtitle=None, preheader=None), _stubhead='column', _source_notes=[], _footnotes=[], _styles=[], _locale=, _formats=[, , ], _substitutions=[], _options=Options(table_id=OptionsInfo(scss=False, category='table', type='value', value=None), table_caption=OptionsInfo(scss=False, category='table', type='value', value=None), table_width=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_layout=OptionsInfo(scss=True, category='table', type='value', value='fixed'), table_margin_left=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_margin_right=OptionsInfo(scss=True, category='table', type='px', value='auto'), table_background_color=OptionsInfo(scss=True, category='table', type='value', value='#FFFFFF'), table_font_names=OptionsInfo(scss=False, category='table', type='values', value=['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Fira Sans', 'Droid Sans', 'Arial', 'sans-serif']), table_font_size=OptionsInfo(scss=True, category='table', type='px', value='16px'), table_font_weight=OptionsInfo(scss=True, category='table', type='value', value='normal'), table_font_style=OptionsInfo(scss=True, category='table', type='value', value='normal'), table_font_color=OptionsInfo(scss=True, category='table', type='value', value='#333333'), table_font_color_light=OptionsInfo(scss=True, category='table', type='value', value='#FFFFFF'), table_border_top_include=OptionsInfo(scss=False, category='table', type='boolean', value=True), table_border_top_style=OptionsInfo(scss=True, category='table', type='value', value='solid'), table_border_top_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_top_color=OptionsInfo(scss=True, category='table', type='value', value='#A8A8A8'), table_border_right_style=OptionsInfo(scss=True, category='table', type='value', value='none'), table_border_right_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_right_color=OptionsInfo(scss=True, category='table', type='value', value='#D3D3D3'), table_border_bottom_include=OptionsInfo(scss=False, category='table', type='boolean', value=True), table_border_bottom_style=OptionsInfo(scss=True, category='table', type='value', value='solid'), table_border_bottom_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_bottom_color=OptionsInfo(scss=True, category='table', type='value', value='#A8A8A8'), table_border_left_style=OptionsInfo(scss=True, category='table', type='value', value='none'), table_border_left_width=OptionsInfo(scss=True, category='table', type='px', value='2px'), table_border_left_color=OptionsInfo(scss=True, category='table', type='value', value='#D3D3D3'), heading_background_color=OptionsInfo(scss=True, category='heading', type='value', value=None), heading_align=OptionsInfo(scss=True, category='heading', type='value', value='center'), heading_title_font_size=OptionsInfo(scss=True, category='heading', type='px', value='125%'), heading_title_font_weight=OptionsInfo(scss=True, category='heading', type='value', value='initial'), heading_subtitle_font_size=OptionsInfo(scss=True, category='heading', type='px', value='85%'), heading_subtitle_font_weight=OptionsInfo(scss=True, category='heading', type='value', value='initial'), heading_padding=OptionsInfo(scss=True, category='heading', type='px', value='4px'), heading_padding_horizontal=OptionsInfo(scss=True, category='heading', type='px', value='5px'), heading_border_bottom_style=OptionsInfo(scss=True, category='heading', type='value', value='solid'), heading_border_bottom_width=OptionsInfo(scss=True, category='heading', type='px', value='2px'), heading_border_bottom_color=OptionsInfo(scss=True, category='heading', type='value', value='#D3D3D3'), heading_border_lr_style=OptionsInfo(scss=True, category='heading', type='value', value='none'), heading_border_lr_width=OptionsInfo(scss=True, category='heading', type='px', value='1px'), heading_border_lr_color=OptionsInfo(scss=True, category='heading', type='value', value='#D3D3D3'), column_labels_background_color=OptionsInfo(scss=True, category='column_labels', type='value', value=None), column_labels_font_size=OptionsInfo(scss=True, category='column_labels', type='px', value='100%'), column_labels_font_weight=OptionsInfo(scss=True, category='column_labels', type='value', value='normal'), column_labels_text_transform=OptionsInfo(scss=True, category='column_labels', type='value', value='inherit'), column_labels_padding=OptionsInfo(scss=True, category='column_labels', type='px', value='5px'), column_labels_padding_horizontal=OptionsInfo(scss=True, category='column_labels', type='px', value='5px'), column_labels_vlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='none'), column_labels_vlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), column_labels_vlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), column_labels_border_top_style=OptionsInfo(scss=True, category='column_labels', type='value', value='solid'), column_labels_border_top_width=OptionsInfo(scss=True, category='column_labels', type='px', value='2px'), column_labels_border_top_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_border_bottom_style=OptionsInfo(scss=True, category='column_labels', type='value', value='solid'), column_labels_border_bottom_width=OptionsInfo(scss=True, category='column_labels', type='px', value='2px'), column_labels_border_bottom_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_border_lr_style=OptionsInfo(scss=True, category='column_labels', type='value', value='none'), column_labels_border_lr_width=OptionsInfo(scss=True, category='column_labels', type='px', value='1px'), column_labels_border_lr_color=OptionsInfo(scss=True, category='column_labels', type='value', value='#D3D3D3'), column_labels_hidden=OptionsInfo(scss=False, category='column_labels', type='boolean', value=False), row_group_background_color=OptionsInfo(scss=True, category='row_group', type='value', value=None), row_group_font_size=OptionsInfo(scss=True, category='row_group', type='px', value='100%'), row_group_font_weight=OptionsInfo(scss=True, category='row_group', type='value', value='initial'), row_group_text_transform=OptionsInfo(scss=True, category='row_group', type='value', value='inherit'), row_group_padding=OptionsInfo(scss=True, category='row_group', type='px', value='8px'), row_group_padding_horizontal=OptionsInfo(scss=True, category='row_group', type='px', value='5px'), row_group_border_top_style=OptionsInfo(scss=True, category='row_group', type='value', value='solid'), row_group_border_top_width=OptionsInfo(scss=True, category='row_group', type='px', value='2px'), row_group_border_top_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_right_style=OptionsInfo(scss=True, category='row_group', type='value', value='none'), row_group_border_right_width=OptionsInfo(scss=True, category='row_group', type='px', value='1px'), row_group_border_right_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_bottom_style=OptionsInfo(scss=True, category='row_group', type='value', value='solid'), row_group_border_bottom_width=OptionsInfo(scss=True, category='row_group', type='px', value='2px'), row_group_border_bottom_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_border_left_style=OptionsInfo(scss=True, category='row_group', type='value', value='none'), row_group_border_left_width=OptionsInfo(scss=True, category='row_group', type='px', value='1px'), row_group_border_left_color=OptionsInfo(scss=True, category='row_group', type='value', value='#D3D3D3'), row_group_as_column=OptionsInfo(scss=False, category='row_group', type='boolean', value=False), table_body_hlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_hlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), table_body_hlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_vlines_style=OptionsInfo(scss=True, category='table_body', type='value', value='none'), table_body_vlines_width=OptionsInfo(scss=True, category='table_body', type='px', value='1px'), table_body_vlines_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_border_top_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_border_top_width=OptionsInfo(scss=True, category='table_body', type='px', value='2px'), table_body_border_top_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), table_body_border_bottom_style=OptionsInfo(scss=True, category='table_body', type='value', value='solid'), table_body_border_bottom_width=OptionsInfo(scss=True, category='table_body', type='px', value='2px'), table_body_border_bottom_color=OptionsInfo(scss=True, category='table_body', type='value', value='#D3D3D3'), data_row_padding=OptionsInfo(scss=True, category='data_row', type='px', value='8px'), data_row_padding_horizontal=OptionsInfo(scss=True, category='data_row', type='px', value='5px'), stub_background_color=OptionsInfo(scss=True, category='stub', type='value', value=None), stub_font_size=OptionsInfo(scss=True, category='stub', type='px', value='100%'), stub_font_weight=OptionsInfo(scss=True, category='stub', type='value', value='initial'), stub_text_transform=OptionsInfo(scss=True, category='stub', type='value', value='inherit'), stub_border_style=OptionsInfo(scss=True, category='stub', type='value', value='solid'), stub_border_width=OptionsInfo(scss=True, category='stub', type='px', value='2px'), stub_border_color=OptionsInfo(scss=True, category='stub', type='value', value='#D3D3D3'), stub_row_group_background_color=OptionsInfo(scss=True, category='stub', type='value', value=None), stub_row_group_font_size=OptionsInfo(scss=True, category='stub', type='px', value='100%'), stub_row_group_font_weight=OptionsInfo(scss=True, category='stub', type='value', value='initial'), stub_row_group_text_transform=OptionsInfo(scss=True, category='stub', type='value', value='inherit'), stub_row_group_border_style=OptionsInfo(scss=True, category='stub', type='value', value='solid'), stub_row_group_border_width=OptionsInfo(scss=True, category='stub', type='px', value='2px'), stub_row_group_border_color=OptionsInfo(scss=True, category='stub', type='value', value='#D3D3D3'), source_notes_padding=OptionsInfo(scss=True, category='source_notes', type='px', value='4px'), source_notes_padding_horizontal=OptionsInfo(scss=True, category='source_notes', type='px', value='5px'), source_notes_background_color=OptionsInfo(scss=True, category='source_notes', type='value', value=None), source_notes_font_size=OptionsInfo(scss=True, category='source_notes', type='px', value='90%'), source_notes_border_bottom_style=OptionsInfo(scss=True, category='source_notes', type='value', value='none'), source_notes_border_bottom_width=OptionsInfo(scss=True, category='source_notes', type='px', value='2px'), source_notes_border_bottom_color=OptionsInfo(scss=True, category='source_notes', type='value', value='#D3D3D3'), source_notes_border_lr_style=OptionsInfo(scss=True, category='source_notes', type='value', value='none'), source_notes_border_lr_width=OptionsInfo(scss=True, category='source_notes', type='px', value='2px'), source_notes_border_lr_color=OptionsInfo(scss=True, category='source_notes', type='value', value='#D3D3D3'), source_notes_multiline=OptionsInfo(scss=False, category='source_notes', type='boolean', value=True), source_notes_sep=OptionsInfo(scss=False, category='source_notes', type='value', value=' '), container_width=OptionsInfo(scss=False, category='container', type='px', value='auto'), container_height=OptionsInfo(scss=False, category='container', type='px', value='auto'), container_padding_x=OptionsInfo(scss=False, category='container', type='px', value='0px'), container_padding_y=OptionsInfo(scss=False, category='container', type='px', value='10px'), container_overflow_x=OptionsInfo(scss=False, category='container', type='overflow', value='auto'), container_overflow_y=OptionsInfo(scss=False, category='container', type='overflow', value='auto'), quarto_disable_processing=OptionsInfo(scss=False, category='quarto', type='logical', value=False), quarto_use_bootstrap=OptionsInfo(scss=False, category='quarto', type='logical', value=False)), _has_built=False)"
]
},
"execution_count": 5,
@@ -330,23 +329,23 @@
" white-space: pre-wrap;\n",
"}\n",
"\n",
- "shape: (5, 12)column | non_null_cnt | null% | mean | std | min | q1 | median | q3 | max | IQR | outlier_cnt |
---|
str | u32 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | u32 |
"uniform_1" | 1000000 | 0.0 | 6.003015 | 3.466974 | 0.000018 | 2.998867 | 6.0 | 9.00382 | 11.999996 | 6.004953 | 0 |
"uniform_2" | 1000000 | 0.0 | 0.49933 | 0.28869 | 1.4642e-7 | 0.249562 | 0.5 | 0.749313 | 0.999999 | 0.499751 | 0 |
"exp" | 1000000 | 0.0 | 2.000617 | 2.001901 | 0.000001 | 0.576303 | 1.39 | 2.774417 | 29.329002 | 2.198114 | 48003 |
"normal" | 1000000 | 0.0 | 0.000649 | 1.001123 | -4.430495 | -0.67543 | 0.0 | 0.675677 | 5.11653 | 1.351107 | 7001 |
"fat_normal" | 1000000 | 0.0 | 2.502748 | 1000.484535 | -5002.916261 | -671.089755 | 3.18 | 677.71556 | 4862.190029 | 1348.805315 | 6972 |
"
+ "shape: (5, 12)column | non_null_cnt | null% | mean | std | min | q1 | median | q3 | max | IQR | outlier_cnt |
---|
str | u32 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | f64 | u32 |
"uniform_1" | 1000000 | 0.0 | 5.991058 | 3.464558 | 0.000003 | 2.988808 | 5.98 | 8.993377 | 11.999984 | 6.004569 | 0 |
"uniform_2" | 1000000 | 0.0 | 0.499937 | 0.288649 | 0.000001 | 0.249905 | 0.5 | 0.749794 | 1.0 | 0.499889 | 0 |
"exp" | 1000000 | 0.0 | 1.998808 | 2.001631 | 0.000001 | 0.575506 | 1.38 | 2.768924 | 23.492641 | 2.193418 | 48290 |
"normal" | 1000000 | 0.0 | -0.001726 | 1.000476 | -4.675398 | -0.677272 | -0.0 | 0.673699 | 4.784853 | 1.350971 | 6926 |
"fat_normal" | 1000000 | 0.0 | -1.83878 | 998.757412 | -5129.788141 | -675.712137 | -2.81 | 671.120174 | 4884.954082 | 1346.832311 | 7101 |
"
],
"text/plain": [
"shape: (5, 12)\n",
- "┌────────────┬────────────┬───────┬──────────┬───┬───────────┬────────────┬────────────┬───────────┐\n",
- "│ column ┆ non_null_c ┆ null% ┆ mean ┆ … ┆ q3 ┆ max ┆ IQR ┆ outlier_c │\n",
- "│ --- ┆ nt ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ --- ┆ nt │\n",
- "│ str ┆ --- ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ f64 ┆ --- │\n",
- "│ ┆ u32 ┆ ┆ ┆ ┆ ┆ ┆ ┆ u32 │\n",
- "╞════════════╪════════════╪═══════╪══════════╪═══╪═══════════╪════════════╪════════════╪═══════════╡\n",
- "│ uniform_1 ┆ 1000000 ┆ 0.0 ┆ 6.003015 ┆ … ┆ 9.00382 ┆ 11.999996 ┆ 6.004953 ┆ 0 │\n",
- "│ uniform_2 ┆ 1000000 ┆ 0.0 ┆ 0.49933 ┆ … ┆ 0.749313 ┆ 0.999999 ┆ 0.499751 ┆ 0 │\n",
- "│ exp ┆ 1000000 ┆ 0.0 ┆ 2.000617 ┆ … ┆ 2.774417 ┆ 29.329002 ┆ 2.198114 ┆ 48003 │\n",
- "│ normal ┆ 1000000 ┆ 0.0 ┆ 0.000649 ┆ … ┆ 0.675677 ┆ 5.11653 ┆ 1.351107 ┆ 7001 │\n",
- "│ fat_normal ┆ 1000000 ┆ 0.0 ┆ 2.502748 ┆ … ┆ 677.71556 ┆ 4862.19002 ┆ 1348.80531 ┆ 6972 │\n",
- "│ ┆ ┆ ┆ ┆ ┆ ┆ 9 ┆ 5 ┆ │\n",
- "└────────────┴────────────┴───────┴──────────┴───┴───────────┴────────────┴────────────┴───────────┘"
+ "┌────────────┬────────────┬───────┬───────────┬───┬────────────┬───────────┬───────────┬───────────┐\n",
+ "│ column ┆ non_null_c ┆ null% ┆ mean ┆ … ┆ q3 ┆ max ┆ IQR ┆ outlier_c │\n",
+ "│ --- ┆ nt ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ --- ┆ nt │\n",
+ "│ str ┆ --- ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ f64 ┆ --- │\n",
+ "│ ┆ u32 ┆ ┆ ┆ ┆ ┆ ┆ ┆ u32 │\n",
+ "╞════════════╪════════════╪═══════╪═══════════╪═══╪════════════╪═══════════╪═══════════╪═══════════╡\n",
+ "│ uniform_1 ┆ 1000000 ┆ 0.0 ┆ 5.991058 ┆ … ┆ 8.993377 ┆ 11.999984 ┆ 6.004569 ┆ 0 │\n",
+ "│ uniform_2 ┆ 1000000 ┆ 0.0 ┆ 0.499937 ┆ … ┆ 0.749794 ┆ 1.0 ┆ 0.499889 ┆ 0 │\n",
+ "│ exp ┆ 1000000 ┆ 0.0 ┆ 1.998808 ┆ … ┆ 2.768924 ┆ 23.492641 ┆ 2.193418 ┆ 48290 │\n",
+ "│ normal ┆ 1000000 ┆ 0.0 ┆ -0.001726 ┆ … ┆ 0.673699 ┆ 4.784853 ┆ 1.350971 ┆ 6926 │\n",
+ "│ fat_normal ┆ 1000000 ┆ 0.0 ┆ -1.83878 ┆ … ┆ 671.120174 ┆ 4884.9540 ┆ 1346.8323 ┆ 7101 │\n",
+ "│ ┆ ┆ ┆ ┆ ┆ ┆ 82 ┆ 11 ┆ │\n",
+ "└────────────┴────────────┴───────┴───────────┴───┴────────────┴───────────┴───────────┴───────────┘"
]
},
"execution_count": 6,
@@ -374,7 +373,7 @@
" white-space: pre-wrap;\n",
"}\n",
"\n",
- "shape: (10, 3)x | y | corr |
---|
str | str | f64 |
"exp" | "fat_normal" | -0.001651 |
"uniform_2" | "fat_normal" | -0.001265 |
"exp" | "normal" | -0.001144 |
"uniform_1" | "fat_normal" | 0.001003 |
"uniform_1" | "uniform_2" | 0.000689 |
"uniform_2" | "exp" | -0.000492 |
"uniform_1" | "normal" | 0.000479 |
"uniform_1" | "exp" | 0.000167 |
"uniform_2" | "normal" | 0.000147 |
"normal" | "fat_normal" | 0.000085 |
"
+ "shape: (10, 3)x | y | corr |
---|
str | str | f64 |
"uniform_1" | "fat_normal" | 0.001348 |
"uniform_1" | "exp" | -0.00131 |
"uniform_1" | "normal" | -0.000871 |
"exp" | "normal" | -0.000857 |
"uniform_2" | "exp" | -0.000656 |
"normal" | "fat_normal" | -0.000505 |
"uniform_2" | "normal" | 0.000467 |
"exp" | "fat_normal" | -0.000378 |
"uniform_1" | "uniform_2" | -0.00015 |
"uniform_2" | "fat_normal" | 0.000138 |
"
],
"text/plain": [
"shape: (10, 3)\n",
@@ -383,16 +382,16 @@
"│ --- ┆ --- ┆ --- │\n",
"│ str ┆ str ┆ f64 │\n",
"╞═══════════╪════════════╪═══════════╡\n",
- "│ exp ┆ fat_normal ┆ -0.001651 │\n",
- "│ uniform_2 ┆ fat_normal ┆ -0.001265 │\n",
- "│ exp ┆ normal ┆ -0.001144 │\n",
- "│ uniform_1 ┆ fat_normal ┆ 0.001003 │\n",
- "│ uniform_1 ┆ uniform_2 ┆ 0.000689 │\n",
- "│ uniform_2 ┆ exp ┆ -0.000492 │\n",
- "│ uniform_1 ┆ normal ┆ 0.000479 │\n",
- "│ uniform_1 ┆ exp ┆ 0.000167 │\n",
- "│ uniform_2 ┆ normal ┆ 0.000147 │\n",
- "│ normal ┆ fat_normal ┆ 0.000085 │\n",
+ "│ uniform_1 ┆ fat_normal ┆ 0.001348 │\n",
+ "│ uniform_1 ┆ exp ┆ -0.00131 │\n",
+ "│ uniform_1 ┆ normal ┆ -0.000871 │\n",
+ "│ exp ┆ normal ┆ -0.000857 │\n",
+ "│ uniform_2 ┆ exp ┆ -0.000656 │\n",
+ "│ normal ┆ fat_normal ┆ -0.000505 │\n",
+ "│ uniform_2 ┆ normal ┆ 0.000467 │\n",
+ "│ exp ┆ fat_normal ┆ -0.000378 │\n",
+ "│ uniform_1 ┆ uniform_2 ┆ -0.00015 │\n",
+ "│ uniform_2 ┆ fat_normal ┆ 0.000138 │\n",
"└───────────┴────────────┴───────────┘"
]
},
@@ -420,7 +419,7 @@
" white-space: pre-wrap;\n",
"}\n",
"\n",
- "shape: (10, 3)x | y | corr |
---|
str | str | f64 |
"exp" | "fat_normal" | -0.001254 |
"exp" | "normal" | -0.000856 |
"uniform_2" | "fat_normal" | -0.000708 |
"uniform_1" | "fat_normal" | 0.000601 |
"uniform_1" | "normal" | 0.000567 |
"uniform_2" | "exp" | -0.000484 |
"uniform_1" | "uniform_2" | 0.00046 |
"uniform_1" | "exp" | 0.00019 |
"normal" | "fat_normal" | -0.000051 |
"uniform_2" | "normal" | 0.000044 |
"
+ "shape: (10, 3)x | y | corr |
---|
str | str | f64 |
"uniform_1" | "exp" | -0.000962 |
"uniform_1" | "fat_normal" | 0.000852 |
"exp" | "normal" | -0.000529 |
"uniform_1" | "normal" | -0.000492 |
"exp" | "fat_normal" | -0.000249 |
"normal" | "fat_normal" | -0.000224 |
"uniform_2" | "normal" | 0.000141 |
"uniform_2" | "exp" | -0.000131 |
"uniform_2" | "fat_normal" | 0.000117 |
"uniform_1" | "uniform_2" | -0.000101 |
"
],
"text/plain": [
"shape: (10, 3)\n",
@@ -429,16 +428,16 @@
"│ --- ┆ --- ┆ --- │\n",
"│ str ┆ str ┆ f64 │\n",
"╞═══════════╪════════════╪═══════════╡\n",
- "│ exp ┆ fat_normal ┆ -0.001254 │\n",
- "│ exp ┆ normal ┆ -0.000856 │\n",
- "│ uniform_2 ┆ fat_normal ┆ -0.000708 │\n",
- "│ uniform_1 ┆ fat_normal ┆ 0.000601 │\n",
- "│ uniform_1 ┆ normal ┆ 0.000567 │\n",
- "│ uniform_2 ┆ exp ┆ -0.000484 │\n",
- "│ uniform_1 ┆ uniform_2 ┆ 0.00046 │\n",
- "│ uniform_1 ┆ exp ┆ 0.00019 │\n",
- "│ normal ┆ fat_normal ┆ -0.000051 │\n",
- "│ uniform_2 ┆ normal ┆ 0.000044 │\n",
+ "│ uniform_1 ┆ exp ┆ -0.000962 │\n",
+ "│ uniform_1 ┆ fat_normal ┆ 0.000852 │\n",
+ "│ exp ┆ normal ┆ -0.000529 │\n",
+ "│ uniform_1 ┆ normal ┆ -0.000492 │\n",
+ "│ exp ┆ fat_normal ┆ -0.000249 │\n",
+ "│ normal ┆ fat_normal ┆ -0.000224 │\n",
+ "│ uniform_2 ┆ normal ┆ 0.000141 │\n",
+ "│ uniform_2 ┆ exp ┆ -0.000131 │\n",
+ "│ uniform_2 ┆ fat_normal ┆ 0.000117 │\n",
+ "│ uniform_1 ┆ uniform_2 ┆ -0.000101 │\n",
"└───────────┴────────────┴───────────┘"
]
},
@@ -604,7 +603,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "/tmp/ipykernel_31209/3037619369.py:1: UserWarning: The following columns are dropped because they cannot be used in dependency detection: ['Monthly_Income', 'Existing_EMI', 'Interest_Rate']\n",
+ "/tmp/ipykernel_72153/3037619369.py:1: UserWarning: The following columns are dropped because they cannot be used in dependency detection: ['Monthly_Income', 'Existing_EMI', 'Interest_Rate']\n",
" dia.infer_dependency()\n"
]
},
@@ -659,7 +658,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "/home/abstractqqq/Desktop/MY/Projects/polars_ds_extension/python/polars_ds/diagnosis.py:791: UserWarning: The following columns are dropped because they cannot be used in dependency detection: ['Monthly_Income', 'Existing_EMI', 'Interest_Rate']\n",
+ "/home/abstractqqq/Desktop/MY/Projects/polars_ds_extension/python/polars_ds/diagnosis.py:790: UserWarning: The following columns are dropped because they cannot be used in dependency detection: ['Monthly_Income', 'Existing_EMI', 'Interest_Rate']\n",
" dep_frame = self.infer_dependency(subset=subset)\n"
]
},
@@ -669,241 +668,241 @@
"\n",
"\n",
- "\n",
"\n",
- "