In the previous entry, we introduced the libraries available for graphing in Python. In this entry, we will have a very basic look on the first proposed library, Matplotlib. We will create three types of graphics: a line plot, a bar chart and a pie chart.

# data analysis

# Analyzing trends in data with Pandas

StandardA very important aspect in data given in time series (such as the dataset used in the time series correlation entry) are trends. Trends indicate a slow change in the behavior of a variable in time, in its average over a long period.

Continue reading

# Correlating time series with Pandas

StandardIn this entry, we will see a practical application of the Pandas library. We will use a DataFrame where we will load the contents of a CSV file containing data of measurements on a flotation cell.

Continue reading

# Loading a DataFrame from an SQL database

StandardIn a prior entry we described how to load data from a CSV file. In this entry, we will do a quick introduction on how to load the contents of an SQL table into a DataFrame.

Continue reading

# Reading and writing CSV files with Pandas

StandardCSV (Comma Separated Values) files are a very simple and common format for data sharing. CSV files are simple (albeit sometimes large) text files that contain tables. Each line is a row, and within each row, each value is assigned a column by a *separator*.

Continue reading

# Pandas DataFrame

StandardIn the previous entry, I introduced Pandas Series. I also compared it with the column of an Excel workbook. Well, following that analogy, DataFrame is the full Excel workbook, where each column is … you guessed it; a Series.

Continue reading

# Pandas Series

StandardIn this entry, I will quickly introduce the Series. It is the most simple structure provided by Pandas, and it can be thought of as a column in an excel spreadsheet.

Continue reading

# Introduction to Pandas

StandardIn this entry, I will do a brief introduction to Pandas, a library that I have been using the last year for my data analysis needs.

Pandas brings the simplicity and elegance of Python to data analysis. It is part of the Scipy collection of libraries, that include other libraries for scientific computation.

Continue reading