Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5498
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | eilfh <eilfh156@posteo.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Anfaengerfrage: Dataframe - Zeilenmittel - Spaltenmittel |
| Date | Thu, 20 Jun 2019 21:30:19 +0200 |
| Organization | eilfh |
| Lines | 44 |
| Message-ID | <mailman.8.1561059032.1072.python-de@python.org> (permalink) |
| References | <1825444.o0KX4FVeTt@host> <8217725.EGQyf2vfZd@host> <2233175.VqSBi401Pp@palindrom> <1732706.jVTfYWmTT1@host> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de lgYeql5vSRD5DyYcQo9LLgci0RWTaZ9GTRrPEHiPSpZQ== |
| Return-Path | <eilfh156@posteo.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1561059030; bh=pi9bXYsrYOqMeegRfMv5JxA8RjsHzbZT/Bhvd+DJpqw=; h=From:To:Subject:Date:From; b=RO8rIB9bcFkynG7q81NxmRWKBNk/z6aDE9mtko4VY2X/kIcRhBhhqal4A6N9r1gGa 2RrMRK8ZN+ewe+NuOBXNfbBxHEHQe/MXrZUfPxBiPIMxlSTxW80B1q+mtOc+Gg/YPP QEMI+7WtMHeQGDNuWOKwZNXucg6heis/VBS38X3uMPsqUEFfnqcX2UxV6XNpo4DSo8 rwhyFfYvLbrYgdlyqnwb3ylInkI+OddWi/S3XXpqkyViw+pdrdk+YqXX3PXKG6qGpo iDw8I6VsdjOOyiTi9L9RwIrQ7WG9elbJFBnYW3k9EPfmz2p0X7ElEZJ1zFyWrCZ0NP GT3TlOenymYFQ== |
| In-Reply-To | <2233175.VqSBi401Pp@palindrom> |
| 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 | <1732706.jVTfYWmTT1@host> |
| X-Mailman-Original-References | <1825444.o0KX4FVeTt@host> <8217725.EGQyf2vfZd@host> <2233175.VqSBi401Pp@palindrom> |
| Xref | csiph.com de.comp.lang.python:5498 |
Show key headers only | View raw
Hallo, Peter
hallo, Hartmut
vielen Dank für eure Unterstützung
> Produziert das bei dir ein Traceback (wenn ja, was genau)?
ja:
Traceback (most recent call last):
File "<ipython-input-2-305cfde93e0f>", line 3, in <module>
df1 = pd.DataFrame(b, columns=df)
File "/usr/lib64/python3.6/site-packages/pandas/core/frame.py", line 379, in
__init__
copy=copy)
File "/usr/lib64/python3.6/site-packages/pandas/core/frame.py", line 536, in
_init_ndarray
return create_block_manager_from_blocks([values], [columns, index])
File "/usr/lib64/python3.6/site-packages/pandas/core/internals.py", line
4866, in create_block_manager_from_blocks
construction_error(tot_items, blocks[0].shape[1:], axes, e)
File "/usr/lib64/python3.6/site-packages/pandas/core/internals.py", line
4843, in construction_error
passed, implied))
ValueError: Shape of passed values is (3, 4), indices imply (4, 4)
Nochmals, Danke
Frank
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Anfaengerfrage: Dataframe - Zeilenmittel - Spaltenmittel eilfh <eilfh156@posteo.de> - 2019-06-20 21:30 +0200
csiph-web