Skip to content

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

@dobos

Description

@dobos

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions