Computer Science, asked by anasah1478, 8 months ago

import pandas as pd
ser= pd. Series (data=[3, 5, 7] ,index=[1,2,3])
ser2=pd.Series(data=ser*2)
print(ser2)​

Answers

Answered by karanveerarora
0

ANSWER

pd

Explanation:  

In [2]:. import pandas as pd print(pd.__version__) # Print all pandas ... 0 a 1 b 2 c 3 d 4 e 5 f 6 g dtype: object 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 dtype: int64 A 0 B 1 C 2 D 3 E 5 dtype: int64. 3. How to ... Convert the series ser into a dataframe with its index as another column on the dataframe. ... Series([1, 2, 3, 4, 5]) ser2 = pd.

Similar questions