docs: def distance(self, xyz=(0.00, 0.00, 0.00), records=('ATOM', 'HETATM')):
          """Computes Euclidean distance between atoms and a 3D point.
  
          Parameters
          ----------
          xyz : tuple, default: (0.00, 0.00, 0.00)
              X, Y, and Z coordinate of the reference center for the distance
              computation.
          records : iterable, default: ('ATOM', 'HETATM')
              Specify which record sections to consider. For example, to consider
              both protein and ligand atoms, set `records=('ATOM', 'HETATM')`.
              This setting is ignored if `df` is not set to None.
              For downward compatibility, a string argument is still supported
              but deprecated and will be removed in future versions.
  
          Returns
          ---------
          pandas.Series : Pandas Series object containing the Euclidean
              distance between the atoms in the record section and `xyz`.
  
          """
  
          if isinstance(records, str):
              warnings.warn('Using a string as `records` argument is '
                            'deprecated and will not be supported in future'
                            ' versions. Please use a tuple or'
                            ' other iterable instead', DeprecationWarning)
              records = (records,)
  
          df = pd.concat(objs=[self.df[i] for i in records])
  
          return np.sqrt(np.sum(df[[
              'x_coord', 'y_coord', 'z_coord']]
              .subtract(xyz, axis=1)**2, axis=1))