Plotting with pandas
Learn about pandas and plotting graphs using a given dataset.
We'll cover the following...
pandas basics and installation
Although Python can be used to parse CSV files, it can still be complex. While there are libraries like csv_reader()
that can help, we’ll still have to run many functions manually. Enter pandas, which is an excellent library for data analysis. If we’re dealing with complicated or large datasets, pandas can be really helpful. It is a superset based on NumPy and SciPy. So, it contains many convenient features, like reading directly from a Microsoft Excel file, executing data joins (like we might perform in SQL), and so on. We’ll go over some of these functionalities in this lesson.
pandas has two primary data structures:
-
Series
-
DataFrames
Series is similar to NumPy’s array or dictionary, although it comes with many extra features.
DataFrames is a two-dimensional data structure that contains ...