Skip to content

Commit

Permalink
replaced ipython3 by python
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed Jun 14, 2018
1 parent d954ca8 commit a6cb723
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Quick start
1. T-test
#########

.. code-block:: ipython3
.. code-block:: python
# Generate two correlated random variables
import numpy as np
Expand All @@ -112,7 +112,7 @@ Quick start
2. Pearson's correlation
########################

.. code-block:: ipython3
.. code-block:: python
# T-test
from pingouin import corr
Expand All @@ -132,7 +132,7 @@ Quick start
3. Robust correlation
#####################

.. code-block:: ipython3
.. code-block:: python
# Introduce an outlier
x[5] = 18
Expand All @@ -153,7 +153,7 @@ Quick start
4. Test the normality of the data
#################################

.. code-block:: ipython3
.. code-block:: python
from pingouin import test_normality
# Return a boolean (true if normal) and the associated p-value
Expand All @@ -168,7 +168,7 @@ Quick start
5. One-way ANOVA using a pandas DataFrame
#########################################

.. code-block:: ipython3
.. code-block:: python
# Generate a pandas DataFrame
import pandas as pd
Expand Down Expand Up @@ -201,7 +201,7 @@ Quick start
6. One-way non-parametric ANOVA (Kruskal-Wallis)
################################################

.. code-block:: ipython3
.. code-block:: python
from pingouin import kruskal
stats = kruskal(data=df, dv='DV', between='Group')
Expand All @@ -221,7 +221,7 @@ Quick start
7. Post-hoc tests corrected for multiple-comparisons
####################################################

.. code-block:: ipython3
.. code-block:: python
from pingouin import pairwise_ttests, print_table
Expand All @@ -248,7 +248,7 @@ Quick start
8. Two-way mixed ANOVA
######################

.. code-block:: ipython3
.. code-block:: python
# Add a "Time" column in the DataFrame
df['Time'] = np.tile(np.repeat(['Pre', 'Post'], 5), 3)
Expand All @@ -275,7 +275,7 @@ Quick start
9. Pairwise correlations between columns of a dataframe
#######################################################

.. code-block:: ipython3
.. code-block:: python
df = pd.DataFrame({'X': x, 'Y': y, 'Z': z})
from pingouin import pairwise_corr
Expand All @@ -296,7 +296,7 @@ Quick start
10. Convert between effect sizes
################################

.. code-block:: ipython3
.. code-block:: python
from pingouin import convert_effsize
# Convert from Cohen's d to Hedges' g
Expand Down

0 comments on commit a6cb723

Please sign in to comment.