class_docstr: Everything here has a bad docstring
class_docstr_tok: ["Everything","here","has","a","bad","docstring"]
docstr: A sample DataFrame method.
  
  Should not import numpy and pandas.
  
  Examples
  --------
  >>> import numpy as np
  >>> import pandas as pd
  >>> df = pd.DataFrame(np.ones((3, 3)),
  ...                   columns=('a', 'b', 'c'))
  >>> df.all(1)
  0    True
  1    True
  2    True
  dtype: bool
  >>> df.all(bool_only=True)
  Series([], dtype: bool)
docstr_tok: ["A","sample","DataFrame","method",".","Should","not","import","numpy","and","pandas",".","Examples","--","--","--","--",">",">",">","import","numpy","as","np",">",">",">","import","pandas","as","pd",">",">",">","df","=","pd.DataFrame","(","np.ones","(","(","3",",","3",")",")",",","...","columns=","(","'","a","'",",","'","b","'",",","'","c","'",")",")",">",">",">","df.all","(","1",")","0","True","1","True","2","True","dtype",":","bool",">",">",">","df.all","(","bool_only=True",")","Series","(","[","]",",","dtype",":","bool",")"]
code: def redundant_import(self, paramx=None, paramy=None) -> None:
      """
      A sample DataFrame method.
  
      Should not import numpy and pandas.
  
      Examples
      --------
      >>> import numpy as np
      >>> import pandas as pd
      >>> df = pd.DataFrame(np.ones((3, 3)),
      ...                   columns=('a', 'b', 'c'))
      >>> df.all(1)
      0    True
      1    True
      2    True
      dtype: bool
      >>> df.all(bool_only=True)
      Series([], dtype: bool)
      """
  
imports: import io
  import textwrap
  import pytest
  from scripts import validate_docstrings
label_desc: Use image node_id 3 for calling the BadDocstrings obj's underlying member method code with example usage: obj.redundant_import(paramx, paramy) without return types