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

upload_frame change temporary csv location on Windows #119

Closed
gygabyte017 opened this issue Jun 21, 2021 · 3 comments
Closed

upload_frame change temporary csv location on Windows #119

gygabyte017 opened this issue Jun 21, 2021 · 3 comments

Comments

@gygabyte017
Copy link

Hi,
I noticed that when upload_frame is called, a temporary csv is created (dataframe -> csv -> upload) on Windows in the Temp folder on C: drive of the user executing the code.

Is that path customizable? I'm asking because usually in a multi partition file system on Windows, like the one I am using, the C: drive is very small sized and reserved to the OS, and a temporary file in there may fill out all the space causing issues with the OS.

Thank you

@kesmit13
Copy link
Contributor

It just uses the standard Python tempfile package which I believe allows you to set an environment variable TMPDIR to point to a new root directory for temp files.

@gygabyte017
Copy link
Author

gygabyte017 commented Jun 21, 2021

I understand, you are referring to https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir right?

I'll try that out and let you know, thank you!

@gygabyte017
Copy link
Author

Everything works as expected, thank you.

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

2 participants