memoryfm.ScrobbleLog.head#

ScrobbleLog.head(n=None)#

Create a ScrobbleLog containing the first n scrobbles from the original.

Parameters:
nint, default None

The number of Scrobbles to use in the new ScrobbleLog. If None, then the first 5 Scrobbles will be used.

Returns:
ScrobbleLog

Returns a new ScrobbleLog containing the first n scrobbles from the original.