Re: Corrected DateList
- To: mathgroup at smc.vnet.net
- Subject: [mg127328] Re: Corrected DateList
- From: "Benedetto Bongiorno" <bongiob at sbcglobal.net>
- Date: Tue, 17 Jul 2012 01:31:25 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Participants, Found problem. If incorrect string date is in large data set, it will hang up routine without error message. Thank you. Ben From: Benedetto Bongiorno [mailto:bongiob at sbcglobal.net] Sent: Monday, July 16, 2012 9:03 AM To: 'mathgroup at smc.vnet.net' Cc: 'support at wolfram.com' Subject: [mg127328] Corrected DateList Participants, I have had difficulty in using the DateList function. I am to convert string dates "mm/dd/yyyy" to a date list {YYYY,MM,DD,0,0,0}. I have large data sets of approx. 400,000. Using the following routine, Mathematica hangs and does not produce any result. Corrected Routine; lst=Range[1,Length[data]]; ParallelMap[DateList[{data[[#,5]],{"Month","/","Day","/","Year"}}]&,lst] Abort does not work. I need to do a hard Mathematica close. The problem seems to occur when the dataset is between 200,000 and 300,000. The routine has worked with data sets of less than 200,000. Any idea as to what causes the problem? Microsoft 7 (64bit), 18Gigs memory, Intel Xeon Mathematica 8.04 Thank You, Ben Benedetto Bongiorno CPA CRE Cell 214-707-6546 Land 972-470-9138 Fax 972-470-9748 bongiob at sbcglobal.net This Email is covered by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2521 and is legally privileged. The information contained in this Email is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distributions or copying of this communication is strictly prohibited. If you have received this communication in error, please notify sender