Skip to main content

Questions tagged [duplicates]

The "duplicates" tag concerns detecting and/or dealing with multiple instances of items in collections.

0 votes
2 answers
33 views

Select only columns that have no duplicates considering groups

I have a rather large dataset with both long and short data inside: some columns have unique value given a subject and a visit, while other have multiple values. The short data is duplicated to match ...
Dan Chaltiel's user avatar
  • 8,290
0 votes
0 answers
12 views

OpenTelemetry .NET: Metrics getting duplicated with UpDownCounters and ObservableGauges

I have just started using OpenTelemetry with .NET. I have a use case where I need to log custom metrices, such as success and failure counts in the application. To avoid data duplication, I am using ...
Abhishek Anand's user avatar
-1 votes
0 answers
87 views

Check if two values in an array are the same [closed]

Here is my code so far (implements a similar algorithom for Wozmon in java) import java.util.ArrayList; import java.util.Scanner; public class rom { static ArrayList<Integer> address = new ...
Jadon Jung's user avatar
0 votes
0 answers
40 views

How to delete duplicates in a table?

I have written a software that every second copies the contents of a JSON file from a server into a variable (serverData). Using the json-path library I extract some information from the serverData ...
Bishop's user avatar
  • 1
0 votes
0 answers
23 views

Deleteing duplicate entries keeping the entry that;s already there [closed]

I'm creating a check list that I have to add data to over time. I'm exporting the data from a large personnel file that has people being added to it as we progress through the project. Each time I ...
Charles Sullivan's user avatar
-1 votes
0 answers
29 views

Proiritize matching records by the non matching field

I am using SQL in Salesforce and with limited function options. I need most of the records in my table but some of my records will match on all fields but 2 and I need to choose only one of those ...
DaHop's user avatar
  • 1
0 votes
0 answers
9 views

Fold emulator, views are repeated and copied when folding/unfolding

When I fold or unfold in the emulator, the views are copied on the previous views! What is the reason for this and the Oncreate method is called twice, these views are on a fragment in an activity... ...
ehsan jafarpourasal's user avatar
0 votes
1 answer
24 views

Delete files based on availability on another directories

I have two directory, Faces and Faces_v2, I want to delete every file in Faces directory that does exist in Faces_v2 directory. This is a output from fdupes. 383051 bytes each: livecpk/Faces_v2/Asset/...
Liso's user avatar
  • 138
-1 votes
1 answer
18 views

I've been trying to apply unique index in combination in mongoDb databse using in my node.js backend, but unable to get away with the duplicate error

The movie is supposed to be added to the single document named as watchlist of all user, but i tried to apply unique index in combination of profile_id(user) and content_id(movie_id) so that same ...
Arish Ali's user avatar
-4 votes
1 answer
64 views

How can I add 'DOES NOT EXIST' to my SQL query?

I need to insert a new row from temp table (temp) if it does not exist in table (t). The problem I have is that there is not a primary key and the temp table is truncated each time its imported. I am ...
Danica Mattson's user avatar
0 votes
1 answer
18 views

NiFi DeduplicateRecord processor, RecordPathException when record path provided

I have encountered an issue with DeduplicateRecord processor. I am trying to setup a flow where I could potentially have duplicated records in a flowfile record. For the test purposes I have used ...
Artyom Rebrov's user avatar
-1 votes
1 answer
69 views

When looping though a dataframe looking for string values. How do I print out rows without duplicating if the search term is found multiple times? [duplicate]

I am importing pandas and reading a csv file. import pandas as pd df = pd.read_csv(r'C:\Users\Me\MyFile.csv') I am converting the dataframe to strings and making the contents lowercase df_low = df....
Matt's user avatar
  • 11
0 votes
1 answer
30 views

Adding percentage annotations to a graph using python

Ting to add some percentage annotations to a population pyramid, but currently the percentages are duplicated, cannot, for the life of me figure out how to fix it. #creating a count of each male in ...
Leakie's user avatar
  • 1
0 votes
0 answers
60 views

Python remove duplicates from sorted array not working for [1,1,1,1] [duplicate]

LeetCode: Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. My code works for all of the test cases so far, ...
None's user avatar
  • 11
0 votes
2 answers
76 views

Windows Batch - How do I create an array with a unique set of values?

I'm messing around in Batch and writing code that loops through files in a directory and adds the last four characters of the file name to an array. The problem is that there are duplicates in my ...
DKY's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
1066