diff --git a/src/metrics/scrapper.py b/src/metrics/scrapper.py index 4f7d643..b2c20eb 100644 --- a/src/metrics/scrapper.py +++ b/src/metrics/scrapper.py @@ -96,9 +96,9 @@ class Scrapper: return df def _create_pod_df(self, column_name: str, values: List) -> pd.DataFrame: - pod_df = pd.DataFrame(values, columns=['Unix Timestamp', column_name]) - pod_df['Unix Timestamp'] = pd.to_datetime(pod_df['Unix Timestamp'], unit='s') - pod_df.set_index('Unix Timestamp', inplace=True) + pod_df = pd.DataFrame(values, columns=['Time', column_name]) + pod_df['Time'] = pd.to_datetime(pod_df['Time'], unit='s') + pod_df.set_index('Time', inplace=True) return pod_df