Q. Why does following code cause error?
s1 = pd.Series(range(1, 15, 3), index = list('ababa'))
print(s1['ab'])
Answer =
Because there are no rows by the names “ab” in the series.
Answer =
Because there are no rows by the names “ab” in the series.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )