Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx30.am4.POSTED!not-for-mail Received-SPF: unknown (Address does not pass the Sender Policy Framework) SPF=MAILFROM; sender=macek@sandbox.cz; remoteip=::ffff:87.236.197.188; remotehost=; helo=mx.sandbox.cz; receiver=hugo.zagamma.cz; From: =?UTF-8?B?VmzDocSPYSBNYWNlaw==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: cs Received-SPF: unknown (Address does not pass the Sender Policy Framework) SPF=FROM; sender=macek@sandbox.cz; remoteip=::ffff:87.236.197.188; remotehost=; helo=mx.sandbox.cz; receiver=hugo.zagamma.cz; Subject: [python] table querying X-BeenThere: python@py.cz X-Mailman-Version: 2.1.24 Precedence: list List-Id: Konference PyCZ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: cz.comp.lang.python Message-ID: X-Mailman-Original-Message-ID: <018d61d9-21a9-dcdf-943b-f4e37f4e8ed9@sandbox.cz> References: <018d61d9-21a9-dcdf-943b-f4e37f4e8ed9@sandbox.cz> Lines: 17 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Mon, 05 Mar 2018 13:31:58 UTC Organization: usenet-news.net Date: Mon, 5 Mar 2018 14:31:54 +0100 X-Received-Bytes: 2128 X-Received-Body-CRC: 536679450 X-Original-Bytes: 2077 Xref: csiph.com cz.comp.lang.python:3259 Zdar, mějme tabulková data načtená třeba z CSV nebo Google Tabulku. Víte o elegantním nástroji (modulu) pro Python implementujícím jednoduchý dotazovací jazyk? Jako "dej mi všechny řádky, které mají ve sloupci B hodnotu V (příp. regexp), ve sloupci C nemají hodnoty V1 ani V2" atd. Jde mi o etablovanou věc. Ne něco spíchnutého pro vlastní potřebu a hrdě zveřejněného, aby si autor otestoval psaní setup.py. :-) Díky, V.