Skip to content

Commit

Permalink
Merge pull request #86 from eshrh/readme_fix
Browse files Browse the repository at this point in the history
Readme fix: convert selection back to fields_as_list in example
  • Loading branch information
klieret committed Jun 19, 2021
2 parents c731da3 + b6d61ae commit 45b385b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ notes = col.notes
selection = notes[notes.has_tag(["English"])].query("model=='LanguageModel'").copy()
selection.fields_as_columns(inplace=True)
selection["language"] = "English"
col.notes.update(selection)
col.notes.update(selection.fields_as_list())
col.write(modify=True)
```

Expand Down

0 comments on commit 45b385b

Please sign in to comment.