Tutorial by Examples

Detailed instructions on getting pandas set up or installed can be found here in the official documentation. Installing pandas with Anaconda Installing pandas and the rest of the NumPy and SciPy stack can be a little difficult for inexperienced users. The simplest way to install not only pandas, ...
First download anaconda from the Continuum site. Either via the graphical installer (Windows/OSX) or running a shell script (OSX/Linux). This includes pandas! If you don't want the 150 packages conveniently bundled in anaconda, you can install miniconda. Either via the graphical installer (Window...
Once Pandas has been installed, you can check if it is is working properly by creating a dataset of randomly distributed values and plotting its histogram. import pandas as pd # This is always assumed but is included here as an introduction. import numpy as np import matplotlib.pyplot as plt ...
Descriptive statistics (mean, standard deviation, number of observations, minimum, maximum, and quartiles) of numerical columns can be calculated using the .describe() method, which returns a pandas dataframe of descriptive statistics. In [1]: df = pd.DataFrame({'A': [1, 2, 1, 4, 3, 5, 2, 3, 4, 1],...

Page 1 of 1