From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CBbsBHUJ32QxTAEASxT56A (envelope-from ) for ; Fri, 18 Aug 2023 08:02:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yN0EBXUJ32QdwAAA9RJhRA (envelope-from ) for ; Fri, 18 Aug 2023 08:02:29 +0200 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 5668738E13 for ; Fri, 18 Aug 2023 08:02:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dvq9vwTW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692338548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=m1hNFapXvXdcv/1iH/JRIHpFs57K6jNXraT74am/C9k=; b=n5Oei9Jp/RXnqNOr754XRorEYfyDaT6a1lxwQSEW1q98eaU+Y2MJlNXf72kUj57T7QdtEl sGmR+qg+/Pzvbr1yDFokM/R7n5CaXpdz3LczJSQxoKdcxAN2jus9avnS0aq5rnmPMH3q6x gbJ64waOOET0qBvU+Z+ASUfTOgyOCSUJd9RlcYfz1wEjXqAUshK/f0lVU+CxbKmfIGdMZt 6Qju6VY3yMWjsjGsQu4MKAi/W4pYROCnHhyrYiQdanqAf0233XMswXswZFrwbRAmwZq5Cs QvzcJq3cfjDlEksyTfrl3LWymr2q+iPQhUtcUUKuFVKk2qC6xxWXBkcD8bv3Ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dvq9vwTW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692338548; a=rsa-sha256; cv=none; b=QlN+6AxswIufull+KywGeTw02l08GSb/tknUEvlJWUZSIFLEcNGLNXmM832szJcspiUQnZ RxECdDDAu6NBk0feOwWSyHn+3+nwZtACand2ki1MoUFWacEdTqp1by5r355Mb2C17aWtkR UHX7gS67Z/w00L+9/pWveWryghJBK1CFDAToW3i7OzPaO1G6W8ZTuCpsDXMTjAAM2zkc9G FU8xGGkBSubO0CUx70fbCwnn8KKOwgpIcAG2i3Hv9RWQ1YsfN9UzY4IvqfSEMViZUes04H FmZATuRMgehUDSJHrJgY9Y+GW1JuCmivHtpb4ReQZ1gOF5lgJqetWSHy6yp7Sw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWsY5-0002tw-L5; Fri, 18 Aug 2023 02:01:29 -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 1qWsY2-0002sK-Qy for emacs-orgmode@gnu.org; Fri, 18 Aug 2023 02:01:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWsXz-0001sT-2O for emacs-orgmode@gnu.org; Fri, 18 Aug 2023 02:01:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C525A240105 for ; Fri, 18 Aug 2023 08:01:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692338480; bh=7y70no4WxTTizK2X5ZM5aAXW/501pWlgEyQ3lUoTSOU=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Cc:Subject: Message-ID:From; b=dvq9vwTWUmO63Dit4bMfdkGOhqmGakLDiGSZ8n4Rt+yva4fPqMzhYU3pRYX1C3mbV Ud2oeWafxossBnsYbJazCv+hvxUNQqv4lRA+hmpDYhT3G8yGvKnGpep26tz1NEGIJR K+PgW56vhaS1ITf2BSmJw7j7sHt1C8rEPqC/1cSpGcKg1bOUqHpcCqjvs8b2QP6Esj 24lp9HICOkGp9dGnDqMNQRcJ0fM29ePsTeCWxNLXdYzTgC4Z7TMdQejBhFoIE9H8mt zyqdRHQXgzISOvBBU6dehEPf9AXkL8jMYiQaiPYHf51VtXBLm0ZGu/BzVlGhm+fJAC pz70GjDMRHnsg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RRrpm2FMFz6tmv; Fri, 18 Aug 2023 08:01:20 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Aug 2023 06:01:20 +0000 From: gerard.vermeulen@posteo.net To: Ihor Radchenko Cc: Jack Kamm , emacs-orgmode@gnu.org, Liu Hui , emacs-orgmode-bounces+gerard.vermeulen=posteo.net@gnu.org Subject: Re: [PATCH] ob-python results handling for dicts, dataframes, arrays, and plots In-Reply-To: References: <87a5ur6f7w.fsf@gmail.com> <871qg3pc2o.fsf@localhost> <87350i9uwv.fsf@gmail.com> <9948eae293cae8766808778d6390eb64@posteo.net> <877cptrhry.fsf@localhost> Message-ID: <1285cc3df3c21b158fdd41b24d3c7a68@posteo.net> Received-SPF: pass client-ip=185.67.36.66; envelope-from=gerard.vermeulen@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.59 X-Spam-Score: -5.59 X-Migadu-Queue-Id: 5668738E13 X-Migadu-Scanner: mx1.migadu.com X-TUID: OgRgSjajx+m3 On 18.08.2023 06:37, gerard.vermeulen@posteo.net wrote: > On 17.08.2023 14:10, Ihor Radchenko wrote: >> gerard.vermeulen@posteo.net writes: >> >>> Your patches allow anyone to change >>> org-babel-python--def-format-value. >>> For instance, I want to use black to "pretty-print" certain tree-like >>> structures >> >> May you simply add an extra code to transform output as needed? > > Yes, it is a way to switch between Jack's first and second set of > patches if > one would like. Or to add code to transform other Python data > structures. I take back the switching between Jack's first and second set of patches, but I stand by "to add code to transform other Python data structures".