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

fix: support numpy arrays in span to json encoder #2583

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

RogerHYang
Copy link
Contributor

@RogerHYang RogerHYang commented Mar 14, 2024

numpy arrays in spans can exist when user loads data from a parquet file that's generated from pyarrow, which turns lists into ndarrays. In order to export spans containing these numpy elements via get_spans_dataframe, we need convert these numpy objects in the span to json encoder.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 14, 2024
@RogerHYang RogerHYang merged commit 3a297d5 into main Mar 14, 2024
16 checks passed
@RogerHYang RogerHYang deleted the support-numpy-arrays-in-span-to-json branch March 14, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants