matplotlib Part 28 – 3D Contour Plots
3D Contour Plots Today we’ll be plotting contours in 3D. To this end we need the contour method. This method… Read More »matplotlib Part 28 – 3D Contour Plots
3D Contour Plots Today we’ll be plotting contours in 3D. To this end we need the contour method. This method… Read More »matplotlib Part 28 – 3D Contour Plots
Histograms In this article we’ll have a look at histograms, binnings and density plots. Let’s create a simple histogram using… Read More »matplotlib Part 19 – Histograms
Scatter Plots with the scatter Method In the previous article we were using the plot method to create scatter plots.… Read More »matplotlib Part 18 – Scatter Plots with the scatter Method
Scatter Plots with the plot Method So far we’ve been only using line plots. But there’s a great variety of… Read More »matplotlib Part 17 – Scatter Plots with the plot Method
DATASET CONCATENATION We can concatenate Series and DataFrame objects using the pd.concat method. Here’s a simple example of concatenation. Let’s… Read More »pandas Part 24 – Dataset Concatenation
Insets You can create axes that sit inside other axes. You can come across examples of axes that display magnified… Read More »matplotlib Part 15 – Insets
SORTING MULTIINDICES Sorting multi-indices is important because many slicing operations only work on sorted data. Let’s create a multi-indexed Series… Read More »pandas Part 21 – Sorting MultiIndices
Sometimes you may want to share axis scale across multiple axes. Let’s have a look at the following example: In [3]:… Read More »matplotlib Part 13 – Sharing Axis Scale
Grids In the previous part of the Matplotlib series we were talking about axis ticks. Today’s topic is closely related… Read More »matplotlib Part 12 – Grids
In the previous part of the Matplotlib series we were talking about the legend. Today we’ll learn how to add… Read More »matplotlib Part 10 – Text Annotations
INDEXING AND SLICING MULTIPLY INDEXED SERIES Indexing and slicing multiply indexed Series is intuitive. Let’s use one of the examples… Read More »pandas Part 19 – Indexing and Slicing Multiply Indexed Series
In the previous part we added an image to the workbook. In this part we’ll see how to add a… Read More »openpyxl Part 18 – Bar Charts
In the previous part of the Matplotlib series we were talking about the title and axis labels. Today let’s see… Read More »matplotlib Part 9 – The Legend
In this part of the Matplotlib series we’ll be talking about axis ranges. Let’s start by plotting a function: In [1]:… Read More »matplotlib Part 7 – Axis Range
In the previous part of the Matplotlib series we were adding Axes to the figure. Today let’s concentrate on a… Read More »matplotlib Part 6 – Line Properties
In the previous part of the openpyxl series we were talking about the ColorScale built-in format, which we used to… Read More »openpyxl Part 15 – Styling with IconSet
In the previous part of the openpyxl series we were talking about conditional formatting. We were working on the wb2.xlsx… Read More »openpyxl Part 14 – Styling with ColorScale
IMPLICIT CREATION OF MULTI-INDEXED OBJECTS In the previous couple articles in the Pandas series we were talking about multi-indexed objects.… Read More »pandas Part 15 – Implicit Creation of Multi-Indexed Objects
In the previous part of the Matplotlib series we created a figure with an Axes object on it with three… Read More »matplotlib Part 4 – Multiple Axes
USING PANDAS MULTIINDEX FOR MULTIDIMENSIONAL DATA We can use the MultiIndex for multidimensional data. Here’s our example from the previous… Read More »pandas Part 14 – Using Pandas MultiIndex for Multidimensional Data
STACKING AND UNSTACKING MULTIINDICES In this article we’ll be working on our example from the previous part. Our subject today… Read More »pandas Part 13 – Stacking and Unstacking MultiIndices
In the previous part of the Matplotlib series we created the matplotlib folder in Jupyter Notebook. Let’s add a notebook… Read More »matplotlib Part 2 – A Basic Matplotlib Example
Matplotlib is a cross-platform data visualization library. It’s used to visualize data and the results of all sorts of computations.… Read More »matplotlib Part 1 – Introduction to Matplotlib
PANDAS MULTI-INDEX The two data structures that you know, Series and DataFrame, are basically used for one- and two-dimensional data… Read More »pandas Part 12 – Pandas MultiIndex
MISSING DATA In real-life scenarios data is seldom complete. How does pandas handle missing data? Generally, it uses two null… Read More »pandas Part 11 – Missing Data
In the previous part of the openpyxl series we were inserting and deleting rows and columns. We didn’t save the… Read More »openpyxl Part 9 – Managing Sheets
In the previous part we saw an interesting example of slicing. Let’s use the same example again: In [1]: import numpy… Read More »pandas Part 8 – The loc and iloc Indexers
When we were talking about Series objects we saw that slicing Series objects may be pretty straightforward. Let’s have a… Read More »pandas Part 7 – Slicing and Indexing Series Objects
In the previous parts of this series we discussed two of the three fundamental data types in pandas, the Series… Read More »pandas Part 6 – the Index Class
In the previous part of the openpyxl series we were iterating over the rows and columns of a spreadsheet using… Read More »openpyxl Part 4 – Using Python Iterators
In the previous part of this series we created a DataFrame from a dictionary of Series objects. Let’s quickly recreate… Read More »pandas Part 5 – Creating DataFrame Objects
In the previous part of the series we saw how to access single cells of the spreadsheet and the values… Read More »openpyxl Part 3 – Iterating Over Rows and Columns
In this series we’ll be using the openpyxl module to work on spreadsheets. In this part we’ll install the module… Read More »openpyxl Part 1 – A Simple Workbook