Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CasJobs client returns string columns typed as 'object' instead of 'str' when format='pandas' #8

Open
dobos opened this issue Mar 13, 2020 · 0 comments

Comments

@dobos
Copy link
Member

dobos commented Mar 13, 2020

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant