Answers for "pandas get column percentiles"

0

pandas select percentile

In [48]: cols = list('abc')

In [49]: df = DataFrame(randn(10, len(cols)), columns=cols)

In [50]: df.a.quantile(0.95)
Out[50]: 1.5776961953820687
Posted by: Guest on July-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language