pandas/core

The module contains the core submodules of pandas. They are discussed as follows:

  • api.py: This imports some key modules and warnings for later use, such as indexing, groupby, and reshaping functions.
  • apply.py: This module contains classes that help to apply a function to a DataFrame or series.
  • arrays: This isolates pandas' exposure to numpy—that is, all direct numpy usage. The base.py submodule of array handles all array-oriented operations, such as the ndarray value, shape, and ndim, while the categorical.py submodule caters specifically for categorical values.
  • base.py: This defines fundamental classes such as StringMixin and PandasObject, which is the base class for various pandas objects, such as Period, PandasSQLTable,

Get Mastering pandas - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.