code: def impute_dataframe_zero(df_impute):
      
  
      df_impute.replace([np.PINF, np.NINF], 0, inplace=True)
      df_impute.fillna(0, inplace=True)
  
      # Ensure a type of "np.float64"
      df_impute.astype(np.float64, copy=False)
      return df_impute
docs: Replaces all ``NaNs``, ``-infs`` and ``+infs`` from the DataFrame `df_impute` with 0s.
      The `df_impute` will be modified in place. All its columns will be into converted into dtype ``np.float64``.
  
      :param df_impute: DataFrame to impute
      :type df_impute: pandas.DataFrame
  
      :return df_impute: imputed DataFrame
      :rtype df_impute: pandas.DataFrame