Re: na.fill doesn't work

2016-08-11 Thread Javier Rey
Thanks Assem I'll check this. Samir On Aug 11, 2016 4:39 AM, "Aseem Bansal" 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 wrote: > >> Hi everybody, >> >>

Re: na.fill doesn't work

2016-08-11 Thread Aseem Bansal
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 wrote: > Hi everybody, > > I have a data frame after many transformation, my final task is fill na's > with zeros, but I run

na.fill doesn't work

2016-08-10 Thread Javier Rey
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 advanc