class_docstr: Select named columns from a record array or MetaArray.
class_docstr_tok: ["Select","named","columns","from","a","record","array","or","MetaArray","."]
code: def process(self, In, display=True):
      if display:
          self.updateList(In)
  
      out = {}
      if hasattr(In, "implements") and In.implements("MetaArray"):
          for c in self.columns:
              out[c] = In[self.axis : c]
      elif isinstance(In, np.ndarray) and In.dtype.fields is not None:
          for c in self.columns:
              out[c] = In[c]
      else:
          self.In.setValueAcceptable(False)
          raise Exception(
              "Input must be MetaArray or ndarray with named fields"
          )
  
      return out
  
imports: import numpy
  from ...graphicsItems.LinearRegionItem import LinearRegionItem
  from ...Qt import QtCore, QtWidgets
  from ...widgets.TreeWidget import TreeWidget
  from ..Node import Node
  from .None import functions
  from .common import CtrlNode
label_desc: Use image node_id 2 for calling the ColumnSelectNode obj's underlying member method code with example usage: obj.process(In, display) and returns: out