ScrobbleLog#
Constructor#
|
Class representing a scrobble log, i.e. a sequence of scrobbles. |
Attributes#
DataFrame containing scrobbles, normalised with required columns and dtypes. |
A dictionary containing the following metadata: |
The username for the ScrobbleLog |
The timezone for the ScrobbleLog. |
Alternative Constructors#
|
Create a ScrobbleLog from a Scrobble. |
|
Create a ScrobbleLog from a canonical dict representation. |
Transform#
|
Append scrobble(s) to a ScrobbleLog. |
|
Convert ScrobbleLog timezone to another timezone. |
|
Canonical dict representation of the ScrobbleLog |
Indexing and Filtering#
|
Create a ScrobbleLog containing the first n scrobbles from the original. |
|
Create a ScrobbleLog containing the last n scrobbles from the original. |
|
Create a ScrobbleLog filtered by date. |
Charts and Stats#
|
Get top n tracks/artists/albums by number of scrobbles. |