Skip to content

Commit ce12519

Browse files
author
Michael Erickson
committed
Altered implementation to return altered table
1 parent bae9399 commit ce12519

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

swat/cas/table.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5998,7 +5998,8 @@ def rename(self, columns, errors='ignore', inplace=True, **kwargs):
59985998
raise TypeError("Columns must be a dict or function")
59995999

60006000
#Use list of dicts to rename using alterTable action
6001-
return self._retrieve('alterTable', columns=alterTable)
6001+
self._invoke('alterTable', columns=alterTable)
6002+
return self
60026003

60036004
def reset_index(self, level=None, drop=False, inplace=False,
60046005
col_level=0, col_fill='', **kwargs):

0 commit comments

Comments
 (0)