input: Write a python function to replace None values in a list with the median of the non-None values using numpy.
  assert np.array_equal(fillWithMedian([1, None, 4, 5, None, 10]), np.array([1., 4., 4., 5., 4., 10.]))
  assert np.array_equal(fillWithMedian([None, None, 3, 7, 5, None, 2]), np.array([4., 4., 3., 7., 5., 4., 2.]))
  assert np.array_equal(fillWithMedian([1, 2, 3, None, 4]), np.array([1., 2., 3., 3., 4.]))
output: import numpy as np
  
  def fillWithMedian(lst):
      arr = np.array(lst, dtype=float)
      median = np.median(arr[~np.isnan(arr)])
      arr[np.isnan(arr)] = median
      return arr