mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-02 08:10:53 +08:00
dafe49fcca
- Fixes a warning on indexing with a float that ultimately came from pd.Timedelta.total_seconds(). Adds ``timedelta_to_integral_seconds`` and ``timedelta_to_integral_minutes()`` functions and replaces various usages of ``int(delta.total_seconds())`` with them. - Fixes a warnings triggered in ``_create_daily_stats`` from passing tz-aware datetimes to np.datetime64.