Edit a huge TSV file to just have one of the rows and export it [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I have a huge file named merged.tar.gz which is 25 GB large and I can't even get it open on my laptop, much less edit it. My friend mentioned I could compress and edit it in Python. How would I go about doing this in Visual Studio Code?
Tried to open the file and edit it, but I think I should use to Visual Studio Code/Pandas route instead.

Related

Python machine learning for file renaming [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
Let's say I have a dataset which contains lots of inputfilename and outputfilename. How should I go ahead if I want to make a machine learning model for this, so that I later on can inject a inputfilename and get a suggestion for outputfilename?
What libraries should I use? Any examples available?
Thanks!
I've tried googling but find no good comparable examples.

I can't even create file on the VS Code [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
Unable to write file 'c:\Users\himan.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\launcher.vscode\launch.json' (Error: Unable to create folder 'c:\Users\himan.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\launcher' that already exists but is not a directory)
I tried everything even reinstalling VS Code twice.

Storing Ids In TxT Files [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
I want to know how when somebody uses a slash command and puts a id / number it will store that id and if they use it again it will give them the same answer but im using import random.
Can someone just drop a code below or tell me how please?
Didn't try anything yet.

How to debug with exec in Python [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 months ago.
Improve this question
I have a file with the code and I want to run it using exec(file.read()). However when I put the breakpoint in that file then it's not reached. How can I run this file and make the breakpoint work?
That's not the usual way of running Python files, but if you have a breakpoint() in the middle of the file, it should work.
I think you actually want to import the file or run it directly.

Cython impementation for existing Python code [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a Python code that processes 1 million rows (3000 bytes) and loads into Oracle database..
The code does lot of edits on many fields before it loads into a database...The code is completely written in Python and it takes lot of processing time...
I want to know if we can speed up the process using Cython implementation...
If so, how can I convert my existing Python code to Cython...
What all the features supported in Cython and is it reliable to use?

Categories