Conteúdo do Curso
Introduction to pandas [track]
Introduction to pandas [track]
Series
The simplest pandas
object is Series
- one-dimensional ndarray
(numpy
array) with axis labels.
To create a series in pandas, use pd.Series()
method (capital S), passing list/array of values as the parameter.
# Importing library import pandas as pd # Creating pandas series ser = pd.Series([1000, 2500, 1700]) print(ser)
Obrigado pelo seu feedback!