Skip to content

Instantly share code, notes, and snippets.

@jamespaultg
Created May 20, 2020 13:53
Show Gist options
  • Save jamespaultg/6f27b2ecc632cb41e483a1ada3a3832f to your computer and use it in GitHub Desktop.
Save jamespaultg/6f27b2ecc632cb41e483a1ada3a3832f to your computer and use it in GitHub Desktop.
iterrows to process each row of the dataframe
# 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