.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "checks_gallery/tabular/data_integrity/plot_special_chars.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_data_integrity_plot_special_chars.py: .. _plot_tabular_special_chars: Special Characters ****************** .. GENERATED FROM PYTHON SOURCE LINES 10-15 .. code-block:: default import pandas as pd from deepchecks.tabular.checks import SpecialCharacters .. GENERATED FROM PYTHON SOURCE LINES 16-36 .. code-block:: default data = {'col1': [' ', '!', '"', '#', '$', '%', '&', '\'','(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', ']', '\\', '^', '_', '`', '{', '}', '|', '~', '\n'], 'col2':['v', 'v', 'v', 'v4', 'v5', 'v6', 'v7', 'v8','v9','v10', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', ']', '\\', '^', '_', '`', '{', '}', '|', '~', '\n'], 'col3': [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,11,1,'???#',1,1,1,1,1,1,1,1,1,1,1], 'col4': [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,1,1,1,1,1], 'col5': ['valid1','valid2','valid3','valid4','valid5','valid6','valid7', 'valid8','valid9','valid10','valid11','valid12', 'valid13','valid14','inval!d15','valid16','valid17','valid18', 'valid19','valid20','valid21','valid22','valid23','valid24','valid25', 'valid26', 'valid27','valid28','valid29','valid30','valid31','32','33','34']} dataframe = pd.DataFrame(data=data) SpecialCharacters().run(dataframe) .. raw:: html
Special Characters


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