Timeline for Creating multiple observations from single observation depending on conditions
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 20 at 1:16 | answer | added | Reinderien | timeline score: 2 | |
| Jan 4, 2019 at 12:00 | history | tweeted | twitter.com/StackCodeReview/status/1081158441148841987 | ||
| Oct 15, 2016 at 1:47 | comment | added | Parfait |
How slow? I re-worked your script and got it down to 5 lines and one for loop with a couple of list comprehensions. While it may look more elegant than yours, your function is 5 times faster! However, your START_MINUTE is a running count of all records not just for each corresponding row of original df.
|
|
| Oct 14, 2016 at 19:20 | comment | added | Dair |
Have you tried using pypy instead of CPython, pypy excels at repeated calls because of the JIT (the only thing that might give it trouble is Pandas). See my answer here: codereview.stackexchange.com/a/144196/82612 ~10x perfomance increase only switching from CPython to pypy.
|
|
| Oct 14, 2016 at 15:13 | comment | added | Peilonrayz♦ | @Bey The description of the tag performance answers your first two questions: "Performance is a subset of Optimization: performance is the goal when you want the execution time of your program or routine to be optimal." | |
| Oct 14, 2016 at 15:02 | comment | added | user83808 | Optimize for what? Speed or memory? Are either giving you issues? | |
| Oct 14, 2016 at 14:48 | history | edited | Graipher | CC BY-SA 3.0 |
try to break up bottom block into sensible paragrapsh, fixing grammar
|
| S Oct 14, 2016 at 14:42 | history | edited | mdfst13 | CC BY-SA 3.0 |
I have changed headline. also data attached
|
| S Oct 14, 2016 at 14:42 | history | suggested | user3153140 | CC BY-SA 3.0 |
I have changed headline. also data attached
|
| Oct 14, 2016 at 13:34 | review | Suggested edits | |||
| S Oct 14, 2016 at 14:42 | |||||
| Oct 14, 2016 at 13:17 | review | First posts | |||
| Oct 14, 2016 at 14:32 | |||||
| Oct 14, 2016 at 13:15 | history | asked | Ahmed | CC BY-SA 3.0 |