The traceCleaner class expects a Postgres table containing GPS traces. However, it then internally converts the GPS data to a pandas dataframe. It could make sense to refactor the class to allow either the passing of a Postgres table, or a correctly formatted pandas dataframe.
The traceCleaner class expects a Postgres table containing GPS traces. However, it then internally converts the GPS data to a pandas dataframe. It could make sense to refactor the class to allow either the passing of a Postgres table, or a correctly formatted pandas dataframe.