Decoding Python’s if __name__ == ‘__main__’

Ever wrote a Python code? If you have, you might be familiar that in Python, you don’t have to explicitly define the main function. If you are coming from languages like C, you might find this odd… Read more

Similar

Ggplot Implementation in Python

plotnine is an implementation of a grammar of graphics in Python, it is based on ggplot2. The grammar allows users to compose plots by explicitly mapping data to the visual objects that make up the plot. (more…)

Read more »

Beyond R and Python: Rust for Science

Rust looks like an increasingly important part of the future of scientific programming. It's as fast as C++, as flexible as Python, and does packaging better than even R. It is also very difficult to learn, and demands a lot of cognitive investment. On ba... (more…)

Read more »