Informatics Practices

How do you create quantiles and quartiles in Python Pandas ?

Python Pandas

2 Likes

Answer

In Python pandas, we can create quantiles and quartiles using the quantile() method.

The statement to create quartiles is df.quantile(q = 0.25).

Answered By

1 Like


Related Questions