Read Messy & Poorly Structured Excel Files Using Pandas (Python)

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต

๐——๐—˜๐—ฆ๐—–๐—ฅ๐—œ๐—ฃ๐—ง๐—œ๐—ข๐—ก
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€
In the real world, Excel files are not always so neat & clean as the ones you will find in many tutorials. I will walk you through how to read messy and poorly structured Excel Files using pandas.

In particular, I will cover the following options in the pandas read_excel() function:
io,
sheet_name=0,
header=0,
usecols=None,
true_values=None,
skipfooter=0
converters=None,
dtype=None,
)

You can find the Jupyter Notebook from the tutorial here [Google Drive]:

๐—ง๐—ข๐—ข๐—Ÿ๐—ฆ ๐—”๐—ก๐—— ๐—ฅ๐—˜๐—ฆ๐—ข๐—จ๐—ฅ๐—–๐—˜๐—ฆ
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

๐—–๐—ข๐—ก๐—ก๐—˜๐—–๐—ง ๐—ช๐—œ๐—ง๐—› ๐— ๐—˜
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

โ˜• ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ?
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

Oh, I am delighted to see your new video!

pon
ะะฒั‚ะพั€

Hey! just what I needed! Thank you for making this video the way you did it. . .Straightforward and efficient. . .

SilentWarrior
ะะฒั‚ะพั€

Great video, as always explanations are crystal clear.

ermalgashimramori
ะะฒั‚ะพั€

Getting hooked on your videos! Awesome content as usual - Thanks!

Perspicacious_pi
ะะฒั‚ะพั€

Loved it, many thanks for this great video
I didnโ€™t know about the xlwings until I saw your channel ๐Ÿ‘๐Ÿ‘

mohammedalbatati
ะะฒั‚ะพั€

By far this is the best video of this topic I've ever seen.
subscribed and wating for more content..
Thank you so much ๐Ÿ™

samratkundu
ะะฒั‚ะพั€

Thanks so much for this video! I learned a lot about pandas and data cleaning with Pythin. You are the best!

fernandogimenez
ะะฒั‚ะพั€

Thanks for this video, really great content and help...

ailtonbiji
ะะฒั‚ะพั€

This video is so helpful to me. Thanks!

KingLiongWong
ะะฒั‚ะพั€

I didn't get why would you use xlwings for loading data, something which can be done with openpyxl so you only have to import one module instead ot two. Great video with everything else.

JuanPerez-iuvk
ะะฒั‚ะพั€

how do you autofit the columns on export? ive tried diff methods and only some cols seem to get autofit?

Monduras
ะะฒั‚ะพั€

ist das ein deutscher akzent? wie wรคre es dann mit zusรคtzlichen videos auf deutsch? :-)

maxbart
ะะฒั‚ะพั€

Thank you sir, its a great video. It helped me a lot.

semihguzel