Get Series shape and size
How many values we have on the Series
? What is its shape?
Solution 1
import numpy as np
import pandas as pd
series = pd.Series([10., 11., 12., 13., 14., 15.])
shape = series.shape
size = series.size
How many values we have on the Series
? What is its shape?
Solution 1
import numpy as np
import pandas as pd
series = pd.Series([10., 11., 12., 13., 14., 15.])
shape = series.shape
size = series.size