code: def _check_memory_limit(memory_limit):
      """
      Make sure memory limit is between 0 and 1.
  
      Parameters
      ----------
      memory_limit : float
          Memory limit value to be checked.
  
      Raises
      ------
      ValueError
          If `memory_limit` is not between 0 and 1 (exclusive).
      """
      if memory_limit <= 0 or memory_limit >= 1:
          raise ValueError("memory_limit: should be (0, 1)")
  
imports: import numpy
  import pandas
  import psutil
label_desc: Use image node_id 8 for calling a global function with example usage: _check_memory_limit(memory_limit) without return types