spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Rey <jre...@gmail.com>
Subject Re: na.fill doesn't work
Date Thu, 11 Aug 2016 14:13:52 GMT
Thanks Assem I'll check this.

Samir

On Aug 11, 2016 4:39 AM, "Aseem Bansal" <asmbansal2@gmail.com> wrote:

> Check the schema of the data frame. It may be that your columns are
> String. You are trying to give default for numerical data.
>
> On Thu, Aug 11, 2016 at 6:28 AM, Javier Rey <jreyro@gmail.com> wrote:
>
>> Hi everybody,
>>
>> I have a data frame after many transformation, my final task is fill na's
>> with zeros, but I run this command : df_fil1 = df_fil.na.fill(0), but this
>> command doesn't work nulls doesn't disappear.
>>
>> I did a toy test it works correctly.
>>
>> I don't understand what happend.
>>
>> Thanks in advance.
>>
>> Samir
>>
>
>

Mime
View raw message