docstr: Gives the number of activate grid cells in each column.
  
  Returns
  -------
  np.ndarray of shape (n+1,)
      The number of active grid cells in each column.
docstr_tok: ["Gives","the","number","of","activate","grid","cells","in","each","column",".","Returns","--","--","--","-","np.ndarray","of","shape","(","n+1",",",")","The","number","of","active","grid","cells","in","each","column","."]
code: def column_lengths(self) -> np.ndarray:
      """Gives the number of activate grid cells in each column.
  
      Returns
      -------
      np.ndarray of shape (n+1,)
          The number of active grid cells in each column.
      """
  
      return np.array(
          self.column_length(i) for i in range(0, self.n + 1)
      )
  
imports: import array
  from abc import ABC, abstractmethod
  from math import atan, tan
  from typing import Tuple
  import numpy
  from darts.logging import raise_if, raise_if_not
label_desc: Use image node_id 6 for calling the Window obj's underlying member method code with example usage: obj.column_lengths() and returns: np