Skip to content

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