some of the names of the returned dataframe for the function result = pg.ttest(data) are unfortunately named, since it does not comply with the naming conventions for variables.
As a result, some parameters can be read out with e.g.
result.dof
while those with the non-compliant names can only be accessed with square brackets:
result['p-value']
It would be highly desirable to have names that comply with the Python conventions and requirements for variable names.
some of the names of the returned dataframe for the function
result = pg.ttest(data)are unfortunately named, since it does not comply with the naming conventions for variables.As a result, some parameters can be read out with e.g.
result.dofwhile those with the non-compliant names can only be accessed with square brackets:
result['p-value']It would be highly desirable to have names that comply with the Python conventions and requirements for variable names.