Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
from synapseclient import Table

foo = syn.tableQuery('select * from syn456')

bar = foo.asDataFrame()

# add in annotation as a column
bar['dogSays'] = 'woof'

# store the fileview with the new annotation in Synapse
fv = syn.store(synapseclient.Table(foo.tableId, bar))

Versioning a View

You can create a version history for any View in Synapse. Versioning helps you keep a record of what changes you made to the View and when you made them. For more information on versioning a View, see the Versioning Tables and Views page.

See Also

Annotations and QueriesTablesWikis

...