Compare excel files using Python with Pandas

Simplest and most efficient way of comparing the files using Python in less than 10 lines of code. It will be very useful for scenario like comparing two different version of files.
Libraries :
Pandas
NumPy
Git Source.
gitlab.com/imstalin/compareex...

Пікірлер: 35

  • @markhooker8520
    @markhooker85202 жыл бұрын

    Wonderful video, Thank you for sharing your knowledge.

  • @ThangaduraiSekar
    @ThangaduraiSekar2 жыл бұрын

    Thanks for making it as crisp

  • @gsv202000
    @gsv2020002 жыл бұрын

    Excellent job, thank you so much.

  • @anku_dreams_photography
    @anku_dreams_photography3 жыл бұрын

    Thanks, Comrade.

  • @sadhikaparashar839
    @sadhikaparashar8393 жыл бұрын

    Great video sir.

  • @tomazbarrantes
    @tomazbarrantes3 жыл бұрын

    Super, your explanation, thanks Stalin

  • @sadhikaparashar839
    @sadhikaparashar8393 жыл бұрын

    I had a doubt. How to compare two sheets not row wise but cell wise.. corresponding to a particular value in the cell?? Like if Row1 Column 1 corresponds to the value 'ABC' . But in sheet two, the same value corresponds to row 2 column 1. How to compare the the two rows..?

  • @sanket8873
    @sanket88736 ай бұрын

    Loved this

  • @aniruddhss2257
    @aniruddhss22573 жыл бұрын

    Awesome video

  • @NiranjanKumar-gd7mf
    @NiranjanKumar-gd7mf3 жыл бұрын

    This is great input for me . It is working fine . But I am facing performance issue when I try to compare large set of xlsx files . Like 10k records in each row . Do you have any idea how to do the performance tuning ?. Thanks in advance Regards Niranjan

  • @computerauditor
    @computerauditor Жыл бұрын

    Great video

  • @tarukhanna6681
    @tarukhanna66813 жыл бұрын

    thank u for this video

  • @serageibraheem2386
    @serageibraheem2386 Жыл бұрын

    GREAT WORK

  • @CoopmanGreg
    @CoopmanGreg2 жыл бұрын

    Great!

  • @abinayaswaminathan4188
    @abinayaswaminathan41883 жыл бұрын

    I am getting the index value at first column in output excel file when I used the same code which you mentioned. Could you please tell me how to avoid the index value in the first column.

  • @user-xc2yc3vz5e
    @user-xc2yc3vz5e3 жыл бұрын

    Great

  • @gabrielapatat6806
    @gabrielapatat6806 Жыл бұрын

    Great🎉🎉🎉

  • @nolimit4906
    @nolimit49063 жыл бұрын

    would this be the same if we're using a Vertica table and a Hive table?

  • @rrrrr16able
    @rrrrr16able3 жыл бұрын

    Hi Stalin, thanks a lot for the video, it helped a lot. However had a question, does it work if the number of rows are different in both the columns?

  • @gulshankumar17

    @gulshankumar17

    3 жыл бұрын

    kzread.info/dash/bejne/iWac1ZmOebDMn6g.html, this is how I compare two files, this will work irrespective of order of the records.

  • @pradyumnavaradpande88

    @pradyumnavaradpande88

    2 жыл бұрын

    Using .shape command you can see it

  • @tinacole1450
    @tinacole14502 жыл бұрын

    Hey. Do you compare text files in the same way on BASH

  • @allabakshu654
    @allabakshu654 Жыл бұрын

    Hi Stalin, how to remove Timestamps in the validation excel file(Timestamp is added in the column) ?

  • @AyushSingh-ds2hs
    @AyushSingh-ds2hs2 жыл бұрын

    Bro how do we compare two CSV which cells have multiple data in the cell. This Process does not work on that scenario.

  • @aniruddhaotari4082

    @aniruddhaotari4082

    Жыл бұрын

    Hi, do you find the answer for your question ?

  • @danishnoman2042
    @danishnoman20422 жыл бұрын

    While comparing the values. It is throwing error: DeprecationWarning: elementwise comparison failed; this will raise an error in the future. comparison_values = dfOld.values == dfNew.values False

  • @cesasoft

    @cesasoft

    Жыл бұрын

    Me to, did you find an answer?

  • @prasannahonnavar8994
    @prasannahonnavar8994 Жыл бұрын

    Can we use this same codings in Jupiter notebook?

  • @cherrysonu9158
    @cherrysonu91582 жыл бұрын

    Thanks for the video.. But while comparing the 2 xlsx files its throwing error as DepreciationWarning:elementwise comparison failed; this will raise error in the future Will you please help me out to resolve this issue. Thanks

  • @nikhilkhanna6471

    @nikhilkhanna6471

    Жыл бұрын

    Is it resolved bro? Could u pls help me I am also getting same error

  • @michele6124
    @michele61243 жыл бұрын

    Thanks for sharing your knonledge, that's great! Someone can help to me to show the difference between the number instead of compare them? I'm looking to compare the real stock with the minimun safe stock...Thank you!

  • @anuroopsagar1095
    @anuroopsagar10952 жыл бұрын

    Please provide javascript program for two Excel sheets compares

  • @NeverGiveUp_oo7
    @NeverGiveUp_oo72 жыл бұрын

    this error is coming. rows,cols=np.where(comparison_values==False) ValueError: not enough values to unpack (expected 2, got 1)

  • @niteeshkumarnitesh8969
    @niteeshkumarnitesh89692 жыл бұрын

    So use full 🌝

  • @skerody
    @skerody2 жыл бұрын

    Hi Stalin, Good Morning!!! Hope you are in good health… Thanks for the video this is what I exactly wanted. However my excel file is huge with 48 columns and 7K rows of data. So the ask is to add a new column at the end saying “Match/Mismatch” (after Total column) and print if the whole column value is match or mismatch. For E.g at H2:H5 value will be Match, and at H6 value will be MisMatch. Can you pls help me with this… Regards, SK