You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe there are some inspirations for how this should work to be found in pandas (maybe grep @property and/or lru_cache).
And we need to check if we can guarantee that we are creating new BDF objects with every operation that expands or reduces the number of rows. It looks likely, even append_from_time_series returns a new BDF object. Or alternatively, invalidate all caches in other cases.
The text was updated successfully, but these errors were encountered:
There are some properties on BeliefsDataFrame which seem to be re-computed every time they are accessed (example below).
Would it be a good idea to cache them?
Maybe there are some inspirations for how this should work to be found in pandas (maybe grep
@property
and/orlru_cache
).And we need to check if we can guarantee that we are creating new BDF objects with every operation that expands or reduces the number of rows. It looks likely, even
append_from_time_series
returns a new BDF object. Or alternatively, invalidate all caches in other cases.The text was updated successfully, but these errors were encountered: