.. _f-datahelper: module ``datainc.data_helper`` ============================== Short summary +++++++++++++ module ``ensae_projects.datainc.data_helper`` Simple functions to process text files. :githublink:`%|py|5` Functions +++++++++ +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +====================================================================================================+========================================================================================================================+ | :func:`change_encoding ` | Changes the encoding of a text file and removes quotes. By default *process* is :func:`process_line`. | +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`change_encoding_improve ` | Changes the encoding of a text file, removes quotes. By default *process* is :func:`process_line` but the function ... | +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`clean_column_name_sql_dump ` | Removes quotes in a line which looks like: | +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`convert_dates ` | Converts a string into a date. | +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`enumerate_text_lines ` | Enumerates all lines from a text file and does some cleaning (see the list of parameters). | +----------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: ensae_projects.datainc.data_helper :members: :special-members: __init__ :show-inheritance: