Welcome to the new Box Support website. Check out all the details here on what’s changed.

Uploading Data (not a file) to a Box file

Completed
New post

Comments

2 comments

  • France

    Hi Gary, 

    Welcome to the Box Community, I'm happy to help!

    This would be something our Product Support team would like to look into and may require specific account information. 

    I've gone ahead and created a ticket for you so that an agent can work directly with you on looking into this. 

    Kindly check your email for details and updates.

    Best regards, 

    0
    Comment actions Permalink
  • Gary Culshaw

    I have the answer!

     

        csv_string = df.to_csv(index=False)
        stream = StringIO()
        stream.write(csv_string)
        stream.seek(0)
        new_file = client.folder(Box_Folder_ID).upload_stream(stream,Name_of_Box_File)

     

    0
    Comment actions Permalink

Please sign in to leave a comment.