Informatics Practices

To divide total distribution of given data in four 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 four equal parts. For example, to divide the data of DataFrame ndf into four equal parts, the statement would be df.quantile(q = 0.25).

Answered By

2 Likes


Related Questions