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: github.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:5fd27e31-b2ca-2adf-f993-1aa762e8739f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB3A:6517B:189B69:213ABB:698E16C5 |
| html-safe-nonce | 9cf69fb0ff6a82f5e245635227bec7ce1d79ea8a7451884432cfec49aa2acff2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjNBOjY1MTdCOjE4OUI2OToyMTNBQkI6Njk4RTE2QzUiLCJ2aXNpdG9yX2lkIjoiMzQ5OTYzMjg5ODkzOTQyNjUwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3658224fb00d253f8fef5bb67b7b9e8f6b50f78f836d2e632c30ef5548059b52 |
| 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 | 52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296 |
| 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 | 301a1d7743177dcb7528b1322117cdafeda8ff08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width