ValueError: cannot insert ROW_ID, already exists in CsvTableFile constructor

Description

When we pass a data frame into the constructor for CsvTableFile, it tries to convert row labels of the form "[ROW_ID]_[ROW_VERSION]" back to separate columns for row id and version. This breaks if those columns already exist:

Environment

None

Activity

Show:
Kenneth Daily
June 2, 2017, 9:13 PM

downloaded table (syn.tableQuery), read with 'pandas.read_csv'; changed a value, and 'syn.store' - works as advertised.

Fixed

Assignee

Ziming Dong

Reporter

Chris Bare

Labels

None

Validator

Kenneth Daily

Development Area

None

Release Version History

None

Slack Channel

None

Components

Fix versions

Affects versions

Priority

Major