Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The only thing cheaper than hardware is talk.


devel / comp.lang.python / Pandas: Multiple CSVs in one Zip file

SubjectAuthor
o Pandas: Multiple CSVs in one Zip fileAbdur-Rahmaan Janhangeer

1
Pandas: Multiple CSVs in one Zip file

<mailman.469.1629961786.4164.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=14750&group=comp.lang.python#14750

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: arj.pyt...@gmail.com (Abdur-Rahmaan Janhangeer)
Newsgroups: comp.lang.python
Subject: Pandas: Multiple CSVs in one Zip file
Date: Thu, 26 Aug 2021 11:09:21 +0400
Lines: 16
Message-ID: <mailman.469.1629961786.4164.python-list@python.org>
References: <CADrxXXkz7PB-cbSOvHciS5Qmf7u=Dp=Xm4-TbtY2-3YG7PFdfw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de d/Xqg9bCL87d1F5bRlllCglJhoqE5H+2wR31j599weSg==
Return-Path: <arj.python@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=X+dC/yU/;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.015
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'url-ip:140.82/16': 0.03;
'pandas': 0.09; 'url-ip:51/8': 0.09; 'url:discuss': 0.09;
'valueerror:': 0.09; 'url-ip:140/8': 0.12; 'url:github': 0.13;
'from:addr:arj.python': 0.16; 'from:name:abdur-rahmaan
janhangeer': 0.16; 'janhangeer': 0.16; 'mauritius': 0.16;
'subject:Pandas': 0.16; 'github': 0.18; 'way.': 0.20;
'subject:file': 0.23; 'to:addr:python-list': 0.23; 'cannot': 0.24;
'zip': 0.27; 'else': 0.27; 'blog': 0.31; 'to:name:python': 0.32;
'message-id:@mail.gmail.com': 0.33; 'files': 0.33;
'received:google.com': 0.34; 'contains': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.38;
'received:209.85.210': 0.38; 'file': 0.38; 'read': 0.38; 'url-
ip:185.199.108.153/32': 0.38; 'url-ip:185.199.108/24': 0.38; 'url-
ip:185.199.109.153/32': 0.38; 'url-ip:185.199.109/24': 0.38; 'url-
ip:185.199.110.153/32': 0.38; 'url-ip:185.199.110/24': 0.38; 'url-
ip:185.199.111.153/32': 0.38; 'url-ip:185.199.111/24': 0.38; 'url-
ip:185.199/16': 0.38; 'received:209': 0.38; 'does': 0.38;
'example': 0.40; 'url-ip:172.67/16': 0.64; 'per': 0.64; 'url-
ip:104.21/16': 0.65; 'url:net': 0.66; 'subject:one': 0.69;
'shows': 0.70; 'greetings,': 0.74
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=90f3hztkPjkZkXfMWZg2iLkoKmf5/RrEuZPP6rYtspo=;
b=X+dC/yU/G4PXF3IXNjdABMF66c9Xs3gMLi6rwI9alcHGWTysSwsRm5Ting564Y7rM9
H61efmCwCNShvL6R/ENqDJ0j3xNf24XwGVqdrQfmawCCG1Z2QJytmFH7gYCz255Tem9o
tDuumOLODqmkGyemX+WcHcqL2F5skH8EOArRmfqb51SPfCthmT8/PLIlqLGCX/rEcEnJ
zEjPr79Vq2Py68rxMPupsug/zwmR7txcYiKMV4xTok7MGZY5HJe4Mf4OCMm/NTMz6Aer
Hh2jCIRe9H40aA+i80lgDtTTHwF2hvQb/ZtB3s/6o7OQXAWzhGAI4mhO31Ghp6jYnlZ/
xsfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=90f3hztkPjkZkXfMWZg2iLkoKmf5/RrEuZPP6rYtspo=;
b=MrwCMZoMU4jEDKEZRs23ZxrQ4xi3Dui2xsn7wDKk6dJWw6iPEt0ruCkmU0sEXxD2UG
oix2ehbK41nPX8SAhb7oeY6YFQ9XpCVsrT/yQaF8fP02PfRYI3i+hh1cyKU4PFsh5exl
NXZcI9jz7NPyuzC58nlt9wNh53NUz9yjdXi6kjmG9nMKDy0SP88nBHPVqKtgnUy0fUqt
Q7AdegdtyZdSNFk8MzSDLO3FXr2D7pZPwjWQRHIRS5IH+k2sCbF3LRTuyNxDwmIPQf7y
QmuPr3GwFyPXnxURNLP20JtCkYXSt7qXfAcnXP2aY414SodFgXCpfryDvWeH76/cVZba
a4uA==
X-Gm-Message-State: AOAM531ogik2nin3qfIWT6M9d8tlvlX/nXvzDRO/FI8xuCZDBDRH92/9
Y8TH2+QF2SOtf9LMrCc+m2glFahcZ706UuduMFicWcQaclwchw==
X-Google-Smtp-Source: ABdhPJysUBj7QU03kUHk2NShvf2gbX5oK2qA6ERu6d7HyH9TluurZ/+efkywIXaxvS52F9JY3jnp+P0G82PDe6miwTs=
X-Received: by 2002:a05:6a00:1348:b0:3e2:c99:a7b0 with SMTP id
k8-20020a056a00134800b003e20c99a7b0mr2460067pfu.62.1629961782763; Thu, 26 Aug
2021 00:09:42 -0700 (PDT)
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CADrxXXkz7PB-cbSOvHciS5Qmf7u=Dp=Xm4-TbtY2-3YG7PFdfw@mail.gmail.com>
 by: Abdur-Rahmaan Janhan - Thu, 26 Aug 2021 07:09 UTC

Greetings,

Cannot read one file in a zip file if the zip file contains multiple files.

This example does not work https://www.py4u.net/discuss/203494 as Pandas
shows a ValueError: Multiple files found in ZIP file. Only one file per ZIP.

If the Zip file has one file, fine else i cannot find a way. Thanks

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor