Re: Koalas show data in IDE or pyspark

2019-05-14 Thread Reynold Xin
This has been fixed and was included in the release 0.3 last week. We will be 
making another release (0.4) in the next 24 hours to include more features also.

On Tue, Apr 30, 2019 at 12:42 AM, Manu Zhang < owenzhang1...@gmail.com > wrote:

> 
> Hi,
> 
> 
> It seems koalas.DataFrame can't be displayed in terminal yet as in https:/
> / github. com/ databricks/ koalas/ issues/ 150 (
> https://github.com/databricks/koalas/issues/150 ) and the work around is 
> to convert it to pandas DataFrame.
> 
> 
> Thanks,
> Manu Zhang
> 
> On Tue, Apr 30, 2019 at 2:46 PM Achilleus 003 < achilleus003@ gmail. com (
> achilleus...@gmail.com ) > wrote:
> 
> 
>> Hello Everyone,
>> 
>> 
>> I have been trying to run *koalas* on both pyspark and pyCharm IDE. 
>> 
>> 
>> When I run 
>> 
>> 
>> df = koalas.DataFrame({‘x’: [1, 2], ‘y’: [3, 4], ‘z’: [5, 6]})
>> 
>> df.head(5)
>> 
>> 
>> 
>> I don't get the data back instead, I get an object.
>> 
>> 
>> 
>> 
>> I thought df.head can be used to achieve this.
>> 
>> 
>> Can anyone guide me on how we can print something on the terminal?
>> Something similar to df. show ( http://df.show/ ) () in spark.
>> 
> 
>

Re: Koalas show data in IDE or pyspark

2019-04-30 Thread Manu Zhang
Hi,

It seems koalas.DataFrame can't be displayed in terminal yet as in
https://github.com/databricks/koalas/issues/150 and the work around is
to convert it to pandas DataFrame.

Thanks,
Manu Zhang

On Tue, Apr 30, 2019 at 2:46 PM Achilleus 003 
wrote:

> Hello Everyone,
>
> I have been trying to run *koalas* on both pyspark and pyCharm IDE.
>
> When I run
>
> df = koalas.DataFrame({‘x’: [1, 2], ‘y’: [3, 4], ‘z’: [5, 6]})
> df.head(5)
>
> I don't get the data back instead, I get an object.
> 
>
> I thought df.head can be used to achieve this.
>
> Can anyone guide me on how we can print something on the terminal?
> Something similar to df.show() in spark.
>
>


Koalas show data in IDE or pyspark

2019-04-30 Thread Achilleus 003
Hello Everyone,

I have been trying to run *koalas* on both pyspark and pyCharm IDE.

When I run

df = koalas.DataFrame({‘x’: [1, 2], ‘y’: [3, 4], ‘z’: [5, 6]})
df.head(5)

I don't get the data back instead, I get an object.


I thought df.head can be used to achieve this.

Can anyone guide me on how we can print something on the terminal?
Something similar to df.show() in spark.