We're updating the issue view to help you get more done. 

Update table views via python client

Description

The code I used to try and update the table view:
import pandas as pd
bar = syn.tableQuery("select foo from syn8001121")
df = bar.asDataFrame()
In [10]: df
Out[10]:
foo
7118159_1 NaN
7118160_1 NaN
7118161_1 NaN
7118162_1 NaN
7774921_1 NaN
7992366_3 bar

In [11]: df.ix[0,0] = 'whatever'

In [17]: syn.store(synapseclient.Table(bar.tableId, df))
Uploading [####################]100.00% 100.0bytes/100.0bytes (82.7bytes/s) table.csv Done...

But then it throws the error:
SynapseHTTPError: 400 Client Error: Bad Request
Expected response to be of type org.sagebionetworks.repo.model.table.UploadToTableResult

Environment

Status

Assignee

Kenneth Daily

Reporter

Yooree Chae

Validator

Yooree Chae

Fix versions

Priority

Major