class_docstr: Base class for all test results.
class_docstr_tok: ["Base","class","for","all","test","results","."]
docstr: Returns the degree(s) of freedom of the hypothesis test.
  Return type should be Number(e.g. Int, Double) or tuples of Numbers.
docstr_tok: ["Returns","the","degree","(","s",")","of","freedom","of","the","hypothesis","test",".","Return","type","should","be","Number","(","e.g",".","Int",",","Double",")","or","tuples","of","Numbers","."]
code: def degreesOfFreedom(self) -> DF:
      """
      Returns the degree(s) of freedom of the hypothesis test.
      Return type should be Number(e.g. Int, Double) or tuples of Numbers.
      """
      return self._java_model.degreesOfFreedom()
  
file_path: spark/python/pyspark/mllib/stat/test.py
imports: from typing import Generic, Tuple, TypeVar
  from pyspark.mllib.common import inherit_doc, JavaModelWrapper
label_desc: Use image node_id 2 for calling the TestResult obj's underlying member method code with example usage: obj.degreesOfFreedom() and returns: self