Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5497

Re: [Python-de] Anfaengerfrage: Dataframe - Zeilenmittel - Spaltenmittel

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Hartmut Goebel <h.goebel@goebel-consult.de>
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 <mailman.2.1561017566.1072.python-de@python.org> (permalink)
References <1825444.o0KX4FVeTt@host> <2735687.t9uVyT51e0@host> <9390763f-1e2a-fb62-50ed-6b776764aec9@goebel-consult.de> <8217725.EGQyf2vfZd@host> <ea92e0af-707e-c5be-8b9b-4daa1375a715@goebel-consult.de>
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 <h.goebel@goebel-consult.de>
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 <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <ea92e0af-707e-c5be-8b9b-4daa1375a715@goebel-consult.de>
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hallo Frank,
> @ Hartmut:
> klappt tatsächlich,
> nur ein Verständnisproblem meinerseits :
> Indizierung fängt bei 0 an (= das sind aber die Spalten-/bzw. die Zeilenköpfe)
> und dann aber i - 1, bzw. j - 1   --> 0 - 1 --> -1 ???
> aber Ergebnis stimmt (für 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öpfe" nicht
enthält. Denn der Code beginnt mit 1 und auf die Daten wird immer mit
"i-1" zugegriffen. Wenn "Spaltenköpfe" dabei wären, würde der Code
entweder mit 2 beginnen, oder nur mit "i" zugreifen. (In beiden Fällen
würde aber nur bis spalten_anzahl gezählt, nicht anzahl_spalten+1.)

-- 
Schönen Gruß
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-sicherheit-im-unternehmen-eine-interne-oder-externe-angelegenheit


Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] Anfaengerfrage: Dataframe - Zeilenmittel - Spaltenmittel Hartmut Goebel <h.goebel@goebel-consult.de> - 2019-06-20 09:50 +0200

csiph-web