code: def test_conditional_probs(self):
      g = (
          graphistry.bind(source=src, destination=dst)
          .edges(edf)
          .nodes(edf, src)
      )
      for kind in ["nodes", "edges"]:
          for how in ["index", "columns"]:
              df = g.conditional_probs(src, dst, kind=kind, how=how)
              assert len(df) > 0, "no probabilities"
              assert all(
                  df.sum() > 0
              ), "probabilities need to be non-zero"
  
file_path: pygraphistry/graphistry/tests/test_conditional.py
imports: import unittest
  import pytest
  import graphistry
  import pandas
  import logging
label_desc: Use image node_id 2 for calling the TestConditional obj's underlying member method code with example usage: obj.test_conditional_probs() without return types