Created
May 20, 2020 13:53
-
-
Save jamespaultg/6f27b2ecc632cb41e483a1ada3a3832f to your computer and use it in GitHub Desktop.
iterrows to process each row of the dataframe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # iterrows functionality for quick reference | |
| for index, row in document.iterrows(): | |
| print(index, row['section name'], len(row['tekst']), len(row['sentence_list'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment