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

Error in documentation example #201

Open
kautukraj opened this issue Oct 4, 2023 · 0 comments
Open

Error in documentation example #201

kautukraj opened this issue Oct 4, 2023 · 0 comments

Comments

@kautukraj
Copy link

In the documentation found here, the line print row_set.sample.next() throws an error.

This is due to a syntax change for iterators in Python 3.x. See this question for more details.

The documentation can be changed to row_set.sample.__next__() or next(row_set.sample).

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

No branches or pull requests

1 participant