Data Exploration¶
-
class
py_entitymatching.
data_explore_openrefine
(df, server='http://127.0.0.1:3333', name=None)[source]¶ Wrapper function for using OpenRefine. Gives user a GUI to examine and edit the dataframe passed in using OpenRefine.
- Parameters
df (Dataframe) – The pandas dataframe to be explored with pandastable.
server (String) – The address of the OpenRefine server (defaults to http://127.0.0.1:3333).
name (String) – The name given to the file and project in OpenRefine.
- Raises
AssertionError – If df is not of type pandas DataFrame.
Examples
>>> import py_entitymatching as em >>> A = em.read_csv_metadata('path_to_csv_dir/table.csv', key='ID') >>> em.data_explore_openrefine(A, name='Table')
-
class
py_entitymatching.
data_explore_pandastable
(df)[source]¶ Wrapper function for pandastable. Gives user a GUI to examine and edit the dataframe passed in using pandastable.
- Parameters
df (Dataframe) – The pandas dataframe to be explored with pandastable.
- Raises
AssertionError – If df is not of type pandas DataFrame.
Examples
>>> import py_entitymatching as em >>> A = em.read_csv_metadata('path_to_csv_dir/table.csv', key='ID') >>> em.data_explore_pandastable(A)