class_docstr: Data set for checking a special function.
  
  Parameters
  ----------
  func : function
      Function to test
  data : numpy array
      columnar data to use for testing
  param_columns : int or tuple of ints
      Columns indices in which the parameters to `func` lie.
      Can be imaginary integers to indicate that the parameter
      should be cast to complex.
  result_columns : int or tuple of ints, optional
      Column indices for expected results from `func`.
  result_func : callable, optional
      Function to call to obtain results.
  rtol : float, optional
      Required relative tolerance. Default is 5*eps.
  atol : float, optional
      Required absolute tolerance. Default is 5*tiny.
  param_filter : function, or tuple of functions/Nones, optional
      Filter functions to exclude some parameter ranges.
      If omitted, no filtering is done.
  knownfailure : str, optional
      Known failure error message to raise when the test is run.
      If omitted, no exception is raised.
  nan_ok : bool, optional
      If nan is always an accepted result.
  vectorized : bool, optional
      Whether all functions passed in are vectorized.
  ignore_inf_sign : bool, optional
      Whether to ignore signs of infinities.
      (Doesn't matter for complex-valued functions.)
  distinguish_nan_and_inf : bool, optional
      If True, treat numbers which contain nans or infs as as
      equal. Sets ignore_inf_sign to be True.
class_docstr_tok: ["Data","set","for","checking","a","special","function",".","Parameters","--","--","--","--","--","func",":","function","Function","to","test","data",":","numpy","array","columnar","data","to","use","for","testing","param_columns",":","int","or","tuple","of","ints","Columns","indices","in","which","the","parameters","to","`","func","`","lie",".","Can","be","imaginary","integers","to","indicate","that","the","parameter","should","be","cast","to","complex",".","result_columns",":","int","or","tuple","of","ints",",","optional","Column","indices","for","expected","results","from","`","func","`",".","result_func",":","callable",",","optional","Function","to","call","to","obtain","results",".","rtol",":","float",",","optional","Required","relative","tolerance",".","Default","is","5","*","eps",".","atol",":","float",",","optional","Required","absolute","tolerance",".","Default","is","5","*","tiny",".","param_filter",":","function",",","or","tuple","of","functions\/Nones",",","optional","Filter","functions","to","exclude","some","parameter","ranges",".","If","omitted",",","no","filtering","is","done",".","knownfailure",":","str",",","optional","Known","failure","error","message","to","raise","when","the","test","is","run",".","If","omitted",",","no","exception","is","raised",".","nan_ok",":","bool",",","optional","If","nan","is","always","an","accepted","result",".","vectorized",":","bool",",","optional","Whether","all","functions","passed","in","are","vectorized",".","ignore_inf_sign",":","bool",",","optional","Whether","to","ignore","signs","of","infinities",".","(","Does","n't","matter","for","complex-valued","functions",".",")","distinguish_nan_and_inf",":","bool",",","optional","If","True",",","treat","numbers","which","contain","nans","or","infs","as","as","equal",".","Sets","ignore_inf_sign","to","be","True","."]
docstr: Pretty-printing, esp. for Nose output
docstr_tok: ["Pretty-printing",",","esp",".","for","Nose","output"]
code: def __repr__(self):
      """Pretty-printing, esp. for Nose output"""
      if np.any(list(map(np.iscomplexobj, self.param_columns))):
          is_complex = " (complex)"
      else:
          is_complex = ""
      if self.dataname:
          return "<Data for %s%s: %s>" % (
              self.func.__name__,
              is_complex,
              os.path.basename(self.dataname),
          )
      else:
          return "<Data for %s%s>" % (self.func.__name__, is_complex)
  
file_path: catboost/contrib/python/scipy/py3/scipy/special/_testutils.py
imports: import os
  import functools
  import operator
  from distutils.version import LooseVersion
  import numpy
  from numpy.testing import assert_
  import pytest
  import scipy.special
label_desc: Use image node_id 4 for calling the FuncData obj's underlying member method code with example usage: obj.__repr__() and returns: unknown, unknown