C3-4: Pandas
L1: Anaconda
L2: Jupyter Notebooks
L3: NumPy
L4: Pandas
Creating Pandas Series
import pandas as pd | Import Pandas
my_series = pd.Series(data = ['data1', 'data2', data3', 'data4'], index = ['row1', 'row2', 'row3', 'row4']) | Creates Series
my_series # Display Series
my_series.shape # Show shape as tuple
my_series.ndim # Dimensions as int
my_series.size # Number of elements
my_series.index # Show index
my_seriex.values # Show values
x = banana...
Read post