comparing both functions to fill with 0's the dataframe