Python Dataframe Object Has No Attribute Get Serializer