From 37902f96d616988ea2cde4b711069bd3b8a97420 Mon Sep 17 00:00:00 2001 From: itholic Date: Wed, 6 Nov 2019 14:22:25 +0900 Subject: [PATCH] fix failure --- databricks/koalas/frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databricks/koalas/frame.py b/databricks/koalas/frame.py index 03a1db5ebc..54e0d87670 100644 --- a/databricks/koalas/frame.py +++ b/databricks/koalas/frame.py @@ -7540,10 +7540,10 @@ def quantile(self, q=0.5, axis=0, numeric_only=True, accuracy=10000): # +---------+---------+ cols_dict = OrderedDict() - for column in self.columns: + for column in self._internal.data_columns: cols_dict[column] = list() for i in range(len(quantiles)): - cols_dict[column].append(self._internal.scol_for(column).getItem(i).alias(column)) + cols_dict[column].append(F.col(column).getItem(i).alias(column)) internal_index_column = SPARK_INDEX_NAME_FORMAT(0) cols = []