#🔒 Streamlit issues, converting a .csv dataset into a JSON file, stuck

12 messages · Page 1 of 1 (latest)

neon harbor
#

Since the REPO is private I cannot share it, when you are able to help me I will send you a .zip with the repo in it, if that is oke.

Here’s the issue:

I’m testing with the Iris dataset.
The CSV gets saved in objects/datasets, but something’s going wrong when it’s being converted to JSON.
When I try to preview the dataset, it throws an error and doesn’t work.
I’ve been debugging for a while now, but I’m completely stuck and feeling a bit lost. Even asking GPT what could be wrong is not helping me. If you have time, I’d really appreciate your help to figure this out!

wild swanBOT
#

@neon harbor

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

neon harbor
#

It saves the csv itself correctly, but when going back it will give an error because it just not converst to json ...

#

.close

limber nexusBOT
#
Did you mean:
neon harbor
#

?close

remote voidBOT
#

This is not a Modmail thread.

neon harbor
#

!close

wild swanBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.