[
https://issues.apache.org/jira/browse/TOREE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yasuhiro Onogi updated TOREE-370:
---------------------------------
Description:
On jupyter notebook, 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.
was:
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.
> 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
>
> On jupyter notebook, 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)