Skip to content

wrap json in StringIO so pandas doesn't complain#930

Merged
wakamex merged 1 commit intomainfrom
wrap_json_in_stringio
Sep 29, 2023
Merged

wrap json in StringIO so pandas doesn't complain#930
wakamex merged 1 commit intomainfrom
wrap_json_in_stringio

Conversation

@wakamex
Copy link
Copy Markdown
Contributor

@wakamex wakamex commented Sep 29, 2023

avoids this warning: FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future versio n. To read from a literal string, wrap it in a 'StringIO' object.

checked to see if this was the reason my test was failing. it wasn't.

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
elf-simulations ✅ Ready (Inspect) Visit Preview Sep 29, 2023 7:52pm

Copy link
Copy Markdown

@slundqui slundqui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wakamex wakamex merged commit 7731127 into main Sep 29, 2023
@wakamex wakamex deleted the wrap_json_in_stringio branch September 29, 2023 23:53
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

Successfully merging this pull request may close these issues.

2 participants