Skip to content

Informatics Practices · Ch 3 — Data Handling using Pandas – II

Other DataFrame Operations

3.7

Other DataFrame Operations

3.7 Other DataFrame Operations

In this section, we learn more techniques and functions that can be used to manipulate and analyse data in a DataFrame.

3.7.1 Reshaping Data

The way a dataset is arranged into rows and columns is referred to as the shape of data. Reshaping data refers to the process of changing the shape of the dataset to make it suitable for a particular analysis. Pandas provides two basic functions for reshap …