Verstaendnisproblem
eilfh <[email protected]>
| Newsgroups | gmane.comp.python.general.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo, bin noch Anfänger in python, vielleicht sieht ein Profi mit einem Blick, wo mein Fehler liegt Bsp. x1 = df.loc[df.A == '7', 'Z1'] #print(x1) # okay, z.Bsp. 99 x2 = 120 x3 = 3 x4 = df.loc[df.A == '8', 'Z1'] #print(x4) # okay, z.Bsp. 77 d1 = x2 - x1 # okay 21 d2 = x4 - x3 # okay 74 aber: d3 = d2 - d1 # ---> NaN oder d4 = (x2 - x1 + x4 - x3) # ---> NaN ich hab schon einige "Klimmzüge" gemacht, bin aber bisher an dieser vermeintlichen Banalität gescheitert Vielen Dank im Voraus Frank _______________________________________________ python-de maillist - [email protected] https://mail.python.org/mailman/listinfo/python-de