Skip to content

Commit

Permalink
Fix all
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Aug 19, 2019
1 parent 5c065c9 commit f361f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion databricks/koalas/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ def raiseNotImplemented(description):
index_columns = self._kdf._internal.index_columns
data_columns = [column for column in sdf.columns if column not in index_columns]
internal = _InternalFrame(
sdf=sdf, data_columns=data_columns, index_map=self._kdf._internal.index_map)
sdf=sdf, data_columns=data_columns,
index_map=self._kdf._internal.index_map, column_index=column_index)
kdf = DataFrame(internal)
except AnalysisException:
raise KeyError('[{}] don\'t exist in columns'
Expand Down

0 comments on commit f361f81

Please sign in to comment.