Title: Improving binout reading performance significantly · Issue #83 · open-lasso-python/lasso-python · GitHub
Open Graph Title: Improving binout reading performance significantly · Issue #83 · open-lasso-python/lasso-python
X Title: Improving binout reading performance significantly · Issue #83 · open-lasso-python/lasso-python
Description: Hello! Not sure if the way it is currently done is for a specific reason, but on my local version of lasso, I was able to significantly improve the reading speed of binout outputs by simply changing, in binout.py, as_df() method, the fol...
Open Graph Description: Hello! Not sure if the way it is currently done is for a specific reason, but on my local version of lasso, I was able to significantly improve the reading speed of binout outputs by simply changin...
X Description: Hello! Not sure if the way it is currently done is for a specific reason, but on my local version of lasso, I was able to significantly improve the reading speed of binout outputs by simply changin...
Opengraph URL: https://github.com/open-lasso-python/lasso-python/issues/83
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improving binout reading performance significantly","articleBody":"Hello! Not sure if the way it is currently done is for a specific reason, but on my local version of lasso, I was able to significantly improve the reading speed of binout outputs by simply changing, in **binout.py**, **as_df() method**, the following:\n\nChange from:\n**for i, j in enumerate(ids):\n df[str(j)] = data.T[i]**\n\nto:\n\n**df = pd.DataFrame(data=data, index=time_pdi, columns=[str(j) for j in ids])**\n\n(Improvement in performance is at least 3x on small binout [~80MB], 30x+ on large databases [multiple GB] - a colleague of mine started reading data before a 1h meeting, the data was still loading after the meeting. I changed the code, read the data in 7 minutes using the above modification, and the old code was not even half-way done). This is especially useful for elout, swforc if there are lots of elements for instance.\n","author":{"url":"https://github.com/marcodesiderio","@type":"Person","name":"marcodesiderio"},"datePublished":"2025-07-18T15:24:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/83/lasso-python/issues/83"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3ea3eb71-9a57-3a88-dee1-7bebc20e9081 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85E0:B8C14:1B9C83C:24BC54B:698D9438 |
| html-safe-nonce | 866ae65aa8a9970dfe139b6869c512a0855b08e653a8074681f82eee4656592f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUUwOkI4QzE0OjFCOUM4M0M6MjRCQzU0Qjo2OThEOTQzOCIsInZpc2l0b3JfaWQiOiIxMDI3MjU2Mzk4MjkzODY1NTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54ae671a67fca944524af56e8542a433b3d3a7452dc4dcd6c110d2a42eb4075c |
| hovercard-subject-tag | issue:3243581716 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/open-lasso-python/lasso-python/83/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9367dc4dc19da51936e4626e5ba515bde09f17c53b936e0bee4bdd02c503d0d1/open-lasso-python/lasso-python/issues/83 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9367dc4dc19da51936e4626e5ba515bde09f17c53b936e0bee4bdd02c503d0d1/open-lasso-python/lasso-python/issues/83 |
| og:image:alt | Hello! Not sure if the way it is currently done is for a specific reason, but on my local version of lasso, I was able to significantly improve the reading speed of binout outputs by simply changin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcodesiderio |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/open-lasso-python/lasso-python git https://github.com/open-lasso-python/lasso-python.git |
| octolytics-dimension-user_id | 114169132 |
| octolytics-dimension-user_login | open-lasso-python |
| octolytics-dimension-repository_id | 540129748 |
| octolytics-dimension-repository_nwo | open-lasso-python/lasso-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 540129748 |
| octolytics-dimension-repository_network_root_nwo | open-lasso-python/lasso-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cefb6b50cb02e85b21d59b711abca4e67e11cf47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width