From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uBYpJh393mS6XwAASxT56A (envelope-from ) for ; Fri, 18 Aug 2023 07:09:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cIZCJh393mQeEgAA9RJhRA (envelope-from ) for ; Fri, 18 Aug 2023 07:09:49 +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 1BF4054B55 for ; Fri, 18 Aug 2023 07:09:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DPDfbg7D; 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=1692335389; 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=Bo7pvnk50tO+VWnbmtGVFoF+kbhOFAnzudPuY2J3uts=; b=TxV4NvYj01QufRP3D+WPd7qbs8xFaOf7lfjjT/GJo/cyHLgXsVO6BkVOb37oFSECRhiRzk 25QCNL7e54rufI3pqD8aaH9WEiJsVMzze5WDxk9xYkVG5rPVbbEIa1TSzT1jm0MzMXGIv9 +wdAILYPRAnJM0BTfK42caHtY212kqByGF4ZXmoH6X77C8LqdWW4iEjEa3nhxCxshX4bkI 3LWg4iJEaIuQKbqsPViKf1U6vboSnxowxTJR2iDR+fu/1f1mKANThZQMGR0EwMRUVD9L0H rGSb5WYodAwqYb/CgC5bIqYJB1ThBabofrR2g+6aZAxj4hdbjnjV+nUMx9Cayw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692335389; a=rsa-sha256; cv=none; b=bNHLWWadkst3F++dNalFOVbUv+tEfOoCA1FGYQLI7itpulUWtos8KseO6FBNRzGLI4gIen UUz93fPgjAzBPliOLArKdvzSansPuT6OuE5EAe8Q8Zsr2n+2NVWvvZSncvU83x1NfA9FVk 6RimgC46O80J2/TBb2qLPWkAVmwf2HjDdRqnkVkFG8adsUJLVqPm5X8SAQTkCSBcqMl02d OBYGWLrSLFZaCOSPrUES5YoQtFkqeA8iFVetaVHEkuKZPH0XriCcUZCdnfaxS8MNVICRqF ys5f3dO7AnsWzF7vkQLk5TosxdeML171jBTnU9hvBXjxuu/mfvsrgzU5u/n+Kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DPDfbg7D; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWrEx-0005vC-Sw; Fri, 18 Aug 2023 00:37:41 -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 1qWrEv-0005ue-VC for emacs-orgmode@gnu.org; Fri, 18 Aug 2023 00:37:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWrEt-00007p-38 for emacs-orgmode@gnu.org; Fri, 18 Aug 2023 00:37:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C256E240028 for ; Fri, 18 Aug 2023 06:37:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692333452; bh=rbrw275HT/yMuDNTw3RzoWHk+YNYQefM5siFO5XiCUs=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Cc:Subject: Message-ID:From; b=DPDfbg7DT4lq2oeuhbNJsxU30e3FntG4io3rTv4oX6qANX3NBbY9LJx6P45G9DyeQ 0AUVeXejRrjMcCCJtbqAG4JUzxucova/jLzQtJP5MmnCpWtNNTQUSDsJMJl16goYaA LJLvC6SycLCOvr1zvb2WAn1xYDJlJ/42fX6Jm5sMPIBkSHbiZPUpuHDhfuzzY9aMPf lTJs8vjnvo2oAunig/fp5SsGyy35yjk49bd+eFDlPXFDXsOn/Kv8EdLNj29EtrFpgb Sx9OJ0qlgDC0HdKfuvex3hHxblyaMaa2CyvUQb4E6zUvzget2nR5UXB6m7mJA32MrR YA9KTSodoTgRA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RRpy429nyz6tvJ; Fri, 18 Aug 2023 06:37:32 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Aug 2023 04:37:32 +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: <877cptrhry.fsf@localhost> References: <87a5ur6f7w.fsf@gmail.com> <871qg3pc2o.fsf@localhost> <87350i9uwv.fsf@gmail.com> <9948eae293cae8766808778d6390eb64@posteo.net> <877cptrhry.fsf@localhost> Message-ID: Received-SPF: pass client-ip=185.67.36.65; envelope-from=gerard.vermeulen@posteo.net; helo=mout01.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=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.48 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 1BF4054B55 X-Spam-Score: -6.48 X-TUID: dc7iJS1wojZb 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.