Python Forum
Newbie question to show nested namedtuple list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie question to show nested namedtuple list
#4
(Dec-18-2017, 10:53 PM)mpd Wrote: A dict would probably be more appropriate in the case. You could map salesperson to sales. But perhaps that violates a constant... Is this an assignment?
Hello,
As I am rather new for python programming, could you show me the code what you can do this with a dict?
Thanks,
Reply


Messages In This Thread
RE: Newbie question to show nested namedtuple list - by zydjohn - Dec-18-2017, 11:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How is pandas modifying all rows in an assignment - python-newbie question markm74 1 704 Nov-28-2023, 10:36 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 695 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Newbie question about switching between files - Python/Pycharm Busby222 3 622 Oct-15-2023, 03:16 PM
Last Post: deanhystad
  Newbie.... run for cover. OpenCV question Stevolution2023 2 990 Apr-12-2023, 12:57 PM
Last Post: Stevolution2023
  List all possibilities of a nested-list by flattened lists sparkt 1 923 Feb-23-2023, 02:21 PM
Last Post: sparkt
  numpy newbie question bcwilly_ca 4 1,193 Feb-10-2023, 05:55 PM
Last Post: jefsummers
  Сheck if an element from a list is in another list that contains a namedtuple elnk 8 1,853 Oct-26-2022, 04:03 PM
Last Post: deanhystad
  PIL Image im.show() no show! Pedroski55 2 976 Sep-12-2022, 10:19 PM
Last Post: Pedroski55
  Updating nested dict list keys tbaror 2 1,290 Feb-09-2022, 09:37 AM
Last Post: tbaror
  PIL Image im.show() no show! Pedroski55 6 4,942 Feb-08-2022, 06:32 AM
Last Post: Pedroski55

Forum Jump:

User Panel Messages

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