Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 how to list/count the number of dictionaries
#1
Hi all

I'm using dictionaries to record physical quantities (tensors, vectors, scalars) from a (huge) Ascii file.
After reading, I've several dictionaries I would like to record (in a hdf5 file); obviously their number differs from a result file to another one

From a single dictionary, we can find a lot of materials saying how to list, count, get keys and values, but I haven't found so far a way to count and list the number of distionaries I have: how to proceed?

Thanks for your support

Paul
Quote
#2
please, show your code, i.e. how you create your dicts
Quote
#3
Sorry I understand my mistake (I've been confused)

Basically I just need to create a list where all dictionaries are recorded and called afterward Sick
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  List and Dictionaries with Pandas Balinor 3 586 Aug-20-2018, 10:47 PM
Last Post: ichabod801
  Finding date count from a list of date range in pandas trillerducas72 0 697 May-24-2018, 02:30 AM
Last Post: trillerducas72

Forum Jump:


Users browsing this thread: 1 Guest(s)