iulian iulian - 1 year ago 156
R Question

R summary() equivalent in numpy

Is there an equivalent of

function in

has std, mean, average functions separately, but does it have a function that sums up everything, like
does in

If found this question which relates to
and this article with R-to-numpy equivalents, but it doesn't have what I seek for.

Answer Source

No. You'll need to use pandas.

R is for language for statistics, so many of the basic functionality you need, like summary() and lm(), are loaded when you boot it up. Python has many uses, so you need to install and import the appropriate statistical packages. numpy isn't a statistics package - it's for numerical computation more generally, so you need to use packages like pandas, scipy and statsmodels to allow Python to do what R can do out of the box.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download