Questions tagged [compare]
The analysis required to assess the differences and similarities between two or more entities.
compare
10,264
questions
1
vote
2
answers
90
views
Comparing two files with more than 200 lines fails
I am comparing two text files but the result that is returned in certain cases is wrong, I have verified that it happens when the file exceeds 200 lines and only in some cases.
In the comparison I ...
1
vote
1
answer
56
views
Comparing string uniforming special characters in python [duplicate]
Probabily I can use a better english but what I want is ignoring accent (and like) in words so:
renè, rené, rene' and rene should be the same so should
mañana and manana or
even-distribuited and even ...
2
votes
1
answer
57
views
Compare strings from a very large text file (over 100 GB) with a small text file (about 30 lines) and print all the strings contained in both files
I have two text files. One contains a very long list of strings (100 GB), the other contains about 30 strings. I need to find which lines in the second file are also in the first file and write them ...
0
votes
2
answers
74
views
Powershell : Compare an Hashtable to multiple System.Object and return only the matching one
I'm trying to compare an hashtable to multiple output from Pipeline, in he shortest way ( one line if possible).
Each output will contains at minimum same Property as Key in hashtable, but could have ...
0
votes
0
answers
46
views
In C#, how can I compare the structure of two HTML files and then update second to match the first?
Consider I have two HTML files that are structurally identical except for the language used to fill each element (i.e., English vs. Spanish).
In the first file, I'm going to add a custom element ...
0
votes
0
answers
46
views
How to compare files from .war file with a branch
I need to compare a .war file (it's like a compressed file with all file project on it) with a master branch.
I have a script to compare 2 branches, I need to compare a file (or folders btw) with my ...
0
votes
1
answer
64
views
Compare two files and return only the changes from the second
Good morning everyone,
I'm trying to compare two .txt files and only return the comparison result in the second .txt.
Is it possible to do this?
I leave the code below
Thank you so much
For example I ...
1
vote
1
answer
39
views
How do i compare 2 dates with specific format ("yyyy-MM-dd'T'HH:mm:ss") in groovy script
I have to compare 2 dates
date 1 - "2024-06-18T10:08:39.1271797"
date 2 - "2024-06-18T10:08:39.124669"
I have to test compare both dates in ready api and make sure they both are ...
1
vote
1
answer
89
views
Diff viewer for YAML files
I want to compare YAML semantically rather than line by line.
Would be great to integrate it in IntelliJ and get a visual representation.
I found several online tools like https://www.yamldiff.com/ ...
1
vote
2
answers
63
views
Pandas compare() how to iterate over rows
I am comparing two dfs using pandas compare()
updated_records = out['df1'].compare(out['df2'])
userid amount
self other self other
0 122 121 NaN NaN
2 NaN NaN 3.0 4.0
how to ...
0
votes
0
answers
12
views
I want to json compare in the postman
I want to compare 2 different responses in postman. But while doing this, I want it to ignore the fact that the order is different. I just want to see whether the values in one are also in the other ...
0
votes
0
answers
15
views
How to use QuickSort in JS to sort an array with objects by object's properties (i.e. color, name) in accordance with a given property order
I have an array filled with objects "fruits" which have properties "kind", "color". I need to use
quicksort
method to sort given fruits by their colors in accordance to ...
0
votes
0
answers
9
views
valid euclidean distance meaurement method to compare different financial price time series datsets
I am trying to determine if I can use euclidean distance to measure and compare any two financial time series data sets by total Length of the lines they plot on a chart, using the formula for ...
0
votes
1
answer
41
views
Sort variables in ggcoef_compare output
I am using ggcoef_compare in R to compare different models coefficients.
However, the output displays the variables in a different order than that of the models. I tried to change it repeatedly but ...
0
votes
1
answer
39
views
Comparing One Record in Pandas Dataframe To All Other Records in Dataframe
I have a situation where I want to compare every value in one column of a dataframe against every other value in the same column. In this case, for every product, I want to see for Hyundais the ...