Skip to content

Commit

Permalink
Fix format of column names
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Jun 22, 2018
1 parent 6bba5b8 commit 09e49e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loren_frank_data_processing/multiunit.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_multiunit_dataframe2(tetrode_key, animals):
time = pd.TimedeltaIndex(multiunit_data['times'][0, 0].squeeze(),
unit='s', name='time')
multiunit = multiunit_data['marks'][0, 0].astype(np.float)
column_names = ['channel_{number + 1}_max'.format(number=number)
column_names = ['channel_{number}_max'.format(number=number + 1)
for number in np.arange(multiunit.shape[1])]
return pd.DataFrame(multiunit, columns=column_names, index=time)
except (FileNotFoundError, TypeError):
Expand Down

0 comments on commit 09e49e8

Please sign in to comment.