code: def sparse_arrays(self, value):
          
          if not isinstance(value, bool):
              raise TypeError('sparse_arrays attribute must be a logical type.')
          self._sparse_arrays = value
docs: Validate and enable spare arrays.