Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Hartmut Goebel Newsgroups: de.comp.lang.python Subject: Re: [Python-de] Anfaengerfrage: Dataframe - Zeilenmittel - Spaltenmittel Date: Thu, 20 Jun 2019 09:50:05 +0200 Organization: Goebel Consult Lines: 55 Message-ID: References: <1825444.o0KX4FVeTt@host> <2735687.t9uVyT51e0@host> <9390763f-1e2a-fb62-50ed-6b776764aec9@goebel-consult.de> <8217725.EGQyf2vfZd@host> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020300000700090703030208" X-Trace: news.uni-berlin.de aR/Aj/prXgIKDDRIVCD3HAwThuS+Z0ONEpVGoTthjrYw== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org X-Virus-Scanned: amavisd-new at mnet-online.de Openpgp: preference=signencrypt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 In-Reply-To: <8217725.EGQyf2vfZd@host> X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <1825444.o0KX4FVeTt@host> <2735687.t9uVyT51e0@host> <9390763f-1e2a-fb62-50ed-6b776764aec9@goebel-consult.de> <8217725.EGQyf2vfZd@host> Xref: csiph.com de.comp.lang.python:5497 This is a cryptographically signed message in MIME format. --------------ms020300000700090703030208 Content-Type: multipart/mixed; boundary="------------1DB12E0430D68AC4FB86707D" Content-Language: de-DE This is a multi-part message in MIME format. --------------1DB12E0430D68AC4FB86707D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hallo Frank, > @ Hartmut: > klappt tats=C3=A4chlich, > nur ein Verst=C3=A4ndnisproblem meinerseits : > Indizierung f=C3=A4ngt bei 0 an (=3D das sind aber die Spalten-/bzw. di= e Zeilenk=C3=B6pfe) > und dann aber i - 1, bzw. j - 1 --> 0 - 1 --> -1 ??? > aber Ergebnis stimmt (f=C3=BCr dich sicher trivial!) Peter hat darauf ja schon geantwortet. Ich antworte mal andersherum: Auch ohne die Datenstruktur genau zu kennen, war klar, dass die Listen so etwas sie "Spaltenk=C3=B6pfe" nicht enth=C3=A4lt. Denn der Code beginnt mit 1 und auf die Daten wird immer mi= t "i-1" zugegriffen. Wenn "Spaltenk=C3=B6pfe" dabei w=C3=A4ren, w=C3=BCrde = der Code entweder mit 2 beginnen, oder nur mit "i" zugreifen. (In beiden F=C3=A4ll= en w=C3=BCrde aber nur bis spalten_anzahl gez=C3=A4hlt, nicht anzahl_spalten= +1.) --=20 Sch=C3=B6nen Gru=C3=9F Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Blog: https://www.goe-con.de/blog/chatsecure-ist-tot-lang-lebe-chatsecure= Kolumne: https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2010-11-it-sicherh= eit-im-unternehmen-eine-interne-oder-externe-angelegenheit --------------1DB12E0430D68AC4FB86707D-- --------------ms020300000700090703030208--