The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Removing rows from a table
Replies: 3   Last Post: Nov 21, 2012 7:51 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 11/18/12
Removing rows from a table
Posted: Nov 18, 2012 5:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Total nubie here and struggling!

I have a dataset of approximately 100,000 records of data points recorded at 15 minute intervals. Each row looks something like this:

{"01/01/2010 06:15", 0.04375, 4.96188, 1.00885, 0, 0, 0}

I've worked out how to parse the date column so that seems to be under control but now I have a list of date ranges that I need to remove from the dataset. The date ranges to be removed look something like this:

{{2010, 2, 1, 12, 0, 0.0}, {2010, 2, 15, 12, 0, 0.0}},
{{2010, 7, 1, 12, 0, 0.0}, {2010, 7, 15, 12, 0, 0.0}}

with the first column representing the start date of the block to be removed and the second column representing the end date of the block, multiple rows represent multiple blocks to be removed and the total number of blocks is variable.

Ideally I'd like to be able to use Drop or Delete to remove the offending blocks of data but I want to be able to somehow feed the command with the date range table and have it remove the ranges all in one go.

I'm not having much luck working this out for myself and would love to get a few pointers.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.