We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code gives incorrect result (using pandas 0.11):
import pandas df = pandas.DataFrame(data={"a": [1, 2, 3], "b": [4, 5, 6]}) print df[["a", "a"]].values # works print list(df[["a", "a"]].itertuples()) # FAILS!
The last lines prints [(0, 'a', 'a'), (1, 'a', 'a')] instead of [(0, 1, 1), (1, 2, 2), (2, 3, 3)].
The text was updated successfully, but these errors were encountered:
i can repro this...prolly a bug.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following code gives incorrect result (using pandas 0.11):
The last lines prints [(0, 'a', 'a'), (1, 'a', 'a')] instead of [(0, 1, 1), (1, 2, 2), (2, 3, 3)].
The text was updated successfully, but these errors were encountered: