weather-pydash/data-view.py

8 lines
222 B
Python
Raw Normal View History

import pandas as pd
from datetime import datetime
2025-01-11 15:44:54 -07:00
sensors_dict = pd.read_pickle("saved_sensors_dict.pkl")
sensors_df = pd.DataFrame(sensors_dict)
sensors_df.T.to_csv("sensors_df.csv")
print(datetime.now().strftime("%s"))