Skip to content

Commit

Permalink
fix kdf using copy
Browse files Browse the repository at this point in the history
  • Loading branch information
itholic committed Oct 12, 2019
1 parent ddf9061 commit 4d35bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricks/koalas/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def __setitem__(self, key, value):
if isinstance(rows_sel, list):
if isinstance(cols_sel, str):
cols_sel = [cols_sel]
kdf = self._kdf
kdf = self._kdf.copy()
for col_sel in cols_sel:
# Uses `kdf` to allow operations on different DataFrames.
# TODO: avoid temp column name or declare `__` prefix is
Expand Down

0 comments on commit 4d35bb8

Please sign in to comment.