Thanks a lot. I knew about method 2 and use it on daily basis for my data analysis task at office. The 1st method was completely new to me. Thank you so much for showing me a different way to achieve this. This just proves Python is a huge ocean and one can learn something new everyday.
@alanarturovargasandrade51452 жыл бұрын
Dude, you save me a lot of work with the method 2, thx!!!!!!
@jiejenn2 жыл бұрын
Glad the video helped.
@torque63893 жыл бұрын
Watched again and still love it! Great job!!!!
@Shawny10073 жыл бұрын
Beautifully demonstrated!
@javo9852 жыл бұрын
Very glad to learn from you thru this video this helped me in my work (Method-2 is cool). Many thanks.
@vithoughts72293 жыл бұрын
good demonstration and able to follow through, thanks
@jiejenn3 жыл бұрын
Glad the video helped.
@talalsiddiqui85303 жыл бұрын
Thanks mate.. It worked
@jiejenn3 жыл бұрын
Glad the video helped.
@piotrkrajniak35142 жыл бұрын
Great demonstration!, I have been wondering if there is a possibility to compare 2 csv files, but when e.g Value in Cell "A2" in CSV1 appears in Cell "A20" in CSV2. So there is no exact match, it has to find the value from CSV1 somewhere in CSV2 and compare it then. Have you got an idea how to do it?
@sandipanchowdhury15512 жыл бұрын
I would recommend convert that into a string then compare
@shailejagundu2017 Жыл бұрын
Hi, where are you able to solve your issue? Because even I am looking for that solution. please let me know if you resolved that one.
@Hemantkumar-gs1lq2 жыл бұрын
Is there any option to highlight exactly mismatch column in different color, so that we can see why the row is left_only or right_only
@bucket_farmer Жыл бұрын
Is there a way to compare only a specific column? For example I need to compare only column A from both the sheets
@torque63893 жыл бұрын
Great job
@rupalisingh6116 Жыл бұрын
How do we know the exact column name which has the different values ? Now the entire row is fetched .. but how do we know due to which value in a row, the entire row of data is mismatched?
@jiejenn Жыл бұрын
You change the axis from row to column.
@aravindhravi23073 жыл бұрын
👏
@akshaybhat90402 жыл бұрын
for each row in , find a matching row from
@sampathkumar72343 жыл бұрын
I need to read the DB and import to CSV file and need to compare the Imported two files and the report should be like Sheet 1 should hold the mismatched values with highlighting red colour for the values mismatched and sheet 2 and sheet 3 should be the imported file used to compare
@jiejenn3 жыл бұрын
Huh? Please don't ask other people to do your work for you. I wish you luck.
@sampathkumar72343 жыл бұрын
@@jiejenn I new to python platform, I need that to be prepared in short time that’s y. I am looking for someone help on it.
@Pravinamadoori3 жыл бұрын
Did you get to do it ?
@sampathkumar72343 жыл бұрын
@@Pravinamadoori No PM
@reinekeerthi94482 жыл бұрын
for me its not working actually, itq not showing true or false, just showing what is in the dataset, but i have different value , its not showing
@findthetruth30213 жыл бұрын
Can you please find the percentage of discrepancy/mismatch between the two databases? for example, I can say 30% of the data1(csv1) is different than data2(csv2). Is it possible to do that?
@jiejenn3 жыл бұрын
Can't you just the row number different / total rows to get the % number?
@findthetruth30213 жыл бұрын
@@jiejennit is not one column, 10 columns with 1000 rows. How can I do that?
@gbhargavi85942 жыл бұрын
@@findthetruth3021 hi halkawt. Did done with the comparision of this matching rows and difference of percentage.. if you cracked that please let me know?
@vinayakchikkorde81513 жыл бұрын
I have the source file and target file. so in that, I have to compare 140 columns and show the result if it matches or not. for example, there is a column as Country1 in source and in target as Country2. to compare that i will use if(source['country1]==target['country2])return True else return false. to compare 140+ columns it will take time to compare 140 columns. so how can I solve this?
@rileynobles71463 жыл бұрын
Good job, the only problem for me was the read_csv(). I had to use read_csv('your_file', encoder: 'utf-16').
@jiejenn3 жыл бұрын
Glad the video helped.
@anouartouil36453 жыл бұрын
Hi Thanks for the Video!, how to control both and left and write only right as result? result= df1.merge(df3, indicator=True, how='outer').loc[lambda v:v ['_merge'] !='both' and !='left_only'] ! ?