.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "checks_gallery/tabular/integrity/plot_mixed_nulls.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_checks_gallery_tabular_integrity_plot_mixed_nulls.py: Mixed Nulls *********** .. GENERATED FROM PYTHON SOURCE LINES 8-13 .. code-block:: default import pandas as pd from deepchecks.tabular.checks import MixedNulls .. GENERATED FROM PYTHON SOURCE LINES 14-19 .. code-block:: default data = {'col1': ['sog', '1', 'cat', None, None]} dataframe = pd.DataFrame(data=data) MixedNulls().run(dataframe) .. raw:: html

Mixed Nulls

Search for various types of null values, including string representations of null.

Additional Outputs

Nothing to display



.. GENERATED FROM PYTHON SOURCE LINES 20-24 .. code-block:: default data = {'col1': ['nan', None, 'null', 'Nan', '1', 'cat'], 'col2':['', '', 'None', 'a', 'b', 'c'], 'col3': [1,2,3,4,5,6]} dataframe = pd.DataFrame(data=data) MixedNulls().run(dataframe) .. raw:: html

Mixed Nulls

Search for various types of null values, including string representations of null.

Additional Outputs
* showing only the top 10 columns, you can change it using n_top_columns param
    Count Percent of data
Column Name Value    
col1 nan 1 16.67%
nan 1 16.67%
null 1 16.67%
Nan 1 16.67%
col2 2 33.33%
None 1 16.67%


.. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.015 seconds) .. _sphx_glr_download_checks_gallery_tabular_integrity_plot_mixed_nulls.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_mixed_nulls.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_mixed_nulls.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_