Python 3 and data science top Python developer survey

Posted on 06-02-2019 , by: admin , in , 0 Comments

JetBrains, maker of the PyCharm IDE for Python, have released the results of the company’s Python Developers Survey for 2018, a snapshot of the tools, preferences, and sentiments of more than 20,000 enterprise and indie Python developers worldwide. The survey shows Python usage growing overall, with data analysis emerging as the main use case, while web development, testing, and automation are still going strong.

Of the Python developers surveyed, 84 percent said Python was their chief development language, with 50 percent citing JavaScript as their second choice. That HTML/CSS took third place at 47 percent hints at Python’s major role in building web applications—be they public-facing websites, private apps, or desktop apps equipped with a web front end (e.g., Electron).

Regarding Python 2 vs. Python 3 adoption, the survey shows 84 percent using Python 3 and 16 percent still using Python 2. Among the Python 3 users, 54 percent are using Python 3.6 and 30 percent Python 3.7, with the rest split among other versions.

Growth of Python 3 usage has been steady year-over-year since 2013, but the implication is that some margin of users will continue working with it right up to its end-of-life in 2020. The survey didn’t probe into why developers stick with Python 2, whether it’s the weight of legacy code, institutional requirements, or simply developer preference.

Some 52 percent of respondents listed web development as their main Python task. When respondents were asked to identify a single use case, rather than all of their Python use cases, web development topped the list at 27 percent. The survey also revealed that Flask (47 percent) and Django (45 percent) were by far the most widely used Python web frameworks.

Data analysis — the task Python has become most broadly associated with in recent years — was cited by 58 percent one of their Python use cases. There, packages like NumPy (62 percent), Pandas (51 percent), Matplotlib (46 percent), and SciPy (38 percent) rule the roost. A related field, machine learning, figured in at 38 percent of users, with TensorFlow (25 percent) being the most commonly used machine learning framework. Of the big data tools for Python, Apache Spark (12 percent) was the easy winner.