code: def test_degrees_in(self):
      cg = CGFull()
      g = cg.edges(
          pd.DataFrame({"s": ["a", "b", "c"], "d": ["b", "a", "d"]}),
          "s",
          "d",
      )
      g2 = g.get_indegrees()
      assert g2._nodes.to_dict(orient="records") == [
          {"id": "a", "degree_in": 1},
          {"id": "b", "degree_in": 1},
          {"id": "c", "degree_in": 0},
          {"id": "d", "degree_in": 1},
      ]
      assert g2._node == "id"
  
imports: import os, pandas, pytest, unittest
  from graphistry.compute import ComputeMixin
  from graphistry.plotter import PlotterBase
  from graphistry.tests.common import NoAuthTestCase
label_desc: Use image node_id 4 for calling the TestComputeMixin obj's underlying member method code with example usage: obj.test_degrees_in() without return types