memoryfm.ScrobbleLog.filter_by_date#

ScrobbleLog.filter_by_date(start=None, end=None, unit=None, include_end=True)#

Create a ScrobbleLog filtered by date.

Parameters:
startstr, pd.Timestamp, datetime.datetime, default None.

Start date for filtering the ScrobbleLog.

endstr, pd.Timestamp, datetime.datetime, default None.

End date for filtering the ScrobbleLog.

unitstr, default None

The unit to use for reading the start and end dates.

include_endbool, default True

If True, the end date scrobbles will be included in the filtered ScrobbleLog.

Returns:
ScrobbleLog

Returns the filtered ScrobbleLog.