Python Forum
Transform list or set regardless of nesting structure
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transform list or set regardless of nesting structure
#1
Hi,

is there a convenience function that iterates over arbitrarily nested lists, i.e. lets one transform the 'nodes' without worrying about the nesting structure?.
Reply


Messages In This Thread
Transform list or set regardless of nesting structure - by blubb - Mar-10-2020, 02:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Transform 3 Columns into Single Column DaveG 9 3,598 Mar-19-2025, 03:46 AM
Last Post: robbert23
  Transform a pdf to markdown zzied 0 354 Feb-11-2025, 10:22 AM
Last Post: zzied
  [SOLVED] Looking for documentation on Reportlab's canvas.transform() function NeilUK 1 1,505 Aug-23-2023, 01:21 PM
Last Post: NeilUK
  Transform Dic to dataframe d9d9d 4 2,444 Apr-14-2022, 09:35 AM
Last Post: perfringo
  How to transform from wide to long format in python shantanu97 1 2,377 Nov-21-2021, 11:53 AM
Last Post: buran
  List structure lost when multiplying Protonn 2 3,084 Apr-23-2020, 04:16 AM
Last Post: buran
  Python script that recursively zips folders WITHOUT nesting the folder inside the zip umkc1 1 4,523 Feb-11-2020, 09:12 PM
Last Post: michael1789
  Most efficient way of reshaping a list-array structure midarq 2 2,798 Sep-25-2019, 09:32 AM
Last Post: midarq
  Transform simplified dictionary to nested dictionaries bhojendra 1 2,993 Jul-02-2019, 02:05 PM
Last Post: ichabod801
  Copy List Structure leoahum 2 3,553 Mar-22-2019, 05:40 PM
Last Post: leoahum

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020