Skip to content
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

In Bubble Chart, avoid X Axis, Y Axis duplicate name, caused ValueErr… #3907

Closed
wants to merge 1 commit into from

Conversation

zhaoyongjie
Copy link
Member

screen shot 2017-11-20 at 1 09 21 pm

df['x'] = df[[self.x_metric]]
df['y'] = df[[self.y_metric]]
df['x'] = df[[self.x_metric]].ix[:, 0]
df['y'] = df[[self.y_metric]].ix[:, 0]
Copy link
Member

Choose a reason for hiding this comment

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

I've written a fair amount of pandas and I'm unclear what this does... Should we just raise above in query_obj when self.x_metric == self.y_metric ?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the meaning.

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.

2 participants