databricks/koalas

lambda row scrambles results without index

oinbar opened this issue · 1 comments

running

df[new_col] = df.apply(lambda row: func(row) where func depends on logic between other columns returns scrambled results in new_col, unless you hit df.reset_index() first. Same code works as expected in pandas.

Could you show me the code example if possible so that I can reproduce and investigate ??