Skip to content

Fix pandas serialization #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 15, 2014
Merged

Fix pandas serialization #149

merged 7 commits into from
Nov 15, 2014

Conversation

chriddyp
Copy link
Member

`to_json` was actually used by pandas, and was called by our json encoder before the correct pandas series json encoder was called
@@ -35,7 +35,7 @@ def __str__(self):
def __repr__(self):
return 'Column("{}", {})'.format(self.data, self.name)

def to_json(self):
def to_plotly_json(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah! :)

@theengineear
Copy link
Contributor

💃 once things are sorted out, hehe.

@etpinard
Copy link
Contributor

Yeah man

chriddyp added a commit that referenced this pull request Nov 15, 2014
@chriddyp chriddyp merged commit 31d55dc into master Nov 15, 2014
@chriddyp chriddyp deleted the fix-pandas-serialization branch November 15, 2014 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants