Posts

Pandas cheat-sheet

Image
An 8-page pandas shortcut In a previous post I had uploaded a two-page pandas cheat-sheet containing a variety of pandas shortcuts. In this post, I have added a pdf containing some more shortcuts and pandas tricks. Thanks to Enthought for the pdf. Similar informative articles and documents can be found in the LinkedIn handle of   Nabih Ibrahim Bawazir .  The pdf can be found  here

Introduction to virtual environment

Image
What is a virtualenvironment ? A  virtualenvironment is basically an isolated environment that we create in our system to have separate work environment for all the concurrent projects that we work on or let's say plan to work on. Details on virtualenvironment and packages can be found in their official documentation :  here Why do we need a virtualenvironment ? As creating a virtualenvironment gives you complete isolation for your packages and installation for that specific project. Sometimes we need that for working on different projects concurrently where each project has it's own requirements and package dependencies. For example, If you are working in two different projects like core-python web-framework and a machine learning project. Then those two projects will ideally have a number of different package requirements except for a number of generic packages. So instead of installing everything in a single place(globally), you should make separate isolated

Pandas shortcuts

Image
Irrespective of the need for you to use python, some python libraries are just as essential as the computer that you use for coding. And I am quite sure the pandas is one such badly essential one. Here is a sample cheatsheet I have found on the internet ( original weblink:  here ).