spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin" <r...@databricks.com>
Subject Re: Koalas show data in IDE or pyspark
Date Wed, 15 May 2019 02:01:02 GMT
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 < owenzhang1990@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 (
> achilleus003@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.
>> <databricks.koalas.frame.DataFrame object at 0x11bc41438>
>> 
>> 
>> 
>> 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.
>> 
> 
>
Mime
View raw message