Okay then its probably due to those None values in your dataframe. I think it is similar to this thread.