Skip to main content
8 events
when toggle format what by license comment
Apr 25 at 18:52 answer added J_H timeline score: 2
Dec 23, 2022 at 15:31 comment added J_H Your stated goal is enhancing performance, reducing the time spent. Yet you didn't tell us where the code is spending its time. Update the question to include cProfile output. We could guess, but it's better to know. Your builder calls quote & dump 1e7 times. Consider calling them just once on the final result. There's at least two ways to call the DataFrame() ctor. Rather than building a pair of accounts_table lists, consider building a list of 1e7 two-element dicts. Prefer literal_eval to eval
Dec 23, 2022 at 13:47 history edited Zach CC BY-SA 4.0
added 20 characters in body
Dec 23, 2022 at 13:43 history edited Zach CC BY-SA 4.0
edited title
Dec 23, 2022 at 12:19 comment added Toby Speight Welcome to Code Review! The current question title, which states your concerns about the code, is too general to be useful here. Please edit to the site standard, which is for the title to simply state the task accomplished by the code. Please see How to get the best value out of Code Review: Asking Questions for guidance on writing good question titles.
Dec 23, 2022 at 6:55 history edited JimmyHu
Add "performance" tag
S Dec 23, 2022 at 6:53 review First questions
Dec 23, 2022 at 6:55
S Dec 23, 2022 at 6:53 history asked Zach CC BY-SA 4.0