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 <jre...@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 >