# About Pandas

Pandas is a great tool for holding/manipulating/plotting labeled datasets. It is similar to Numpy, but differs in two important ways:

1. The rows and columns can be indexed by 'labels' (strings) OR numbers, unlike numpy arrays which always use number indices
2. The contents can be different types - numpy requires each element is the same datatype

Why pandas?

It is a great way to:

1. Read data from a file into a structured easy-to-access format
2. Clean data - deal with missing values, etc.
3. Select data of interest
4. Analyze/plot
5. Output results

Pandas provides two basic data structures - Series (1-D) and DataFrames (2-D). You can think of DataFrames as a grouping of Series, each with a column label. What's nice is that you can 'slice' these Dataframes either across rows or down columns using the row and column labels, much like you would with dictionaries.

You can learn more about pandas \[[here](https://pandas.pydata.org/pandas-docs/stable/getting_started/overview.html)]


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://igb.mit.edu/mini-courses/python/data-processing-with-python/pandas/about-pandas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
