As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [duplicates]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Prevent duplicates on calendar events from google sheet

I dont know much of writting code in App script but i am trying to learn... I need to write a code to fill calendar events from a google sheet but i dont know how to prevent the events from duplicate ...
Paulo's user avatar
  • 1
-3 votes
2 answers
70 views

How do I resolve the 'No matching conversion for functional-style cast' error? [closed]

class Query_base{ friend class Query; protected: using line_no = TextQuery::line_no; virtual ~Query_base()=default; private: virtual QueryResult eval(const TextQuery&) const=0;...
ManShan's user avatar
0 votes
2 answers
34 views

How can I return only duplicate rows with a lower identifier

I have a table with multiple duplicate records. The table has 4 columns e.g. id, post_id, post_key and post_value. I am able to return the duplicate entries with the query below. SELECT * FROM table1 ...
Ryan's user avatar
  • 9
1 vote
2 answers
51 views

Displaying 'Working on it' for duplicate Item numbers

Item Status 7080 On Hold 7080 Working on It 7090 On Hold When Item has same number i.e 7080 and has 'working on it' and 'hold' status, it should show 'Working on it' on both the status. I wrote a ...
Rakshith's user avatar
0 votes
2 answers
49 views

Pandas drop_duplicates with a tolerance value for duplicates

What I have is two Pandas dataframes of coordinates in xyz-format. One of these contains points that should be masked in the other one, but the values are slightly offset from each other, meaning a ...
Marcus K.'s user avatar
  • 129
0 votes
0 answers
19 views

How can I avoid duplicate values in a single column when combining multiple Excel files using Python?

How to avoid duplication of values Hellow guys, i have a problem. I just got started with python to try to automate some reports from my job. The thing is that i have 18-20 reports each one from a ...
yisus097's user avatar
1 vote
2 answers
41 views

How to get not duplicate rows in join?

I got some problems with duplicate rows which I don't wanna get. Hi! I got two tables - tab1, tab2 and I want to join tab2 to tab1 like: SELECT t1.column_A1, t2.column_B2 FROM tab1 t1 JOIN tab2 t2 ON ...
Rajczo's user avatar
  • 13
1 vote
1 answer
24 views

Delete or mark, record with max date in pyspark

I am new to data bricks, and I am trying to get rid of duplicate records for column "Patient_id" in a DF by using the "drop duplicate method. I'm wondering if there is a way to delete ...
Darkmaster's user avatar
0 votes
0 answers
21 views

Handlebar JS outputting duplicate database information. How do I fix this?

I am working with a catalog program called eLumen (database for community college). They utilize Handlebar JS, and I am a novice. I got my code to work to pull in the correct data; however, on some ...
Scott Hallmark's user avatar
1 vote
1 answer
36 views

R: Identifying dublicates across columns within categories

My data frame consists of 550 rows with 90 variables. All relevant variables are characters. Each row is unique by a combination of the 4 descriptor variables (Name, Question, Gender, Level), however ...
Bettina's user avatar
  • 11
0 votes
2 answers
31 views

Select a certain value when there are duplicates, while untying on highest date

I have two tables A and B. The common key between the two tables is "key". I am joining the two tables to get the following table: ID, Date, Value. This is the code I use: SELECT DISTINCT B....
Istvan Magos's user avatar
-1 votes
0 answers
31 views

How to resolve 'Cannot insert duplicate key row' error after BCP OUT and IN?

After BCP: Cannot insert duplicate key row in object 'dbo.actions' with unique index 'actions2'. After BCP OUT from a DB and BCP IN to another DB,I tried to insert a new record (via Frontend ...
mememe's user avatar
  • 3
0 votes
0 answers
24 views

Why are duplicate events being logged in Branch.io when using Branch SDK in Flutter for custom events in Android?

We are using Branch.io sdk (ver 5.1.0) in our flutter application, we are triggering certain custom events. But some events are getting logged twice(duplicate events), even when they are triggered ...
Sumit Kumar's user avatar
-1 votes
0 answers
19 views

SQL - How to dedup rows by one column and combine cell values [duplicate]

I have a table with 2 columns: a "userID" and a "FavFood" column that contains what type of food the user likes. But one userID can have multiple rows if they like more than one ...
hiphiplip's user avatar
0 votes
1 answer
43 views

Duplicate records added to the table despite the FOREIGN KEY constraint

How do I resolve this duplication error? When I run this program and it displays the items, the items are duplicated every time I run the program. import sqlite3 conn = sqlite3.connect('...
JuicyTendies's user avatar
0 votes
1 answer
18 views

Creating a mean value column X using values from column Y IF there is a duplicate in column Z

I have a dataset for bird captures where each row is an individual capture event. Individuals are identified by a unique band number (column Z), so if the same individual is captured multiple times ...
turnershae's user avatar
0 votes
0 answers
33 views

How to highlight duplicate word in a column in spreadsheet, ignoring text case and Punctuation

I'm working on a project in excel, but since its a collective data from multiple different person, i want to find any duplicate word after compile it and highlight it. I found a site where it explain ...
user329683's user avatar
1 vote
1 answer
30 views

How to see the duplicates in a different columns in Oracle SQL?

I try to find the duplicates but at the same time be able to see it in a different columns but this duplicates is in the same report and also I verified the duplicates by year. report id_tip date ...
Al.Vioky's user avatar
0 votes
0 answers
7 views

Duplicates and removing records

I have a large dataset (df) with millions of rows, I want help finding an efficient way of doing the following Dataset: df enter image description here I want to pull out rows that have same patient ...
diwan's user avatar
  • 1
2 votes
2 answers
53 views

How to subset duplicates on the earliest date among a group?

I have a data.frame with multiple events by individual (id). Duplicated rows have been previously removed. df <- data.frame(id=as.integer(c(123,123,123,124,124,124,125,125,125,126,126,126)), ...
Naomi's user avatar
  • 297
2 votes
1 answer
29 views

Filter duplicate rows in powerbi table based on language

I have the following table in Power BI: index id language value 1 12 fi value_in_fi 2 312 fi value_in_fi 3 312 en value_in_en 4 312 se value_in_se 5 22 fi value_in_fi 6 1 se value_in_se 7 22 ...
Lurri's user avatar
  • 43
-1 votes
0 answers
32 views

Insert On Duplicate Key Syntax and Understanding

I have a page for updating....where I update existing records that are displayed, AND can also add new records dynamically at the same time. So on this update page, after clicking on submit, I am ...
JahIsGucci's user avatar
1 vote
2 answers
51 views

Python: remove duplicates in a dictionary list based on 2 values,

I have this dictionaries list: [{'emailAddress':'user1@test.com','role':'writer','displayName':'USER1','type':'user','resultRole':'writer'}, {'emailAddress':'user2@test.com','role':'owner','...
pickaxu's user avatar
  • 13
0 votes
0 answers
24 views

Duplicate entry problems while inserting into mssql db from pandas dataframe

I am trying to insert pandas dataframe into mssql table but having problems because of the duplication. It is not technically duplication but it seems some destroyed characters. Below is an example: ...
melik's user avatar
  • 1,248
1 vote
2 answers
37 views

How to remove duplicate rows and keep one in an Access database based on the larger ID number?

I have a 60K+ row table in MS Access. I would like to check for duplicate rows and delete them from my table. A duplicate row would have the same [Mfg part number] AND [Manufacturer] AND [Substitution]...
Jgoldman11's user avatar
3 votes
2 answers
41 views

Merging data frames without duplicating data when several matches are possible

I need merge two data frames, without having duplicate rows/duplicated data if there is more than one match. Basically, if the matching between my dataframes is ambiguous, I would like the ambiguous ...
Myscellia's user avatar
1 vote
1 answer
41 views

How to add a trigger to delete duplicates in table

Hi I have a table like this below: [dbo].[table1]( [predictions] [int] NULL, [timestamp] [datetime] NULL, [train1] [int] NULL, [train2] [int] NULL) I'm inserting data into this table ...
MMV's user avatar
  • 136
0 votes
3 answers
55 views

How to remove duplicate items in sub-lists of a list [duplicate]

I have a 2d list with more than 20 rows but Im having a bit of trouble trying to figure out how to remove duplicates from each sublist in a list without changing the remaining order of unique items in ...
outkast20's user avatar
-2 votes
1 answer
28 views

How to dedupe records based on start and end dates in Oracle

I'm trying to consolidate a table so that each record represents a time period for a given ID-Case key and each time period doesn't overlap with other records with the same keys. For example, I have ...
Kdhosk's user avatar
  • 17
0 votes
0 answers
5 views

File duplication error in branch computers

I just started working on managing a station and the problem I encounter is that a local branch computer in my workplace has duplicated a folder by itself and whenever I create a new file using that ...
Pham Tran Le Gia's user avatar
0 votes
1 answer
15 views

How to make the results of segmentby displayed for only the last row in each segment?

I have used segmentby to calculate the sum by group, with the third column of values as the segment. The above is the output table and in each segment, the results are returned in every row. But I ...
serendipity's user avatar
-2 votes
0 answers
29 views

JOIN is creating a duplicate key

A tempdb is creating a duplicate PK value. I have narrowed it down to a specific inner join. All joins up to this return [3,4,5,6,7,8,9] with a shared FK value. After this join it is returning values [...
Steven T's user avatar
-1 votes
3 answers
52 views

Selecting partially duplicate records

In a MySQL database table, among other records, there is a number of pairs differing by the value of just one column, like: | FirstName|LastName |Number| | -------- | ------- |------| | John | ...
Dmytro's user avatar
  • 9
1 vote
2 answers
32 views

XSLT 1.0 - sort and delete duplicates

I have an XML file and have to work with it as it is. With my XSLT stylesheet I want to create a nice announcement for Microsoft Word. For the headline I need to sort a part of the booking numbers, ...
Ella's user avatar
  • 13
-3 votes
1 answer
50 views

keep N number of duplicate rows (based on column 1) [closed]

I have a csv with this first column of indexes: TTTGACTCATCCGATA-1-H0025_apex TTTGATCTCAAGGCTT-1-H0025_apex TTTGGAGAGTTTGAGA-1-H0025_apex TTTGGAGGTAAGATAC-1-H0025_apex TTTGGTTCAAGTGACG-1-H0025_apex ...
pino's user avatar
  • 83
1 vote
1 answer
23 views

Grouping duplicates in order (not your typical filter duplicates)

I have a strange situation for filtering duplicates. I have to turn this [ {name: A, number: 1, order: 1}, {name: B, number: 1, order: 2}, {name: C, number: 1, order: 3}, {name: D, number: 2, ...
Jacob Byers's user avatar
0 votes
1 answer
38 views

Multiple Joins Duplicating Rows from Other Tables

I am trying to join multiple tables, however some rows are 'duplicating'. This is because one of the tables I am joining has more rows than the others (the 'Goals' table). For exmaple, here are my ...
JahIsGucci's user avatar
1 vote
2 answers
68 views

Find Duplicate Files with hash and length, but use other algorithm

I'm trying to Find any duplicate files from my computer, I am using length and hash to speed the process, Someone told me I can improve the speed of my code changing the algorithm of hashing to MD5, I ...
jamyandy_1500's user avatar
0 votes
0 answers
47 views

Duplicate class error on Build using Firebase Unity SDK 11.0.0

Upon clean building my game in Unity version 2021.3.20f1, I currently get this duplicate class error: stderr[ FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':...
smars's user avatar
  • 1
0 votes
2 answers
71 views

Deleting consecutively duplicated data

I have a dataframe where I wanna delete data that appear two times consecutively in two columns, (its ok if it appear two times by row) basically I wanna go from that: df1<-data.frame(col1=c("...
Leonardo watch's user avatar
0 votes
0 answers
19 views

Automatically renaming duplicate files in folder with incremental numbers

I have a function which automatically maps new files into a windows folder. Once run, the program will output a file named "Test001" into the folder. However, there are times where the ...
Helloworld's user avatar
0 votes
0 answers
15 views

How to perform EDA/build a ML model if you have to join 2 tables together?

Looking for best practices for doing EDA/building a ML model if you have to join 2+ tables together, and it results in many duplicate rows. It also does not make much sense to just perform EDA/build a ...
Katsu's user avatar
  • 8,370
0 votes
1 answer
91 views

Merge Rows in Excel using same columns and 2 different columns

I have data like below. I need to keep same column on basis of 1,2,3,5,9 and column 6,7,8 need to be combined or merged into one. For the below example first 8 rows are duplicated but in actual there ...
user12063090's user avatar
0 votes
0 answers
14 views

Modify value of duplicated rows before removing duplicates

I'm trying to modify table in R. I've got table with few thousands of rows and I want to remove duplicate rows (Package) and modify in and out date of those rows (before removing them). The goal is to ...
zaqwer93's user avatar
1 vote
3 answers
152 views

Batch Script, need help generating lines of six different numbers (between 1 and 39) that have no more than 2 numbers in common with any previous line

Batch Script, need help generating lines of six different numbers that have no more than 2 numbers in common with any previous line The goal is to generate a csv file of 300 sets of 6 random numbers ...
Rene's user avatar
  • 15
0 votes
0 answers
17 views

Game Programming - Should enemy functions exist in the enemy class or an enemy manager/collection class?

I have a question regarding essentially how functions operate under the hood, and thus what would be more efficient in terms of space usage. The use case is game programming, particularly in the ...
FireStriker's user avatar
-1 votes
3 answers
58 views

Multiple duplicate values are not displayed from list

I am trying to get duplicate values from a list using the following function. The function is only displaying the first or one duplicate value. Example list is - in_list = [sam, Michael, sam, john, ...
Sam's user avatar
  • 21
1 vote
1 answer
30 views

How do I make a copy an existing sheet in a spreadsheet then rename the new copy using pandas?

I've been trying to find out how to copy a specific sheet in an excel file. So far I haven't found the correct method using Pandas. All I can find is how to copy the sheet from one file to another. My ...
mrawesome0238's user avatar
-1 votes
1 answer
40 views

python - cuDF : find dulplicates in a list of names using Levenshtein distance. ValueError when using apply function on cuDF DataFrame

I want to find duplicates (or almost duplicates) in the names of a people dataframe and using Levenshtein distance (2 names separated by at most 1 in Levenshtein distance are considered duplicates). ...
retroprojecteur's user avatar
1 vote
1 answer
41 views

Php Parse text to array with contain duplicate key

I want to parse text to array: text delimited with => First is the key and last is the value I will parse the text to an array. If a duplicate key is found, the value is an array with these keys. ...
Hida's user avatar
  • 150

1
2 3 4 5
314