KnowledgeBoat Logo
|

Informatics Practices

To divide total distribution of given data in two equal parts, …………… function is used.

  1. median()
  2. quartile()
  3. quantile()
  4. all of these

Python Pandas

2 Likes

Answer

quantile()

Reason — The quantile() function is used to divide the total distribution of given data into two equal parts. For example, to divide the data of DataFrame df into two equal parts, the statement would be df.quantile(q = 0.5).

Answered By

3 Likes


Related Questions