question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to delete a feather file (whose creation has been aborted)?

See original GitHub issue

Hello there,

Thanks for this amazing format. I really like the interoperability between Python and R.

I wonder if the following is a bug. When I create a large file with pandas and I write to disk using to_feather, then killing the processing makes me UNABLE to delete the file from my folder.

Windows complains that the file is still in use in python (although the processing has stopped permanently). This is annoying because it seems I must restart my session to “break” the link with Python.

Am I missing something here? Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
wesmcommented, Oct 10, 2018

I’m not sure; Windows can be quite difficult about these things. If writing a Feather file fails for some known reason (e.g. an exception is raised), then the code will delete the file. If the process is killed while the file is being written, then I’m not sure. It’s not really a Feather-specific issue

0reactions
wesmcommented, Apr 10, 2020

I think this is addressed by the arrow Feather functions now. Closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feather File Format — Apache Arrow v10.0.1
Feather is a portable file format for storing Arrow tables or data frames (from languages like Python or R) that utilizes the Arrow...
Read more >
Taking the Trade: Abortion and Gender Relations in an - JSTOR
I have found two references to the use of an abortifacient in colonial Connecticut court files. Doubtless, other accounts of abortion attempts for...
Read more >
14th Amendment US Constitution - GovInfo
citizens of the United States, corporations accordingly have been declared ... sociation has failed to file its constitution and membership lists); Palko v....
Read more >
The echo chamber effect on social media - PNAS
Echo chambers have been shown to exist in various forms of online media such as blogs ... We select one dataset for each...
Read more >
AVMA Guidelines for the Euthanasia of Animals: 2020 Edition*
the purpose of creating guidelines for veterinarians who carry out or oversee the euthanasia of ... ods, techniques, and agents of euthanasia have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found