You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Yasuhiro Onogi (JIRA)" <ji...@apache.org> on 2017/02/02 01:11:51 UTC
[jira] [Created] (TOREE-370) dataframe select doesn't work with
symbol and col() on jupyter notebook
Yasuhiro Onogi created TOREE-370:
------------------------------------
Summary: dataframe select doesn't work with symbol and col() on jupyter notebook
Key: TOREE-370
URL: https://issues.apache.org/jira/browse/TOREE-370
Project: TOREE
Issue Type: Bug
Affects Versions: 0.1.0
Environment: Apache spark 2.1.0, scala 2.11.8, jupyter 4.2.0, jupyter notebook 4.2.3
Reporter: Yasuhiro Onogi
DataFrame's method "select" doesn't work with symbol and col() on jupyter notebook to select the columns of a dataframe.
For example, (df is the variable for a DataFrame instance and c1 is the column name in df.)
df.select(df["c1"])
works, while
df.select('c1)
df.select(col("c1"))
doesn't work.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)