We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363eeae commit df5ff15Copy full SHA for df5ff15
1 file changed
README.md
@@ -54,7 +54,22 @@ pip install .
54
55
## Usage
56
57
-Please refer to the [documentation](https://acclab.github.io/DABEST-python-docs).
+```python3
58
+import pandas as pd
59
+import dabest
60
+
61
+# Load the iris dataset. Requires internet access.
62
+iris = pd.read_csv("https://github.com/mwaskom/seaborn-data/raw/master/iris.csv")
63
64
+# Load the above data into `dabest`.
65
+iris_dabest = dabest.load(data=iris, x="species", y="petal_width",
66
+ idx=("setosa", "versicolor", "virginica"))
67
68
+# Produce a Cumming estimation plot.
69
+iris_dabest.mean_diff.plot();
70
+```
71
72
+Please refer to the official [tutorial](https://acclab.github.io/DABEST-python-docs/tutorial.html) for more useful code snippets.
73
74
75
## How to cite
0 commit comments