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

 About This Book

 Running Python Code Online

 Python on macOS Computers

 Python on Linux Computers

 Built-in Data Types

 Variables, Operations and Expressions

 Statements - Execution Units

 Function Statement and Function Call

 Iterators, Generators and List Comprehensions

 Classes and Instances

 Modules and Module Files

 Packages and Package Directories

 "sys" and "os" Modules

 "pathlib" - Object-Oriented Filesystem Paths

 "pip" - Package Installer for Python

 SciPy.org - Python Libraries for Science

pandas - Data Analysis and Manipulation

What Is 'pandas'

 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

 Jupyter Notebook and JupyterLab

 References

 Full Version in PDF/EPUB