Questions tagged [merging-data]

173 questions
0
votes
0 answers

Large file merging problems in SPSS

I have a large dataset of over 4000 cases with over 500 variables. I want to add this set of variables to another dataset containing most of the same cases but only around 10 variables. Both of the datasets contain an ID variable that allows me to…
Friðgeir
  • 3
  • 7
0
votes
1 answer

How to reduce the complexity of merging multiple arrays using heap?

I coded the idea presented in this question: merging sorted arrays as can be seen here: Big-O complexity calculation for a merge and sort function. As can be seen, the complexity of this approach is more than what is desirable. Is there a better…
Tom
  • 510
  • 1
  • 7
  • 24
0
votes
2 answers

Combining arraylist's that contain hashmaps

Hello i have 2 diffrent arraylist of which both contain data in hashmap format (key value pairs). Now i need to combine those 2 list's into a single one while maintaining the order from both list ( so the reference elements from both list at…
Ladybird
  • 35
  • 4
0
votes
1 answer

Is it too resource intensive to have a server Merge PDFs for Users?

I am doing some research, trying to find out if its a good or bad idea to do the following. A user would make a selection of choices Based on the selections, our website would merge these selected PDFs together The user could download the Merged…
0
votes
1 answer

How best to Merge Git Changes over SSH

I have a feeling I'm going about this the wrong way. I have a software project with 3 developers all working on their own GIT Repo making frequent changes. They're pushing their changes to the server, where I then merge the changes and publish to…
newUserNameHere
  • 17,348
  • 18
  • 49
  • 79
0
votes
2 answers

Perl script for combining 2 files with multiple entries

I have a tab-delimited text file like this: contig11 GO:100 other columns of data contig11 GO:289 other columns of data contig11 GO:113 other columns of data contig22 GO:388 other columns of data contig22 GO:101 other columns of data And another…
Amy Ellison
  • 89
  • 1
  • 7
0
votes
2 answers

IOS: Merging and updating NSMutableArray with NSMutableArray from webservice

I'm currently using two JSON web-services to fill two separate NSMutableArrays asynchronously. Local Stock & Supplier stock The first web-service retrieves local stock, the other one retrieves supplier stock. So after the two arrays get filled, I…
blaa
  • 438
  • 5
  • 19
0
votes
2 answers

Analyzing data from same tables in different db instances

Short version: How can I map two columns from table A and B if they both have a common identifier which in turn may have two values in column C Lets say: A --- 1 , 2 B --- ? , 3 C ----- 45, 2 45, 3 Using table C I know that id 2 and 3…
OscarRyz
  • 196,001
  • 113
  • 385
  • 569
0
votes
3 answers

sorting list of lists that contain both sorted and unsorted lists

There are k lists, which contain m unsorted lists (0 <=m < k). How can the lists be merged into a single large list which should also be sorted, No information provided about the lists that are sorted.
bicepjai
  • 1,615
  • 3
  • 17
  • 35
0
votes
4 answers

Replace elements in an associative array using another associative array

How can assign the values from one array to another array? For example: //array with empty value $targetArray = array( 'a' => '', 'b' => '', 'c' => '', 'd' => '' ); // array with non-empty values, but might be missing keys from the…
-1
votes
2 answers

Merging/Concat rows in Pandas, based on some specific conditions

I have checked all similar questions, but haven't found a solution to what i look for (or at least i don't get it). The following is a part of a big DataFrame. date venue result gf ga team opponent 2017-08-11 Home W 4 1 …
-1
votes
1 answer

How do I merge all .xlsx files in a folder into one file in R

I currently have 12 excel files that are of the same length that I would like to read in R and combine them into one data frame for analysis, how do I do this? I would prefer to not have to go through and name them once the data set gets bigger and…
-1
votes
1 answer

How to correctly use dplyr for merging dataset in R

I'm trying to merge two datasets by the only column with the same name, but the result is a Dataframe with one dataset after the another, without any actual merging on the same row. This is an example File1 ID Age GBI0061M 20 GBI0067M …
Fili____
  • 21
  • 8
-1
votes
2 answers

Sum values from two objects where properties are the same

How can I merge two objects and sum the values of matching properties? I am hoping for a built in function in PHP, otherwise I am seeking an easy way of doing it. See code under, where I have $objectA and $objectB which I want to become…
Niklas
  • 357
  • 6
  • 20
-1
votes
1 answer

Extract 2 Columns and Attach as Rows in SAS

I have two datasets in SAS. The first looks like this (let's say it is called data 1 (I'm only concerned with two columns of it) ...and the second dataset (let's say it is called data 2) looks like this: ...and I am trying to extract the second…
lm__entry
  • 3
  • 3
1 2 3
11
12