Best way to create a Dictionary from file of Key-Value pairs?
From: Equis Uno (ir4u4_at_yahoo.com)
Date: 02/29/04
- Next message: Bart Nessux: "Re: Speed Comparison Perl Python & C"
- Previous message: Bart Nessux: "Re: Speed Comparison Perl Python & C"
- Next in thread: Bob Ippolito: "Re: Best way to create a Dictionary from file of Key-Value pairs?"
- Reply: Bob Ippolito: "Re: Best way to create a Dictionary from file of Key-Value pairs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Feb 2004 12:22:32 -0800
Hi,
Assume I'm given a 100k file full of key-value pairs:
date,value
26-Feb-04,36.47
25-Feb-04,36.43
24-Feb-04,36.30
23-Feb-04,37.00
20-Feb-04,37.00
19-Feb-04,37.87
What is the best way to copy this data into a Dictionary object?
-moi
- Next message: Bart Nessux: "Re: Speed Comparison Perl Python & C"
- Previous message: Bart Nessux: "Re: Speed Comparison Perl Python & C"
- Next in thread: Bob Ippolito: "Re: Best way to create a Dictionary from file of Key-Value pairs?"
- Reply: Bob Ippolito: "Re: Best way to create a Dictionary from file of Key-Value pairs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]