Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5706
| From | eilfh <eilfh156@posteo.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | [Python-de] Verstaendnisproblem |
| Date | 2021-02-11 12:35 +0100 |
| Message-ID | <mailman.1089.1613043335.7193.python-de@python.org> (permalink) |
| References | <2763401.e9J7NaK4W3@host.fritz.box> |
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
Back to de.comp.lang.python | Previous | Next | Find similar
[Python-de] Verstaendnisproblem eilfh <eilfh156@posteo.de> - 2021-02-11 12:35 +0100
csiph-web