diff --git a/ckanext/charts/fetchers.py b/ckanext/charts/fetchers.py index 3f0bb93..5ea8ba0 100644 --- a/ckanext/charts/fetchers.py +++ b/ckanext/charts/fetchers.py @@ -71,7 +71,7 @@ def fetch_data(self) -> pd.DataFrame: .select_from(sa.table(self.resource_id)) .limit(self.limit), get_read_engine(), - ).drop(columns=["_id", "_full_text"]) + ).drop(columns=["_id", "_full_text"], errors='ignore') if "date_time" in df.columns: try: