Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [comparison]

Questions about data comparison and efficient ways to accomplish it. Please avoid using this tag for generic (meta) comparison of two issues or concepts.

comparison
0 votes
1 answer
14 views

compare machine catalog images of a citrix machine

I am trying to compare each ProdImage of ProdMasterImages with UATImage of UATMasterImages and if the image name matches i have to get the respective ProdCatalogNames of that ProdMasterImage. Below is ...
Sai Mounika Chintala's user avatar
-5 votes
2 answers
58 views

Compare python dictionaries and find missing elements

I'm encountering a problem, I've been trying for days but without getting any results. I would like to compare 2 dictionaries, in one dictionary there are "Pre match" football matches and in ...
x__SHARINGAN____x's user avatar
1 vote
1 answer
23 views

Beyond Compare - XML Comparison Issue

I created the below script that is triggered by a separate Python script. This will be a text comparison of 2 XML files. log normal "C:\Temp\XML_Comparisons\XML_Files_Storage\BCLog.txt" ...
pradleycooper's user avatar
0 votes
0 answers
31 views

Need Help Comparing Text in One Cell To Another

I am trying to develop a program where the end state will be this program finding all instances of similar text within cells from multiple sheets and grouping it together. This question is going to ...
Mdlovitt's user avatar
0 votes
0 answers
18 views

How to get highlight annotation corresponding to stamp annotation in Acrobat comparison report PDF?

The picture shows the comparison report PDF generated by reading Acrobat in XChange.The documents displayed side by side are the old document on theThe deletion mark on the right is added as a stamp ...
Yinxf's user avatar
  • 57
-1 votes
2 answers
55 views

Pandas alignment error during elementwise comparison [duplicate]

When checking element-wise equality of multiple columns of a dataframe against a single column, pandas raises a ValueError: Operands are not aligned. Do 'left, right = left.align(right, axis=1, copy=...
silence_of_the_lambdas's user avatar
-1 votes
0 answers
25 views

Using py to compare demand and stock

From a dataframe, where in column A I have country, B products, C demand and stock (yes, in the same column), and the other 18 columns with months showing the values ​​of demands and stocks month by ...
Muriel Gutierrez's user avatar
-2 votes
2 answers
52 views

Trying to understand why my search is not yielding results

So in this case I am working with laravel but it might just be a MySQL "issue". I have a simple database table with only a name field that has two records: 1: B-Front 2: Frontliner I have a ...
Hardist's user avatar
  • 1,965
1 vote
2 answers
132 views

Efficiently check for equality of memory blocks in C/C++

I'm interested in the most efficient way to check for equality of memory blocks. Currently, I use memcmp(...) == 0 to determine if two memory blocks are equal. While this works, memcmp is designed not ...
AvidCoder's user avatar
  • 515
-1 votes
0 answers
49 views

Calculation-Time difference between comparisons

I currently have a PR where I saw a <= check where the number can never be below 0. This means, that in my case == would suffice. But I'm not sure about the processing-times of these comparisons. ...
Fi0x's user avatar
  • 144
0 votes
1 answer
28 views

Comparing two types of data in bigQuery

We have a very big dataset. And I need to get all the values that are mapping from the source attributes to normalized attributes in my json. The relation between normalised and source is that if the ...
Ankita Prasad's user avatar
0 votes
2 answers
47 views

Comparison in Kotlin

I'm a beginner in Kotlin and I'm trying to learn about comparison so i wrote this code: fun main() { val laptops = listOf( laptop(2020, 8, 1000), laptop(2022, 4, 800), ...
Fatima Bourouba's user avatar
-3 votes
1 answer
66 views

how can I compare a string in a do-while loop from switch case [duplicate]

import java.util.Scanner; public class WorkArea { public static void main(String[] args) { Scanner input=new Scanner(System.in); String errorMessage="Invalid input ...
Priyadhanam Priyadhanam's user avatar
0 votes
1 answer
38 views

Compare multiple columns in the dataframe and return column names with different values in a new column

Consider this df: data = [{'name': 'Muhammad', 'age_x': 20, 'city_x': 'Karachi', 'age_y': 20, 'city_y': 'Karachi'}, {'name': 'Ali', 'age_x': 19, 'city_x': 'Lahore', 'age_y': 30, 'city_y': None}...
nzskra's user avatar
  • 171
0 votes
1 answer
32 views

Is there any way to get the node name when comparing the attribute value of a node inside DifferenceEvaluator?

I'm using org.xmlunit 2.9 in java to compare two XMLs but there are certain exceptions for comparison (example: If XML1 contains a node <version value="12.3" /> and XML2 contains a ...
totoro's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
547