Write a Pandas program to create and display a one-dimensional array-like object containing an array of data.
import pandas as pd ds = pd.Series([2, 4, 6, 8, 10]) print(ds)
Sample Output:
0 2 1 4 2 6 3 8 4 10 dtype: int64
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer