diff --git a/src/datastore.py b/src/datastore.py index 52ae65a..d0b8c05 100644 --- a/src/datastore.py +++ b/src/datastore.py @@ -11,7 +11,7 @@ @dataclass class Store: - df: pd.DataFrame = pd.DataFrame() + df: pd.DataFrame = field(default_factory=pd.DataFrame) daily_data: list[tuple[str, str]] = field(default_factory=list) current_date: datetime.date = datetime.date.today() # dict with key: (year, month) and value: (hash(raw_data), pd.DataFrame)