code: def get_var_properties(self):
          
          from spyder_kernels.utils.nsview import get_remote_data
  
          settings = self.namespace_view_settings
          if settings:
              ns = self._get_current_namespace()
              data = get_remote_data(ns, settings, mode='editable',
                                     more_excluded_names=EXCLUDED_NAMES)
  
              properties = {}
              for name, value in list(data.items()):
                  properties[name] = {
                      'is_list':  isinstance(value, (tuple, list)),
                      'is_dict':  isinstance(value, dict),
                      'is_set': isinstance(value, set),
                      'len': self._get_len(value),
                      'is_array': self._is_array(value),
                      'is_image': self._is_image(value),
                      'is_data_frame': self._is_data_frame(value),
                      'is_series': self._is_series(value),
                      'array_shape': self._get_array_shape(value),
                      'array_ndim': self._get_array_ndim(value)
                  }
  
              return repr(properties)
          else:
              return repr(None)
docs: Get some properties of the variables in the current
          namespace