Python Tutorials - Herong's Tutorial Examples - v2.14, by Herong Yang
What Is 'pandas'
This section describes what is 'pandas' and how to install 'pandas' with 'pip' command.
What Is pandas? pandas is a powerful Python data analysis toolkit that helps you to explore, clean, and manipulate your data.
Here are main features of pandas toolkit:
Here is what I did to install pandas on my computer.
1. Make sure that python 3 is installed by running the "python --version" command in a terminal window:
herong$ python --version Python 3.8.0
2. Install pandas toolkit using the "pip" (Package Installer for Python) command:
herong$ sudo pip install pandas Requirement already satisfied: python-dateutil pytz numpy six Successfully installed pandas-1.2.4
3. Verify pandas installation by importing "pandas" package.
herong$ python >>> import pandas as pd >>> pd.v2.14 '1.2.4'
Cool! I have pandas toolkit ready in my Python environment for data manipulation.
For more readings on pandas, visit pandas Website at https://pandas.pydata.org.
Table of Contents
Variables, Operations and Expressions
Function Statement and Function Call
Iterators, Generators and List Comprehensions
Packages and Package Directories
"pathlib" - Object-Oriented Filesystem Paths
"pip" - Package Installer for Python
SciPy.org - Python Libraries for Science
►pandas - Data Analysis and Manipulation
pandas.DataFrame/pandas.core.frame.DataFrame - The Table Class
pandas.core.series.Series - The Column Class
File Input and Output for DataFrame
Anaconda - Python Environment Manager