Python 3.11.0 is released — Impacts to Data Science and Engineering

What are the Advantages of the new Release?

Christianlauer
CodeX

--

Photo by Ricardo Gomez Angel on Unsplash

With Python 3.11.0 a new major release of the Python programming language has been published. It contains many new features and optimizations.

The question is what are the benefits for programmers and entrepreneurs in the field of Data Science and Data Engineers — let’s take a look!

Better Performance

Python would be categorized as a slow language. For example, a regular loop in Python is orders of magnitude slower than a similar loop in C. The new release and the Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10–60% faster than Python 3.10[1]. I think this improvement should please everyone and also users in the field of data — better performance is always a good thing in the field of Big Data.

Typing and Typing Language Changes

Python is a dynamically typed language, but it also supports static typing. There are now five new typing-related PEPs in this release for Python 3.11.0 [1][2]:

  • PEP 646: Variadic generics
  • PEP 655: Marking individual TypedDict items as required or potentially missing

--

--

Christianlauer
CodeX
Editor for

Big Data Enthusiast based in Hamburg and Kiel. Thankful if you would support my writing via: https://christianlauer90.medium.com/membership