.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_eda.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_eda.py: Exploratory analysis ==================== A first look at a dataset, all in one theme: distributions, categories, correlations, cumulative distributions and a missing-data map. .. GENERATED FROM PYTHON SOURCE LINES 8-14 .. code-block:: Python import depictr as dp wb = dp.wellbeing_survey() ld = dp.lexical_decision() .. GENERATED FROM PYTHON SOURCE LINES 15-17 Empirical cumulative distribution by group, with the legend tucked into the bottom-right the curves leave empty once they saturate. .. GENERATED FROM PYTHON SOURCE LINES 17-20 .. code-block:: Python p = dp.ecdf_plot(ld, "RT", group="condition", legend_inside=True) p .. image-sg:: /auto_examples/images/sphx_glr_plot_eda_001.png :alt: plot eda :srcset: /auto_examples/images/sphx_glr_plot_eda_001.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 21-22 A dodged categorical comparison. .. GENERATED FROM PYTHON SOURCE LINES 22-25 .. code-block:: Python p = dp.explore_categorical(wb, "education", group="region") p .. image-sg:: /auto_examples/images/sphx_glr_plot_eda_002.png :alt: plot eda :srcset: /auto_examples/images/sphx_glr_plot_eda_002.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 26-27 A correlation heatmap of the numeric columns. .. GENERATED FROM PYTHON SOURCE LINES 27-30 .. code-block:: Python p = dp.correlation_heatmap(wb) p .. image-sg:: /auto_examples/images/sphx_glr_plot_eda_003.png :alt: plot eda :srcset: /auto_examples/images/sphx_glr_plot_eda_003.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 31-32 A raincloud: density, box and raw points together. .. GENERATED FROM PYTHON SOURCE LINES 32-35 .. code-block:: Python p = dp.raincloud_plot(ld, "RT", group="condition") p .. image-sg:: /auto_examples/images/sphx_glr_plot_eda_004.png :alt: plot eda :srcset: /auto_examples/images/sphx_glr_plot_eda_004.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 36-38 A missing-data map; columns are ordered most- to least-missing, so the legend sits inside the top-right over the most-complete columns. .. GENERATED FROM PYTHON SOURCE LINES 38-40 .. code-block:: Python p = dp.missingness_map(wb, legend_inside=True) p .. image-sg:: /auto_examples/images/sphx_glr_plot_eda_005.png :alt: plot eda :srcset: /auto_examples/images/sphx_glr_plot_eda_005.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.931 seconds) .. _sphx_glr_download_auto_examples_plot_eda.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_eda.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_eda.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_eda.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_