1] Greater than
import pandas as pd
s1 = pd.Series([10,20,120,40,150])
s2 = pd.Series([70,80,90,100,110])
s1>(s2)
2] Less than
import pandas as pd
s1 = pd.Series([10,20,120,40,150])
s2 = pd.Series([70,80,90,100,110])
s1<(s2)
3] Equal to
import pandas as pd
s1 = pd.Series([10,20,120,40,150])
s2 = pd.Series([70,20,90,40,110])
s1==(s2)
0 Comments:
Post a Comment