Compare excel files using Python with Pandas

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 35

  • @sadhikaparashar839
    @sadhikaparashar839 4 года назад +8

    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..?

  • @anku_dreams_photography
    @anku_dreams_photography 3 года назад +3

    Thanks, Comrade.

  • @ThangaduraiSekar
    @ThangaduraiSekar 3 года назад

    Thanks for making it as crisp

  • @NiranjanKumar-gd7mf
    @NiranjanKumar-gd7mf 3 года назад +5

    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

  • @tomazbarrantes
    @tomazbarrantes 3 года назад +1

    Super, your explanation, thanks Stalin

  • @computerauditor
    @computerauditor 2 года назад +1

    Great video

  • @markhooker8520
    @markhooker8520 2 года назад

    Wonderful video, Thank you for sharing your knowledge.

  • @gsv202000
    @gsv202000 2 года назад

    Excellent job, thank you so much.

  • @sadhikaparashar839
    @sadhikaparashar839 4 года назад +1

    Great video sir.

  • @sanket8873
    @sanket8873 9 месяцев назад

    Loved this

  • @AyushSingh-ds2hs
    @AyushSingh-ds2hs 3 года назад +2

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

  • @tarukhanna6681
    @tarukhanna6681 4 года назад +1

    thank u for this video

  • @danishnoman2042
    @danishnoman2042 2 года назад +3

    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 2 года назад

      Me to, did you find an answer?

  • @serageibraheem2386
    @serageibraheem2386 2 года назад

    GREAT WORK

  • @Nexatek
    @Nexatek 4 года назад +4

    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 года назад

      ruclips.net/video/W2hs7UIMfoE/видео.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

  • @allabakshu654
    @allabakshu654 Год назад

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

  • @abinayaswaminathan4188
    @abinayaswaminathan4188 3 года назад

    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-xc2yc3vz5e 3 года назад +1

    Great

  • @CoopmanGreg
    @CoopmanGreg 2 года назад

    Great!

  • @gabrielapatat6806
    @gabrielapatat6806 Год назад

    Great🎉🎉🎉

  • @tinacole1450
    @tinacole1450 2 года назад

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

  • @nolimit4906
    @nolimit4906 3 года назад

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

  • @prasannahonnavar8994
    @prasannahonnavar8994 Год назад

    Can we use this same codings in Jupiter notebook?

  • @NeverGiveUp_oo7
    @NeverGiveUp_oo7 2 года назад

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

  • @cherrysonu9158
    @cherrysonu9158 2 года назад

    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

  • @anuroopsagar1095
    @anuroopsagar1095 3 года назад

    Please provide javascript program for two Excel sheets compares

  • @michele6124
    @michele6124 3 года назад

    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!

  • @niteeshkumarnitesh8969
    @niteeshkumarnitesh8969 2 года назад

    So use full 🌝

  • @skerody
    @skerody 2 года назад

    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

  • @aniruddhss2257
    @aniruddhss2257 3 года назад

    Awesome video