normaltest¶
In [ ]:
normaltest(vdf: vDataFrame,
column: str)
Tests whether a sample differs from a normal distribution.
Parameters¶
| Name | Type | Optional | Description |
|---|---|---|---|
vdf | vDataFrame | ❌ | input vDataFrame. |
column | str | ❌ | Input vcolumn to test. |
Returns¶
tablesample : An object containing the result. For more information, see utilities.tablesample.
Example¶
In [18]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
titanic["age"].hist()
Out[18]:
In [19]:
from verticapy.stats import normaltest
normaltest(titanic,
column = "age")
Out[19]:
