February 19th, 2021

R for Research, Python for Production

Конечно рекламная статья, но хорошо показывает сильные и слабые стороны R vs Python.


R Overall

R is really something special when doing research because of the tidyverse, which streamlines data wrangling and visualization.

Why is Python Great?

Python is amazing too, but for different reasons. Let’s take a Python Package like OpenCV - for Computer Vision.
Python Overall

If you can get over the Pandas learning curve, then Python becomes a great tool. Most IT teams know Python, so your code will fit right into their workflow.

Which Language Should You Learn?

The decision can be challenging because they both Python and R have clear strengths.

  1.    R is exceptional for Research - Making visualizations, telling the story, producing reports, and making MVP apps with Shiny. From concept (idea) to execution (code), R users tend to be able to accomplish these tasks 3X to 5X faster than Python users, making them very productive for research.

  2.    Python is exceptional for Production ML - Integrating machine learning models into production systems where your IT infrastructure relies on automation tools like Airflow or Luigi.

Статья в Science про Adams Geomagnetic Anomaly Effect

Те, кто всё время интересуются, что происходит при смене магнитных полюсов.


Geological archives record multiple reversals of Earth’s magnetic poles, but the global impacts of these events, if any, remain unclear. Uncertain radiocarbon calibration has limited investigation of the potential effects of the last major magnetic inversion, known as the Laschamps Excursion [41 to 42 thousand years ago (ka)]. We use ancient New Zealand kauri trees (Agathis australis) to develop a detailed record of atmospheric radiocarbon levels across the Laschamps Excursion. We precisely characterize the geomagnetic reversal and perform global chemistry-climate modeling and detailed radiocarbon dating of paleoenvironmental records to investigate impacts. We find that geomagnetic field minima ~42 ka, in combination with Grand Solar Minima, caused substantial changes in atmospheric ozone concentration and circulation, driving synchronous global climate shifts that caused major environmental changes, extinction events, and transformations in the archaeological record.

Статья в The Conversation.

Ссылка на статью в Science