The select method does not handle identical column names being passed as arguments.
For example:
>>> df = DataFrame('table1') >>> df.select(['col1', 'col1'])
To work around, use the assign method to provide an alias.
# c1 and c2 both refer to the col1 column >>> df.assign(c1 = df.col1, c2 = df.col1)