From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YOI2EyhXJmeXrwAAqHPOHw:P1 (envelope-from ) for ; Sat, 02 Nov 2024 16:45:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YOI2EyhXJmeXrwAAqHPOHw (envelope-from ) for ; Sat, 02 Nov 2024 17:45:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=C+EEagjS; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=lLN3J3cl; dmarc=pass (policy=none) header.from=adamkovic.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730565928; a=rsa-sha256; cv=none; b=SPP582QFy1WYKDCLFEzFxPBrAne3eOKkqClrZv+/8IdF1IKhAkn+aXit0nDzXxxij50aQW MVN2+VEv4MlUfIUs0OuOPbADJYkgI22fFMfcqU3sM2eh0TgcuKaK1ScCyJ/aki56Q1ext3 unN/kqg29LQmhEKJ6YFS5XwWc5kvu0Y8qHykDUKyFyUYs7lEMLnzBcVo94O3vUTUZUHUkX d20+PI0YxTWtC5uYuOiE+fdjGN0x/3AqqhJ05HQ84u0raeK8zyVwtgLl8sKydN2K2xcGFo NucynErbNLMiS9mk6U5S0+Ac9uwNXFCuBalm4KZu/fxE1i1SGGyCu8puOCNwqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=C+EEagjS; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=lLN3J3cl; dmarc=pass (policy=none) header.from=adamkovic.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730565928; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=C6qG6Ie4ClPJp2LLEAie1z9H4Q8pYrBZFVR8CVMVp2E=; b=LOkjrm8FYyA5BayGnaJQJsQmgPaLXLgDsypLaXVM6omLaE0ASfNUMD+vk8xJhDm5z51dG8 GyaSPzPhrRrrZUaoYkxY12r1StMkQSDfuCRfGM2RCHrFL9uN95KclM6EgdABB8a4L4ThNd +HxRl4bRBpBYM/CEN1dlUnrrBD1WQbiCsWvTAeD6UK3SbqqIGGogVGhvruvtmPZRQQGbhs Nvejx6pPuoR+D1pEePWSeNE5cCZjtc/Rz9IG/0OIbKhNqtrsd++8w3zFlp0lWkG/Z/HPnX OnHxOmx7lU2VL13XCiE5CDbuuGXEUJXz/LVC6byDNeRdpmi3vGythz1L4+wg+w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47D481FF06 for ; Sat, 02 Nov 2024 17:45:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7HEt-0002zD-RU; Sat, 02 Nov 2024 12:44:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7HEt-0002z2-6M for emacs-orgmode@gnu.org; Sat, 02 Nov 2024 12:44:39 -0400 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7HEr-00078m-0y for emacs-orgmode@gnu.org; Sat, 02 Nov 2024 12:44:38 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 49C6913801DA for ; Sat, 2 Nov 2024 12:44:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Sat, 02 Nov 2024 12:44:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1730565876; x=1730652276; bh=C6 qG6Ie4ClPJp2LLEAie1z9H4Q8pYrBZFVR8CVMVp2E=; b=C+EEagjScVq6jJ9FLu zyvfXlMdauosQ1HWI1dc9ouyRNxER5P1O1KgKcK8j3q6xgcMOLjLeMyGv46bv0cx Z+buUInnk81SjyAZ5HaRhc9x5/btFRfyVpCws8HATkJhl74MmRSGDGlqbH0NzFRt ObbMtXUeQbjyd0PBspWXxmbGffx9G/VCEpLPJue7kOOaCU1E+AEHCVYG7pTPMAeO hpeapEQyhYuJ+qAgtDzg/0t3O+iIZ/llFYNfKAy0guDxcWuIWg09tEqhvKRsRll3 YwEnTZgFs4aMo9XU4xZcPd6t86lPVr+28ii7f/kxXU9NPUFP2D0bl0VEayhSrxtA PQUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1730565876; x=1730652276; bh=C6qG6Ie4ClPJp2LLEAie1z9H4Q8pYrBZFVR 8CVMVp2E=; b=lLN3J3clCZ2TGDpkdgc0rtHHybHCOlesaRMvlL+qpyokHu6ugtk xjLhkgpbBTqFx5SRy4kyB9xqNMemu25Nb5MxzsNN7mKV21Bw8Qgm6TrlUG+MX0+6 0NPgMytWMaWnHAJ/hJL7wVSApYYsFWAkxNtOMBcxsVX1vvLw8LK5i+nkUBcDd8VL f/jcfprCrZ+3QYW9cy9sBrAGEZlh/tsWT8LeZYY4F14AEuwLyMDmttYt+z2VfVFs dLEB9lUoLcMtxk2HtRwe3lc4358mu2yoG1t5kxkQvNc3IRLJavLi/fjW4Q5XqZ+a wfLxbIxGBLTQqDwhoKDPTwosiOURXs5rqWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeluddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkgggtgfesthhqredttddtjeenucfhrhhomheptfhuugholhhfucetuggrmhhkohhvihgt uceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtthgvrhhnpe dttdefgfevgedtveegvddvudffjefggeeuhfejkeefteegvdduveevfeefgeehleenucff ohhmrghinhepshhtrggtkhhovhgvrhhflhhofidrtghomhdprggurghmkhhovhhitgdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehr uhguohhlfhesrggurghmkhhovhhitgdrohhrghdpnhgspghrtghpthhtohepuddpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdr ohhrgh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 2 Nov 2024 12:44:35 -0400 (EDT) From: =?utf-8?Q?Rudolf_Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Fix "inverted" behavior of `colnames' header argument Date: Sat, 02 Nov 2024 17:44:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.150; envelope-from=rudolf@adamkovic.org; helo=fout-a7-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.25 X-Spam-Score: -6.25 X-Migadu-Queue-Id: 47D481FF06 X-Migadu-Scanner: mx10.migadu.com X-TUID: XXbnEvIIZqRq When loading Org tables into Pandas data frames, the `colnames' does exactly what it should not, in that "yes" means "no" and vice versa: =3Dcolnames=3D set to =3Dyes=3D: =20=20 #+HEADER: :colnames yes #+HEADER: :session *Python* #+HEADER: :var INPUT =3D 20a0ea41-3669-482c-989e-d28486d5d400 #+BEGIN_SRC python import pandas as pd pd.DataFrame(INPUT) #+END_SRC =20=20 #+RESULTS: : 0 1 : 0 10 20 : 1 30 40 =20=20 =3Dcolnames=3D set to =3Dno=3D: =20=20 #+HEADER: :colnames no #+HEADER: :session *Python* #+HEADER: :var INPUT =3D 20a0ea41-3669-482c-989e-d28486d5d400 #+BEGIN_SRC python import pandas as pd pd.DataFrame(INPUT) #+END_SRC =20=20 #+RESULTS: : 0 1 : 0 A B : 1 10 20 : 2 30 40 Confirmed on Stack Overflow (Sep 1, 2023): https://stackoverflow.com/a/67091398/1306956 Rudy --=20 "I love deadlines. I love the whooshing noise they make as they go by." --- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org