Skip to content
masterclass Buddy

Pandas · Function

pd.array

pandas.array creates a one-dimensional pandas ExtensionArray. It uses the requested dtype, or infers an appropriate type when dtype is omitted.

Last updated

Syntax

pandas.array(data, dtype=None, copy=True)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • numpy.array
  • Series
  • Index
  • arrays.NumpyExtensionArray
  • Series.array

Source: pandas.array — pandas 3.1.0 documentation. Checked 2026-11-03.