Title: CasJobs client returns string columns typed as 'object' instead of 'str' when format='pandas' · Issue #8 · sciserver/SciScript-Python · GitHub
Open Graph Title: CasJobs client returns string columns typed as 'object' instead of 'str' when format='pandas' · Issue #8 · sciserver/SciScript-Python
X Title: CasJobs client returns string columns typed as 'object' instead of 'str' when format='pandas' · Issue #8 · sciserver/SciScript-Python
Description: Try this in a notebook: df = CasJobs.executeQuery(sql="SELECT TOP 1 run2d FROM SpecObj", context='DR16', format="pandas") print(df['run2d'].dtype) The column type should be 'str' and not 'object'
Open Graph Description: Try this in a notebook: df = CasJobs.executeQuery(sql="SELECT TOP 1 run2d FROM SpecObj", context='DR16', format="pandas") print(df['run2d'].dtype) The column type should be 'str' and not 'object'
X Description: Try this in a notebook: df = CasJobs.executeQuery(sql="SELECT TOP 1 run2d FROM SpecObj", context='DR16', format="pandas") print(df['run2d'].dtype) The column typ...
Opengraph URL: https://github.com/sciserver/SciScript-Python/issues/8
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CasJobs client returns string columns typed as 'object' instead of 'str' when format='pandas'","articleBody":"Try this in a notebook:\r\n\r\n```\r\ndf = CasJobs.executeQuery(sql=\"SELECT TOP 1 run2d FROM SpecObj\", context='DR16', format=\"pandas\")\r\nprint(df['run2d'].dtype)\r\n```\r\n\r\nThe column type should be 'str' and not 'object'","author":{"url":"https://github.com/dobos","@type":"Person","name":"dobos"},"datePublished":"2020-03-13T18:59:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/SciScript-Python/issues/8"}
| 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:b78df098-90e9-abe1-6379-ddb79abdcef1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E012:3CE303:597B6F:7E2244:696F3A23 |
| html-safe-nonce | fb97cbcaba0770f479c61eb80b646db0c17207598b01aaa872fb5a7236fe2422 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDEyOjNDRTMwMzo1OTdCNkY6N0UyMjQ0OjY5NkYzQTIzIiwidmlzaXRvcl9pZCI6IjgyMDE4MjQ2NTg2NTk0MjQ4MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6bc0d6d9d85074e6768653c0d5c2dc7717b6122b29779182c3052c1e3ebffa55 |
| hovercard-subject-tag | issue:580785436 |
| 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/sciserver/SciScript-Python/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3309b9f090e1c7434eadf9fa38df0eeb835adc9f9b47d78896740ddf83b08c3/sciserver/SciScript-Python/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3309b9f090e1c7434eadf9fa38df0eeb835adc9f9b47d78896740ddf83b08c3/sciserver/SciScript-Python/issues/8 |
| og:image:alt | Try this in a notebook: df = CasJobs.executeQuery(sql="SELECT TOP 1 run2d FROM SpecObj", context='DR16', format="pandas") print(df['run2d'].dtype) The column type should be 'str' and not 'object' |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dobos |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/sciserver/SciScript-Python git https://github.com/sciserver/SciScript-Python.git |
| octolytics-dimension-user_id | 15526376 |
| octolytics-dimension-user_login | sciserver |
| octolytics-dimension-repository_id | 50931595 |
| octolytics-dimension-repository_nwo | sciserver/SciScript-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50931595 |
| octolytics-dimension-repository_network_root_nwo | sciserver/SciScript-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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width