Questions tagged [difference]
This tag may refer to 1) the difference between two numbers (i.e. the difference between 5 and 10 is 5) or 2) the things that two or more particular objects do not share in common.
1,951
questions
-1
votes
0
answers
5
views
Time Difference Calculator
With the HTML code, I want to make two fields, when I put numbers in them, a difference is calculated between them
With the HTML code, I want to make two fields, when I put numbers in them, a ...
-2
votes
0
answers
12
views
Is there any react js library that can compare two word file like diffchecker,https://www.draftable.com/,etc [closed]
Want to achieve same kind of things
i try to find a react library that can render docx files and show the difference in a articular manner and can have multiple functions like page changer auto ...
-1
votes
0
answers
21
views
How to calculate the phase difference between two signals in GNU Radio?
I am trying to calculate the phase difference of two sine waves using GNU Radio. Is there any specific block that I can use?
I am currently calculating the complex conjugate of one signal and then ...
1
vote
1
answer
14
views
How to calculate the differences between the adjacent elements from two vectors?
I want to calculate the differences between of the Nth value of the vector X and the N-1th value of the vector Y. All I know is the function delta, but it can only work within one vector. Does anyone ...
-1
votes
1
answer
42
views
What is the difference?
There is a problem in Codeforces is talking about "equalizing the number of candies and oranges in n gifts. You can eat one candy or one orange or one candy and one orange from each gift in one ...
1
vote
2
answers
63
views
How to perform Data Movement and Arithmetic Instructions using TASM?
We're currently in Assembly Programming and we were tasked to perform Basic Data Movement and Arithmetic Instructions using TASM. In this activity we should create a program that achieves these ...
1
vote
1
answer
33
views
difference filter is not displaying difference of two lists as expected
I am creating an Ansible playbook to check databases defined in Ansible vars against those on the database server and delete the databases on the server that are not defined (i.e.: old test databases ...
2
votes
3
answers
37
views
Is there a difftime() version vectors?
I have datetime vectors with quite different entries. Sometimes the intervall between the entries is only some seconds and somtimes days. Like that:
# Vector increasing by seconds
time1 <- ymd_hms(...
0
votes
0
answers
18
views
Difference in code coverage report generated by Visual studio and Azure Devops pipeline (using VStest with code coverage enabled)
I have a pipeline to run Vstest task with code coverage enabled option. Report generating from pipeline is differs with visuals studio code coverage analysis report. And also report generated by ...
0
votes
1
answer
40
views
Difference between rows based on condition python dataframe
I am using python dataframe, but can use something else it is easier..
I need to calculate the difference between date between transactions in minutes.
I need to calculate the difference of time in ...
1
vote
1
answer
47
views
mongo aggregate query to find records having given time difference between consecutive records of each type
I have mongo collection with data records coming from gps device in every 2-3 second, data sample is as shown here
1. {imei:123456.., port:8000,createdon:timestamp, updatedon : timestamp}
2. {imei:...
0
votes
0
answers
8
views
Difference between Data Marshalling and DTOs
I recently learned about Data Marshalling, and I did some research. The Definition of DTO and data marshaling seem to overlap pretty much.
This is why I resort to you. What is the difference between ...
1
vote
0
answers
11
views
how to define the k-hop parameter and number of gcn layers when establishing a gcn network?
how to define the k-hop parameter and number of gcn layers when establishing a gcn network? what is the difference of these two parameters, are they the same thing?
I am searching for a long time on ...
2
votes
3
answers
62
views
Find different values between 2 lists of dictionaries with different keys
I have 2 lists:
list1 = [
{
"address": "1000",
"amount": 0
},
{
"address": "2000",
"amount": 0
...
1
vote
2
answers
36
views
Difference between specific rows of a dataframe with a specific string
I have a dataframe df, and I need to create a new column delay where to calculate the difference between specific rows of the column TIME, when the column TEXT is equal to specific strings:
difference ...
0
votes
1
answer
59
views
How to get difference of columns in DataFrame Pandas?
I need to get a DataFrame with column difference of column that I choose (for example the last one)
I tried using df.diff(axis=1, periods=1) will count column difference with the next column. However, ...
0
votes
1
answer
78
views
Propensity Score Matching for Diff-in-diff with panel data
I am trying to use MatchIt to perform Propensity Score Matching (PSM) for my panel data which contains following a group of participants (participant_uuid) from 12 months before treatment to 12 months ...
0
votes
1
answer
51
views
How to calculate the difference between two columns when it contains numerical and NA values?
I have a dataframe called a
It has 23 columns and around 400 rows. The last two concentration columns are C1 and C2
They contain numerical values as well as NA values (rows with both columns having NA ...
0
votes
1
answer
42
views
How can I get `gtsummary::add_difference()` to use the expected sign for the difference result without changing order of columns?
Aim: To compare the effect of 'Drug B' to 'Drug A' on marker level by using the add_difference() function and keep 'Drug A' column before 'Drug B'
1. initial table
library(gtsummary) # version ‘1.7.0’...
0
votes
2
answers
41
views
Finding differences in two tables with similar columns in Toad Point (SQL)
I have two datasets with similar data but I need to find the differences in Department that don't show in table 1 but in table 2. Here is an example of what I have:
table1
ID Department ...
0
votes
0
answers
13
views
Python Coding for comparing 2 excel sheets
I have two excel sheets
Sheet 1 - one has number of days a person is present - each day representing 8 hours
Sheet 2 - one has the number of hours each person has put in in each day under different ...
0
votes
1
answer
107
views
Wald Test for Parallel Trends in R
Has anyone used a Wald Test to check for parallel trends as a pre-testing stage for a Difference-in-Difference? Had been advised that it is a good way to do so, but not sure of the best way to ...
-2
votes
2
answers
38
views
Hi ... Ever used byval and byref in arrays in VB??... I passed an array byval then byref... in both, ARRAY changes are brought out of procedure..why?
pls copy paste program below and try it out...
'************
Imports System
Module Program
Sub inputproc(ByRef pstudarr() As String)
Dim count As Integer
For count = 0 To 3
Console.WriteLine("...
3
votes
6
answers
61
views
function to sucessively subtract columns from the prior columns in a dataframe and save in new dataframe
H, I'm fairly new to R and trying to write a function to create a new dataframe that depicts the results of substracting every two columns that are next to each other in the original dataset. Imagine ...
2
votes
1
answer
36
views
R: Creating value of difference from baseline in many groups
I need to do something I think is quite simple, but it's difficult to word the problem, so I haven't manage to google a solution.
I have a dataframe similar to the one below, but much longer. I have ...
0
votes
2
answers
475
views
Power BI Dax Adding a Variance Column in a matrix
I have matrix visual in a power bi dashboard that shows the average students' scores which looks like below.
I would like to add a column that shows variance which looks like below.
I know how to ...
0
votes
0
answers
27
views
Osquery Not able to run differential loggin on packs
When running scheduled queries from packs the results are as if i am running the queries in snapshot mode i am not able to capture differentials from queries coming from pack files. I am not sure if ...
0
votes
1
answer
51
views
How to get a list of hours between two timestamp?
I want to get all hours between two timestamps.
For example from 2023-02-23 14:38 to 2023-02-23 19:32
The result should be
14
15
16
17
18
19
better i get also additional the minutes in the ...
0
votes
2
answers
43
views
Difference for a column bewteen two dataframes with condition limit
The context : I have 2 different series of data saved in 2 dataframes :
index object time
0 45 12.56416
1 30 10.61656
2 5 10.74478
3 8 56.14421
4 1 13....
0
votes
0
answers
69
views
UWF Shutdown/Restart - different behaviour in Windows LTSC 2019 and 2021
I use a powershell script to configure Windows Unified Write Filter (UWF) and restart afterwards like this:
$NAMESPACE = "root\standardcimv2\embedded"
$objUWFFilter = Get-WMIObject -...
1
vote
1
answer
40
views
Checking the significance of the difference between two groups of different length
I need to check if the difference between land surface temperature in the past and present within the LULC is statistically significant. LULC units changed over time and the length of the temperature ...
-1
votes
1
answer
31
views
Calculate difference between current row and first row within group [duplicate]
I would like to create a new column in my dataset that shows the difference in the values (column b in example dataset) between the current row and the first row within a group (column a in example ...
1
vote
1
answer
345
views
GitLab Free version vs Premium (self-managed)
I would like to understand if, at an enterprise level, it makes sense to use the free version of GitLab or the premium version.
GitLab would only be used as a code repository.
Looking on the official ...
0
votes
1
answer
52
views
Excel VBA - Find a new Range based on the difference between two existing Ranges
Project Outline: The project I'm working on consists of a file with 2 sheets. The first sheet is a Dashboard of Reports with inputs about who worked it, what department it was for, and the timeframe ...
0
votes
0
answers
15
views
For the files2SpectraObject function in R, I used the correct code and correct path, but imported data is different from raw data
I import the data by using files2SpectraObject function from {ChemoSpec} package. My code and the path of importing data are correct, but after importing data, the data shown in R is different from ...
0
votes
0
answers
32
views
ADF test in R and Gretl - Why are the results different?
I am working on a time series-based study on the Czech Republic. I have macroeconomic data from 1993 to 2021. I tested my time series for stationarity using both R (function adfTest from package ...
0
votes
1
answer
30
views
R: rowwise Confidence Intervals for a Difference of Binomials
I have a table with frequencies for control and treatment group for a multinomial factor (`response'), with three levels (Negative, Neutral, Positive). I want to calculate for each levelthe difference ...
-3
votes
1
answer
83
views
How can I get a real difference between two dates in months?
My problem is, when I set the date range as the following
DECLARE @startdate DATETIME2 = '2023-01-31 08:00:00.0000000';
DECLARE @enddate DATETIME2 = '2023-02-01 08:00:00.0000000';
SELECT ...
0
votes
0
answers
30
views
R Calculating relative differences between values that contain 0
I have a dataframe dat, which shows the number of daily visitors during certain days (case) and other days (control). I want to create now a 4th column, in which the difference between the Case and ...
0
votes
0
answers
32
views
the difference of two DataFrames with meaningful/representative indices -like UUIDs- **On pandas isin() best practices**
I searched for this and found a lot of answers, but all of them are for general cases (without meaningful indices). maybe meaningful index isn't the right name and representative index is better -like ...
1
vote
1
answer
37
views
Difference between two version of files in S3
I have a bucket in S3 with versioning enabled. There is a file that comes is and updates its contents. There is a unique identifies in that file and I sometime with the new file coming in, the content ...
0
votes
0
answers
9
views
Is there any difference between 3D and AR reflection light in THREEJS
I created a web page for 3D and I adjusted the some lights power and direction and it is some how O.K.
Then I created another web page for AR with the same lights and materials, but unfortunately ...
-2
votes
1
answer
35
views
Differences when accessing a file with Python?
Learning about different access methods that can be used when opening a file with Python.
What is the difference between opening a file for both reading and writing vs. opening a file for both writing ...
-2
votes
2
answers
36
views
Adding a column thats result of difference of rows and shift in pandas [closed]
Lets say I have a dataframe like this
Column A
a
b
c
d
e
f
a,b,c,d,e,f are values. I need to be able to add a column to the orignal dataframe which is got by computing the differences of rows.
...
0
votes
1
answer
23
views
In PostgreSQL, how can I optimize a query with which I obtain the differences between the current column and the immediately previous one?
I have this audit table
User
date
text
text 2
u1
2023-01-01
hi
yes
u1
2022-12-20
hi
no
u1
2022-12-01
hello
maybe
And I need as a result, something like this:
User
date
text
text 2
u1
2023-01-01
...
0
votes
1
answer
38
views
Select difference between two tables sums also using group by
**Im trying to get the difference between two tables sums but i keep getting the wrong outcome **
Table1 Table2
| product | quantity | ...
0
votes
0
answers
46
views
compare a audio file (edited) to a video file (not edited) and remove the difference in python
I am very new to python programming
I am suck at this problem kindly help
I have so much data from recorded audios and videos
audios and videos are recorded in the same environment at the same time.
...
1
vote
1
answer
34
views
How to find the difference between two multidimensional arrays with different sizes and levels in PHP
I have two multidimensional arrays in php with different sizes and levels. I need to find the elements in the second array, that are not in the first one.
Array A:
$bmw_a = array(
"3 series&...
0
votes
1
answer
42
views
Time to next full hour
I have a timestamp like the following:
Timestamp('2022-01-01 19:55:00')
How do i get the time difference to the next full hour (in minutes)?
So in this example the output should be 5 minutes.
0
votes
0
answers
16
views
Differed values in unix
I have string like this
A=00000 1 001055 37 002001 279
B=00000 1 001045 65 004060 23
How to compare and print differed values?
I am expecting output as
Differed
values = 001055 37 002001 279
...