Timeline for Pandas: select DF rows based on another DF
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 21, 2016 at 15:35 | audit | Suggested edits | |||
| Dec 21, 2016 at 16:54 | |||||
| S Dec 16, 2016 at 16:44 | history | bounty ended | César García Tapia | ||
| S Dec 16, 2016 at 16:44 | history | notice removed | César García Tapia | ||
| Dec 16, 2016 at 11:12 | answer | added | KrysotL | timeline score: 2 | |
| Dec 13, 2016 at 5:30 | answer | added | ptrj | timeline score: 4 | |
| Dec 12, 2016 at 23:56 | comment | added | ptrj |
From what I see, the intervals in df2 are disjoint and sorted. Can you confirm? And what happens if one 10-minute interval from df1 overlaps two intervals in df2 - is it selected twice?
|
|
| Dec 12, 2016 at 5:10 | answer | added | root | timeline score: 9 | |
| Dec 12, 2016 at 2:23 | answer | added | Parfait | timeline score: 2 | |
| Dec 11, 2016 at 20:59 | answer | added | bunji | timeline score: 2 | |
| Dec 11, 2016 at 20:43 | comment | added | César García Tapia | @NickilMaveli Yes, they do. They're 10 minutes intervals, so "01:00:00" goes to "01:09:59", that fits in the 01:03-01:07 interval. | |
| Dec 11, 2016 at 19:30 | comment | added | Nickil Maveli | @César García Tapia, Shouldn't the resulting dataframe consist of just 3 rows in total(1,2,5). (3 and 4 do not fall in the given interval)? | |
| S Dec 11, 2016 at 17:57 | history | bounty started | César García Tapia | ||
| S Dec 11, 2016 at 17:57 | history | notice added | César García Tapia | Draw attention | |
| Dec 7, 2016 at 15:56 | comment | added | César García Tapia | I'm afraid I can't. I thought I had a valid example, though slow, but I realized it's wrong, so I deleted it from the OP, sorry. | |
| Dec 7, 2016 at 15:52 | history | edited | César García Tapia | CC BY-SA 3.0 |
added 57 characters in body
|
| Dec 7, 2016 at 15:26 | history | edited | IanS | CC BY-SA 3.0 |
consistent variable names
|
| Dec 7, 2016 at 15:12 | comment | added | FLab | can you please provide a reproducible example? | |
| Dec 7, 2016 at 15:11 | history | asked | César García Tapia | CC BY-SA 3.0 |