Posts

Showing posts from November, 2016

Python for Data Scientists - Matplotlib

Image
Introduction Sure, with both pandas and SciPy you can perform some superb data analysis. And with the IPython , working sure became much easier. But how about presenting your results? Today we'll talk about Matplotlib - our presentation package. Making plots and static or interactive visualizations is one of the most important tasks in data analysis. It may be a part of the exploratory process; for example, helping identify outliers, needed data transformations, or coming up with ideas for models. Installation Installation of matplotlib is easy. If don't have it preinstalled as part of your Python distribution, just do it manually using python package manager pip install matplotlib Usage Since we're already familiar with IPython, I'll be only covering it's usage as this is a preferable way of writing data analysis procedures. In console mode graphs are plotted in a separate newly created window, each time you render a plot. In web mode, it's b