Pandas Series

A pandas series is a one-dimensional labelled array. It can hold any type of data such as integer, string, float, and python objects etc. A series can be created by array, dictionary, and scaler value.

We can create a pandas series by using following construct.

  1. Data :- data can in various form like array, list, constant (scaler).
  2. Index :- Index values must be unique. If we do not pass index it starts from zero (0).
  3. dtype :- dtype defines the types of data used in series.
  4. copy :- Copy Data. By default false.