code: def test_distance_external_df():
      data_path = os.path.join(this_dir, "data", "1b5e_1.mol2")
  
      pdmol = PandasMol2().read_mol2(data_path)
      new_df = pdmol.df.iloc[1:, :].copy()
      assert (
          round(PandasMol2.distance_df(df=new_df).values[0], 3)
          == 31.165
      )
  
file_path: biopandas/biopandas/mol2/tests/test_pandas_mol2.py
imports: import os
  from biopandas.mol2 import PandasMol2
  from biopandas.mol2.mol2_io import split_multimol2
  from biopandas.testutils import assert_raises
label_desc: Use image node_id 5 for calling a global function with example usage: test_distance_external_df() without return types