docstr: See get_degrees
docstr_tok: ["See","get_degrees"]
code: def get_indegrees(self, col: str = "degree_in"):
      """See get_degrees"""
      g = self
      g_nodes = g.materialize_nodes()
      in_degree_df = (
          g._edges[[g._source, g._destination]]
          .groupby(g._destination)
          .agg({g._source: "count"})
          .reset_index()
          .rename(
              columns={g._source: col, g._destination: g_nodes._node}
          )
      )
      nodes_df = g_nodes._nodes[
          [c for c in g_nodes._nodes.columns if c != col]
      ].merge(in_degree_df, how="left", on=g._node)
      nodes_df[col].fillna(0, inplace=True)
      nodes_df[col] = nodes_df[col].astype("int32")
      return g.nodes(nodes_df, g_nodes._node)
  
imports: import logging, numpy, pandas
  from typing import Any, List, Union, TYPE_CHECKING
  from typing_extensions import Literal
  from graphistry.Engine import Engine, EngineAbstract
  from graphistry.Plottable import Plottable
  from graphistry.util import setup_logger
  from .chain import chain
  from .collapse import collapse_by
  from .hop import hop
  from .filter_by_dict import filter_edges_by_dict, filter_nodes_by_dict
label_desc: Use image node_id 3 for calling the ComputeMixin obj's underlying member method code with example usage: obj.get_indegrees(col) and returns: g