Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Sol:
- mascara40 = datos['Precio']>40
- serie40 = datos[mascara40].iloc[0,:]
- mascara60 = datos['Precio']>60
- serie60 = datos[mascara60].iloc[0,:]
- mascara80 = datos['Precio']>80
- serie80 = datos[mascara80].iloc[0,:]
- df40 = pd.DataFrame(serie40)
- df60 = pd.DataFrame(serie60)
- df80 = pd.DataFrame(serie80)
- salida = (df40.join(df60)).join(df80)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement