This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch feature--embeddable-charts-pilot
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 0cbe2974721593b90af1e799cae004ee325be6b3
Author: Conglei Shi <[email protected]>
AuthorDate: Thu Nov 15 00:25:41 2018 -0800

    fix invalid name
---
 superset/common/query_context.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/common/query_context.py b/superset/common/query_context.py
index e13e263..a9a902a 100644
--- a/superset/common/query_context.py
+++ b/superset/common/query_context.py
@@ -103,7 +103,7 @@ class QueryContext:
                 data_frame[col] = pd.to_numeric(data_frame[col], 
errors='coerce')
 
     def handle_nulls(self, data_frame):
-        fillna = self.get_fillna_for_columns(df.columns)
+        fillna = self.get_fillna_for_columns(data_frame.columns)
         return data_frame.fillna(fillna)
 
     def get_fillna_for_col(self, col):

Reply via email to