Skip to content

Commit

Permalink
Merge pull request #16 from DataShades/LLCAXCHZF-61-fix-drop-metadata…
Browse files Browse the repository at this point in the history
…-columns

LLCAXCHZF-61
  • Loading branch information
TomeCirun authored Oct 18, 2024
2 parents 35cce02 + 833ed81 commit b2dc28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/charts/fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b2dc28a

Please sign in to comment.