@alfchemy

I open with double click

@shalevforfor5550

You can store data this way πŸ‘πŸΏ

@osoriomatucurane9511

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

@dodgywoodcock

What theme you use? Could you suggest?

@Hi.GuysBs

I never knew that finally existed in python

@1hindu-sthaani558

It is similar to try-with-resource in java

@James-l5s7k

Nope; best is to use pathlib.

@knut-olaihelgesen3608

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

@knkn5049

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?

@HmongCrypto

Wow....
I never learnt any other way except for the best way. Didn't know it was a common mistake.

@digitalmachine0101

I wanted text to word converting code

@knkn5049

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?

@petrlaskevic1948

You dont need to close the file, if your program ends after it writes to the file, afaik

@bsw2112

So i assume open and close is not shown in  "best" option

@Discodave676

Virutal files all the way

@member.x.from.sai-teiki

やっぱwithζ–‡γ—γ‹ε‹γŸγ‚“πŸ˜„

@and_rotate69

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

@FabioGamingFG

Python is awful.