Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create new dictionary
#3
(May-06-2022, 10:25 AM)ibreeden Wrote:
(May-06-2022, 07:05 AM)angus1964 Wrote: Can I easily create ...
Sure you can, you just showed how to do it. But what are you trying to accomplish? At first sight it does not seem to be practical.

The main thing I am asking is there a way to merge the first two dictionaries to create the third one, ideally the values would be in a tuple as I'm looking to pass it into a Pandas dataframe to use in Tkinter.
Reply


Messages In This Thread
Create new dictionary - by angus1964 - May-06-2022, 07:05 AM
RE: Create new dictionary - by ibreeden - May-06-2022, 10:25 AM
RE: Create new dictionary - by angus1964 - May-06-2022, 12:11 PM
RE: Create new dictionary - by snippsat - May-06-2022, 12:44 PM
RE: Create new dictionary - by angus1964 - May-07-2022, 05:06 AM
RE: Create new dictionary - by perfringo - May-08-2022, 11:47 AM
RE: Create new dictionary - by snippsat - May-08-2022, 12:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create new dictionary angus1964 2 1,354 May-06-2022, 02:14 PM
Last Post: deanhystad
  Create a dynamic Menu from a editable Dictionary. KiNeMs 1 2,354 Jan-28-2020, 04:27 AM
Last Post: Larz60+
  Need to create a dictionary from a *.csv 74razor 5 3,127 Dec-18-2019, 08:57 PM
Last Post: ichabod801
  Create a dictionary from a list klllmmm 3 3,034 Oct-06-2019, 05:50 PM
Last Post: Gribouillis
  Create XML from dictionary pygrrrl 7 127,599 Jul-29-2019, 08:33 PM
Last Post: pygrrrl
  Better way to create nested dictionary with defaultdict() x2mlh 8 21,932 Nov-30-2017, 08:10 PM
Last Post: buran
  create dictionary from **kwargs that include tuple bluefrog 2 5,012 Oct-26-2016, 10:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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