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

query_lightcurve in pandas format giving weird result #9

Open
cvalenzu opened this issue Mar 16, 2021 · 0 comments
Open

query_lightcurve in pandas format giving weird result #9

cvalenzu opened this issue Mar 16, 2021 · 0 comments

Comments

@cvalenzu
Copy link
Contributor

The result of the following

data = alerce.query_lightcurve("ZTF18abbuksn", format="json")

Is a dataframe with one row and two columns (detections and non_detections)

Out[42]: 
                                          detections                                     non_detections
0  [{'mjd': 58286.42961810017, 'candid': '5324296...  [{'mjd': 58288.435289400164, 'fid': 1, 'diffma...

Maybe it should be a dictionary with one dataframe for each result or a dataframe with dataframes.

@dirodriguezm dirodriguezm transferred this issue from another repository Mar 26, 2021
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