Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

Compare values from one column from excel file with array of values and write matches and unmatches to a new column in excel using openpyxl

I have an excel file with GUIDS written in it. I need to compare these GUIDS with ones I have and create a new column in the file named "Result" where will be written whether the GUIDS match ...
Pauline Rumyantseva's user avatar
0 votes
1 answer
21 views

Azure devbox tools to compare the files

I have been provisioned Azure Devbox environment. Storage containers can be accessed only within devbox. For Regression Testing ,I want to compare the files stored in azure storage containers vs my ...
Girija Vijayakanth's user avatar
0 votes
0 answers
19 views

Comparing a selection

Hi please can you help. I'm trying to select the last 200 rows in my database, then compare 2 fields in each row, and return each whole row where there is only 1 instance. So, all rows that have more ...
Nickmall's user avatar
1 vote
5 answers
167 views

How to sort an ArrayList of Objects by their ArrayList<Integer> values?

Suppose object has ArrayList<Integer> and an ArrayList of those objects needed to be sorted by their ArrayList<Integer> values so that, first index of the Integer ArrayList takes most ...
user16393738's user avatar
1 vote
1 answer
45 views

Compare two dataframes with different labels

Is it possible to compare two dataframes with different labels, with the same results output as in df.compare(df2)? I tried using df.compare(df2), like 'L' with 'R', and 'L' with 'N' - below - but ...
Mohamad Osama's user avatar
0 votes
1 answer
15 views

Sync Specific Folders with Beyond Compare 4

I want to Sync to folders with Beyond Compare 4. I am working on two systems and want to keep my data updated. I do not want to sync all folders from left to right just specific ones. For Examples in ...
Jawen H'gar's user avatar
-1 votes
2 answers
67 views

Compare two array of objects and push or pop objects from first array based on second array

consider below 2 array of objects, say arr1 and arr2. based on id, if any new item exist in arr2 copy item to arr1 and remove item from arr1 if that item not present in arr2. Tried something like this,...
Praveen Kumar's user avatar
1 vote
4 answers
121 views

why usage of '&&' operator have different meaning with '=' and with'=='

I was looking at MIT assignments and found this question below link problem 2.5) option B) Practical Programming in C - MIT (PDF) Now it says Assume (x=0,y=0,alliszero=1). alliszero =(x=1) && ...
Bhargav Patil's user avatar
0 votes
1 answer
42 views

How can I compare a clicked elements ID with another ID?

I am writing a program for a website that is supposed to show a svg map and to learn geography. The idea is: you have the map and choose topics (rivers, cities, neighbours). Depending on your choice ...
karl's user avatar
  • 3
0 votes
2 answers
188 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 ...
David's user avatar
  • 11
1 vote
1 answer
71 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 ...
fabio's user avatar
  • 1,313
2 votes
1 answer
66 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 ...
JoZePe's user avatar
  • 23
0 votes
2 answers
77 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 ...
DrakkarD's user avatar
0 votes
0 answers
57 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 ...
J. Galus's user avatar
0 votes
0 answers
59 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 ...
Milton Ribotta's user avatar
0 votes
1 answer
74 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 ...
David's user avatar
  • 11
1 vote
1 answer
45 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 ...
sumita bali's user avatar
3 votes
1 answer
239 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/ ...
gemorra's user avatar
  • 193
1 vote
2 answers
69 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 ...
Exc's user avatar
  • 1,635
0 votes
0 answers
14 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 ...
Feyza Salgut's user avatar
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 ...
user25296678's user avatar
0 votes
0 answers
15 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 ...
lvbx9's user avatar
  • 49
0 votes
1 answer
46 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 ...
user14514023's user avatar
0 votes
1 answer
43 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 ...
Stumbling Through Data Science's user avatar
0 votes
0 answers
25 views

How to compare arrays in Postgres [duplicate]

I am fairly new to Postgres, but so far I have been impressed with its array handling, but I have come across a problem that I am struggling to solve in any way that would be considered good. I have a ...
OldFred's user avatar
  • 15
0 votes
4 answers
102 views

How to sort a list with specified order?

OrderEntry Object: @Data public static class OrderEntry { private String entryNumber; // giftFlag=0 means the orderEntry is a normal entry // giftFlag=1 means the orderEntry is a gift ...
Holinc's user avatar
  • 687
0 votes
1 answer
73 views

Bash wants unary operator

I am using the following code to test if a function exists but Bash gives the following diagnostic: [: =: unary operator expected The code is: if [ $(type -t deactivate) != function ]; How should ...
Jonathan's user avatar
  • 2,817
0 votes
0 answers
17 views

Issue with Github compare after a revert

This is the layout of my Git projects. Master < Dev < Dev2 I have been working on changes on Dev2 for months, and recently moved them up to Dev to get ready for deployment. In the mean time a ...
Yankeecandle's user avatar
0 votes
1 answer
137 views

Why the C standard library haven't isequal?

C standard library have: isgreater,isgreaterequal,isless,islessequal,islessgreater, isunordered. And why the C standard library haven't isequal? It should be easy to implement like that: bool isequal(...
gsm's user avatar
  • 61
0 votes
1 answer
129 views

I need to compare 2 files, a Pdf and an excel file to spot the differences in data

My code seems to work correctly for the added status, each is in its own individual line, but the deleted status is concatenated into one long unreadable string. I need each difference to be in its ...
SlavNevsky's user avatar
1 vote
1 answer
111 views

How to Compare nested objects for changes and create a report of changes

I have two JSON files that come from an app. I need to compare them for changes and create a report of the changes. I can mostly do this, but I am having trouble creating a report of the changed ...
Einarr's user avatar
  • 332
1 vote
1 answer
78 views

Exiting diff mode in vifm

I recently discovered vifm's :compare command. What a timesaver that has been! What I can't find is a way to get back to the normal view. I tried :diffoff, thinking it might mirror the vim command, ...
Phil R's user avatar
  • 453
0 votes
2 answers
43 views

How to keep status changes in a txt file

I have a text file 2024-04-29_22-23log.txt, where each line, (except the first), starts with OPEN or CLOSE, followed by a time stamp. Example: 2024-04-29_22-23 CLOSE 22:23 CLOSE 22:24 OPEN 22:25 ...
smbd91 smbd91's user avatar
0 votes
2 answers
71 views

C++ best way to compare between 2 class instances inherited from same base class

i have 2 classs class State : public godot::Node { public: State(); virtual ~State() = default; virtual void _physics_process(double delta) override; ...
user63898's user avatar
  • 30.6k
0 votes
2 answers
67 views

Is there a function to compare character columns?

I am fairly new to R, and I am trying to compare two character columns. I have a file with two columns and 5000+ rows of species names. The columns are different lengths, and many species names are ...
alexia m's user avatar
2 votes
1 answer
22 views

Compare two files with same ID, subtract and add to end of line

I have 2 files with the format of File A 01 20200111 28.56 22.07 40.14 49.79 22.81 49.31 33.75 31.24 39.41 36.18 02 20200118 32.41 14.89 38.82 60.54 11.54 49.10 34.34 25.53 36.96 ...
ncwxpanther's user avatar
1 vote
2 answers
53 views

Compare two files with same ids and substract fields

I have 2 files with the format of File A 01 20200111 28.56 22.07 40.14 49.79 22.81 49.31 33.75 31.24 39.41 36.18 02 20200118 32.41 14.89 38.82 60.54 11.54 49.10 34.34 25.53 36.96 ...
ncwxpanther's user avatar
0 votes
0 answers
17 views

PowerBi Matrix Table (Or Excel) - Compare 2 different variables of same object (different Columns) in a Pivot Table/Matrix

I am using PowerBi and am trying to solve a problem of comparing the outcomes of 2 columns that are showing the same object but with 2 possible outcomes. I will then do some analyse on percentage ...
Emmanuel Steadman's user avatar
0 votes
0 answers
72 views

c++ How to design/declare "callbacks" that support a comparison operation - need to find and remove callbacks from list

I believe this is not a duplicate question. Other similar questions ask something like "how can I compare std::function objects for equivalence/equality?". The answer seems to be simply &...
ags's user avatar
  • 719
1 vote
0 answers
13 views

Database/Schema Comparison

Does anyone know articles regarding databases and schema comparison state-of-the-art? I am searching but haven't been able to find anything but the tools' features (e.g. Schema Compare from SSDT). I ...
Catarina Ribeiro's user avatar
-3 votes
1 answer
33 views

Python Get index of a list of substrings when comparing with known string [closed]

I have a know string which gets extracted from a WindowsPath and a given list of substrings. string = ABC1234 The list contains e.g. list = ['DEF', 'ABC', 'GHI', 'JKL'] I would like to get the index ...
will.wo's user avatar
  • 51
0 votes
1 answer
57 views

How to compare XML layout with a XML Fiscal note with python

As a beginer in development and here, is it possible that I'm in the wrong topic, if that's the case, sorry. I've been working on a Python script that verifies if a XML Fiscal Note is compatible with ...
Jardel Galvão Rodrigues's user avatar
0 votes
0 answers
46 views

Filter and sort data using formulas only

I would like to filter and sort data using formulas only in Excel 2016. Look the images below to see I would like the code process to get all the results I want. I have a table with a lot of data in ...
Hyprium's user avatar
1 vote
1 answer
55 views

How to compare tcl variable by "otherValuePtr" instead of "bytes"

4As we know Tcl_obj is a struct as picture shown. And for example: "set var 1, if { $var == 1 } { puts "success" }" And "var" is a Tcl_obj, tcl command "==" is ...
user23778004's user avatar
-2 votes
1 answer
80 views

Why if(-1 < 0) comparision fails in c (sometimes)?

I have size_t file_size; variable declared in my c file which will get -1 assigned to it later and then when I do if(file_size < 0) { // do something } else { printf("C is confusing\n"...
Eivor's user avatar
  • 19
0 votes
0 answers
39 views

Excel - How to compare cells of columns in different sheets

I have to compare two columns that are in different sheets of the same excel file, the columns have different lenghts and the cells contains dates formatted as: dd/mm/yyyy hh:mm:ss Let's call the ...
giacomo pincin's user avatar
0 votes
2 answers
83 views

requesting excel formula to compare columns but going in order and skipping blanks

Trying to setup a formula in excel to compare 2 colums, sample data set below. Considering there will be blanks in column B and we must go in order Column A Column B Column C 3 3 match 4 3 ...
rogal's user avatar
  • 3
0 votes
0 answers
42 views

How to check for matches where fields are different?

I have 2 Excel spreadsheets and need to try to find matches based on product name but one file has something like Tylenol for example (only the product name) but the other file has Tylenol 100mg 100s. ...
Jay's user avatar
  • 1
1 vote
3 answers
131 views

Case-insensitive map key where key is Pair<String, String> [closed]

I have Map in Java: Map<Pair<String, String>, MyClass> myMap; I need the Pair to NOT be case-sensitive. The solution in case of regular string key is simple: TreeMap<String, MyClass&...
user5260143's user avatar
  • 1,086
0 votes
0 answers
20 views

Dropping rows that do not match values from another column

I've got two dataframes that I am comparing however they are different in length. I want to compare the values from the reference column that exist in both dataframe and drop the rows that do not ...
Laura Wilkins's user avatar

1
2 3 4 5
206