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

Add method to get generator for iterating rows. #117

Merged
merged 2 commits into from Jun 4, 2015

Conversation

monokrome
Copy link
Contributor

This will return a generator providing each row in the workbook. This is useful, for instance, when using map to map a function to each row.

As a secondary note, shouldn't these comments be docstrings? It'd make this tool a lot easier to use from the shell.

@monokrome monokrome changed the title Add method to get iterator of rows. Add method to get generator for iterating rows. Sep 15, 2014
@monokrome monokrome closed this Sep 15, 2014
@monokrome monokrome reopened this Sep 15, 2014
@loamhoof
Copy link

loamhoof commented Jun 4, 2015

Any chance to see this merged at some point? It's simple enough and remove the need to use an ugly range.
Though @monokrome, I would rename get_rows to rows to match the naming of the rest of the API.

cjw296 added a commit that referenced this pull request Jun 4, 2015
Add method to get generator for iterating rows.
@cjw296 cjw296 merged commit 97840d9 into python-excel:master Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants