Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/exampledata/ExampleDataHandle.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def import_data(self):
df = self._build().astype(str)
names = list(df.columns)
df.columns = range(len(names))
# Match `datahandling.DataHandle.read()`, whose rows are numbered
# from 1 -- this is also what's shown as the participant's row ID
# placeholder (manuals dialogue, results table) when no Label
# field is set, so it must agree with a real file import's index.
df.index += 1
self._imported = df
self._column_naming = dict(enumerate(names))

Expand Down
Loading