Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
24 views

Yes, unfortunately, the solution has to be a batch file due to the age of the system (Windows 2000 - no PowerShell). Additionally, since I have no experience with batch language (for lack of a better ...
user3208239's user avatar
0 votes
0 answers
32 views

I have raw data with columns "Year", "Period", "Country", "Sales Amount". Please note there are 13 periods in a year, (and not 12). The dates also differ ...
James's user avatar
  • 1
0 votes
1 answer
99 views

The terra code I'm using to summarize the difference between two rasters, each with a unique spatial extent, is producing unexpected results. In short, the output matches the spatial extent of the ...
Sean Basquill's user avatar
3 votes
1 answer
84 views

In the R "survey" package the svyglm() function can be used with svypredmeans() and svycontrast() in order to compare predictive marginal means for a generalised linear model. This works ...
Mark O'Donovan's user avatar
1 vote
3 answers
88 views

Helo, this is my query: MariaDB [PV_Anlage]> SELECT created_at, verbrauch_ges FROM pv_metrics group by DATE(created_at) ORDER BY ID DESC limit 20; +---------------------+---------------+ | ...
DB5FP's user avatar
  • 23
4 votes
3 answers
150 views

Following are two arrays of strings arr1=("aa" "bb" "cc" "dd" "ee") echo ${#arr1[@]} //output => 5 arr2=("cc" "dd" "ee&...
ontherocks's user avatar
  • 2,093
3 votes
0 answers
64 views

I am using the did_imputation package in R for the Imputation Estimator from Borusyak, Jaravel, and Spiess (2021). I suspect to have some issues regarding the formatting of my variables, especially ...
banannanas's user avatar
0 votes
1 answer
143 views

I use Eigen to calculate the rotation matrix and run the same C++code on both Linux and Windows platforms as follows: void testEigen() {   Eigen::AngleAxisd xRot(0.0, Eigen::Vector3d::UnitX());   ...
马昕悦's user avatar
0 votes
0 answers
59 views

I have a git repo with the same file called fileA in two different paths : locationX and location Y. I am trying to ensure that these two files are identical and if they do/do not match what's been ...
Justin Briggs's user avatar
1 vote
1 answer
99 views

I have this hypothetical dataframe df<- data.frame(a_13=c(NA, 1, 2), a_12=c(NA, 4, 3), a_11=c(NA, 2,NA)) df a_13 a_12 a_11 1 NA NA NA 2 1 4 2 3 ...
newfinder's user avatar
  • 215
0 votes
1 answer
130 views

I have a table visualization created in power BI dashboard and it has 3 columns. I want to find the difference between col1 and col2 and display as diff. I have written a measure but it is giving me ...
Swethaa's user avatar
  • 67
0 votes
0 answers
51 views

what is the difference between math.trunc() in math module and the int function in python both of them return remove the fractional part of a number and I think it has some reasons that python let ...
Mikel91's user avatar
  • 33
0 votes
1 answer
124 views

I have a table like this: I want to calculate the current value of a single month in another column as the difference between this month and previous (grouping by "group"), except January ...
alo's user avatar
  • 1
1 vote
1 answer
192 views

Here is an example which demonstrates the problem: var fdt, fndt : Double; dt, dt2 : TDateTime; begin dt := EncodeDateTime(2023, 12, 31, // 20, 10, 5, 100); dt2 := EncodeTime(20, ...
durumdara's user avatar
  • 3,483
2 votes
1 answer
87 views

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
1 answer
118 views

In Leetcode 626. Exchange Seats I write Select (case when id%2 != 0 and id = (select max(id) from Seat) then id when id%2 =0 then id-1 else id+1 end) as id, student ...
Chenyi Han's user avatar
-2 votes
2 answers
65 views

I was looking for some help to write a Python script to print only the difference and not anything extra in the output. For example: Contents of File1 :- ['Tom','Joe','Kim'] Contents of File2 :- ['...
Noah Daniel's user avatar
0 votes
1 answer
61 views

I have 2 arrays similar to below structure. I want to compare each field and then store the array item which has a difference into a third array. Arr1= [{ state:CA, id:1, name:aaa, product:car, color: ...
kkrfan1988's user avatar
0 votes
0 answers
150 views

I'm not a software engineer nor a hardware engineer, but I've been trying to learn some signal processing algorithms to apply to my project. I want to use cross-correlation to find time difference ...
Sukho Suh's user avatar
0 votes
0 answers
49 views

I have the following branches uat prep prod I have same code in all 3 branches. When I compare UAT as Source and PREP as Destination, bitbucket shows no differences. however, If I compare UAT as ...
Vetri Vel's user avatar
-3 votes
1 answer
66 views

I counted the total number of each product in table1. Then, I need to differentiate Delivered and Pending products in the total count. For Total count of each product i used: =COUNTIF($B5:$B17,E5) ...
Eng Khalid Abdi's user avatar
0 votes
1 answer
63 views

I have two graphs and would like to find the difference between them in percentage. First I converted them into lists: Graph_1=[3843.788185, 3734.256494, 3572.574207, 3420.958554, 3254.79344, 3008....
Alma's user avatar
  • 31
1 vote
1 answer
57 views

How do I find and calculate the percentage of change of an indicator throughout time when there are several NAs spread throughout the data? Let's assume that this is my dataframe: a b c d ...
M. Miguel's user avatar
0 votes
1 answer
337 views

I have this df df # A tibble: 248 × 2 asignado mxsitam <chr> <chr> 1 Control No 2 Control No 3 Intervencion No 4 Intervencion Si 5 ...
mala fama's user avatar
0 votes
2 answers
165 views

Input: Array of integers A[0..n – 1] Output: Smallest difference between two elements of a dmin array dmin = ∞ for i = 0 to n − 1 do for j = 0 to n − 1 do if i != j &&|A[i] − A[j]| &...
SophiaAkr's user avatar
0 votes
0 answers
59 views

I have 2 screenshots from a video game, of a person's gloves and a knife. The knife and the background are identical, while the gloves are different. I want to get the different part between the ...
isaac.g's user avatar
  • 736
0 votes
0 answers
26 views

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
0 votes
2 answers
70 views

Suppose the data is: data <- structure(list(country = c("Poland", "Poland", "Poland", "Poland", "Poland", "...
Rustam's user avatar
  • 187
0 votes
3 answers
60 views

Regarding db fiddle Table: items id name 1 bolt 2 wrench 3 hammer Table: inwards id item_id quantity 1 1 10.00 2 2 8.00 Table outwards id item_id quantity 1 1 5.00 I want to SELECT table items with a ...
Saleh Rezq's user avatar
0 votes
1 answer
58 views

import pandas as pd a = [0.0, 0.6900000000000001, 1.3800000000000001, 1.3800000000000001, 2.0700000000000003, 2.7600000000000002, 2.7600000000000002, 3.45, 4.1262, 4.140000000000001, 4....
warem's user avatar
  • 1,723
-1 votes
2 answers
123 views

I have an energy counter (kWh) recorded in a MySQL database every 15 minutes. Sometimes the recording fails for several reasons (power outage, computer reboot for updates...) and values are missing. ...
Michael Uray's user avatar
0 votes
2 answers
93 views

I have the following functionality that I’ve seen people use in order to get the differences between two lists. Note: this is not the actual code but a representation of what I have, in actuality each ...
RecruitsNeededSire's user avatar
-1 votes
2 answers
75 views

I am a newbie of Rust. There are two function here. When I compile, foo1 compiles pass and foo2 displays an error. But they only add an irrelevant parameter to foo1 compared to foo2, what is the ...
Reffel KF's user avatar
-1 votes
1 answer
38 views

Difference between class and function components in reactions? Working and use of both components and when to use them. And also explains when to use which component that completes our programming ...
Abhinay Jha's user avatar
-3 votes
2 answers
606 views

I'm working on a TypeScript project where I need to compare two objects with potentially nested structures and identify the fields that have changed between them. For instance, consider an old object ...
TAYYAB-IT's user avatar
0 votes
1 answer
97 views

I have a multi-annual temperature time-series with a datetime column (with irregular time steps) as such : daytime Temperature <dttm> <dbl> 1981-10-01 ...
St_learning's user avatar
1 vote
2 answers
95 views

I want the difference of column 'position' by the column 'Seg' with 'x' adjacent. import numpy as np import pandas as pd mydict = {'position':['0.0', '0.433', '2.013', '3.593', '5.173', '6.753', '6.9']...
warem's user avatar
  • 1,723
0 votes
2 answers
89 views

From the following data grouped by id and visit, which include a mix of numeric and text/character values, how to create these 3 new columns: count_wotxt: count by id and visit but without ...
denis's user avatar
  • 972
2 votes
1 answer
48 views

Iam fairly new to DAX and for that reason studying to catch more routine. Having problem trying to resolve. Am trying to count difference between first and the current Quarter. start Q current Q diff =...
jansse's user avatar
  • 45
-1 votes
1 answer
193 views

~Details~ I have a file.pdb that contains 10 frames but each frame don’t have same data size(ex. frame1 has 10 atoms, frame2 has 20 atoms….). I need a way to make animation of this file, but VMD ...
Take's user avatar
  • 1
0 votes
0 answers
46 views

I have the following data frame and # Create a dummy dataframe dummy_df <- data.frame( observation = as.factor(rep(1:4, each = 3)), # Factor from 1 to 4, repeated for each species species = rep(...
user18487205's user avatar
1 vote
2 answers
821 views

when or where use hashSetOf() or mutableSetOf() method in kotlin or what difference of these? I know the hashSetOf() or mutableSetOf() are the mutable but in programming when or where we use them. val ...
saeedasack's user avatar
0 votes
0 answers
83 views

I have a dataset that I download from an application (no movement in changing the format of data) **Created Date | Reviewed Date** 2023-10-25T09:55:47 | 2023-10-28T10:23:56 2023-10-25T09:55:47 ...
james's user avatar
  • 15
0 votes
1 answer
58 views

I am trying to improve the website that I am in charge of, but using the Page Speed ​​tool https://pagespeed.web.dev/ shows me that the CLS for desktop is already 0 (zero) and in the Above it shows me ...
Moises's user avatar
  • 1
0 votes
1 answer
108 views

I am looking to quantify certainty/confidence on a difference between two groups (see toy dataset): # Create dataframe df<-data.frame( Age=c(40,40,40,40,41,41,41,41), Strength=c(50,49,46,46,...
PhelsumaFL's user avatar
0 votes
1 answer
68 views

I would like to get the difference for consecutive years in a data frame like this: group year value ------------------ 1 2017 10 1 2018 20 1 2019 25 2 ...
nemja's user avatar
  • 489
0 votes
2 answers
75 views

[Expected Table][1]Thanks for looking into this post. Trying to find difference between the "Record" value based on baseline visit in R(for spotfire) For RecordId(10001), Change in Record ...
Niti's user avatar
  • 15
-1 votes
1 answer
618 views

For my source table I have all the “Contact history for customers” in the correct order (ascending starting from earliest date at the top). What I need to do is group rows where the contacts are ...
MarkG001's user avatar
0 votes
1 answer
373 views

I ran a BACI experiment looking at the effect of artificial light at night on fish reproduction, and one of our response variable is the yolk area in their eggs. My raw data looks like the attached ...
Thibaut Roost's user avatar
3 votes
3 answers
2k views

I showed users(roles) with \dg and \du, then there were the same results as shown below: postgres=# \dg List of roles Role name | Attributes ------...
Super Kai - Kazuya Ito's user avatar

1
2 3 4 5
40