Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Python 3.4 and the New Statistics Library Module

DZone's Guide to

Python 3.4 and the New Statistics Library Module

· Big Data Zone
Free Resource

Learn best practices according to DataOps. Download the free O'Reilly eBook on building a modern Big Data platform.

Python's newest version, 3.4, contains a number of new features, but one particularly notable feature is the new statistics library module. The library contains methods for a lot of measurements and equations commonly used for statistics, and should be a very useful tool for anybody working with that kind of data. Examples of new methods include:

  • Averages and measures of central location:
    • mean()
    • median()
    • mode()
  • Measures of spread:
    • pstdev()
    • pvariance()
    • stdev()

And there are a few more beyond these. For all the information on the statistics library, check out the full list with method descriptions, and also take a look at the rest of the new features in Python 3.4.


Find the perfect platform for a scalable self-service model to manage Big Data workloads in the Cloud. Download the free O'Reilly eBook to learn more.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}