You can store data this way ππΏ
Awesome tutorial covering in concise , crystal clear way the data preparation workflow. Well done Sir. I like the concept of data sanity, garbage values and how to spot those inconstent value errors with the count_values method. Just one point on filling the missing values. It could be worthy discussing and considering the possibility of grouping and replace with the mean for each group. Bbrilliant work, Sir. Keep it up
Good
What theme you use? Could you suggest?
I never knew that finally existed in python
It is similar to try-with-resource in java
Nope; best is to use pathlib.
Actually, exception handling is better, because there is so many errors that should be handled. Checking whether a file exists is not guaranteed to work. Source: https://youtu.be/V6IX3k8PDBc?si=OPyZ_fKCmVLQH2tI
What if i write in colab, i open file in one block, and testing some functions in another, would WITH close my file when original block end?
Wow.... I never learnt any other way except for the best way. Didn't know it was a common mistake.
I wanted text to word converting code
I use os.pathexists thing if not .... : return... Else :... What With does? What it will tell me if it cant open or out of memory to create?
You dont need to close the file, if your program ends after it writes to the file, afaik
So i assume open and close is not shown in "best" option
Virutal files all the way
nice
γγ£γ±withζγγεγγπ
Actually each one has its own uses, for instance the last one is mainly used to do quick and simple operations on the file where the 1st one is used when u gonna work on the same file for the rest of the code, at first it will sound okay to use the last one for longer tasks, but trust me it gets bad with the indentation, the 2nd one is basically the combination between the 1st and 3rd and is an overkill lol
Python is awful.
@alfchemy