code: def make_array(size, dense_proportion, fill_value, dtype):
      dense_size = int(size * dense_proportion)
      arr = np.full(size, fill_value, dtype)
      indexer = np.random.choice(
          np.arange(size), dense_size, replace=False
      )
      arr[indexer] = np.random.choice(
          np.arange(100, dtype=dtype), dense_size
      )
      return arr
  
imports: import numpy
  import scipy.sparse
  import pandas
  from pandas import MultiIndex, Series, date_range
  from pandas.arrays import SparseArray
  from .pandas_vb_common import setup
label_desc: Use image node_id 1 for calling a global function with example usage: make_array(size, dense_proportion, fill_value, dtype) and returns: arr