MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

DateList

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127325] DateList
  • From: "Benedetto Bongiorno" <bongiob at sbcglobal.net>
  • Date: Tue, 17 Jul 2012 01:30: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,

 

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.

 

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


  • Prev by Date: Re: Massive memory issues when using Det
  • Next by Date: Corrected DateList
  • Previous by thread: Re: IsoWeek Function
  • Next by thread: Corrected DateList