We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e89c32 commit 2406931Copy full SHA for 2406931
metrics/examples/coindesk/coindesk.py
@@ -64,6 +64,9 @@ def ingest() -> pd.DataFrame:
64
65
df = pd.DataFrame(all_rows)
66
67
+ # Filter out metrics that are not current hour.
68
+ df = df[df["metric_name"].str.contains("CURRENT_HOUR")]
69
+
70
# Remove duplicates based on the second-level timestamp and metric name.
71
df = df.drop_duplicates(subset=["metric_timestamp", "metric_name"])
72
logger.debug(f"df:\n{df}")
0 commit comments