Skip to content

Error in documentation example #201

@kautukraj

Description

@kautukraj

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions