memoryfm.ScrobbleLog.from_dict#

classmethod ScrobbleLog.from_dict(data, orient='records')#

Create a ScrobbleLog from a canonical dict representation.

Parameters:
datadict

Dictionary containing a canonical representation of a ScrobbleLog.

orientstr, default “records”

Orientation to use for converting scrobbles from dict to ScrobbleLog DataFrame.

Returns:
ScrobbleLog

Returns a ScrobbleLog from a canonical dict representation.