Questions tagged [merge]
Merging is a generic term for combining two or more related sets of data. It is commonly associated with revision control systems when reconciling multiple changes made to a revision-controlled collection of files. Merging multiple data sets is another use of this tag.
merge
25,238
questions
0
votes
0
answers
47
views
Dealing with duplicate rows when creating a visit column, cartesian multiplication
I'm having trouble with data transformation.
What I want to do is go from a data table that created Cartesian multiplications to one that is sorted by column of visit number.
The logic:
this is a ...
-1
votes
0
answers
16
views
How to restart a GIT merge after commit unresolved Files [closed]
Is it possible to restart a git merge after committing the unresolved files?
I had a large merge and resolved only some of the merge conflicts, but not all. I then commit all the files, including the ...
0
votes
2
answers
29
views
Merge timeseries dataframes of different lengths and time intervals
I wish to join two dataframes of different lengths and time intevals based on common variable DateTime15 so that the Hourly_Rainfall_mm in df2 is merged to the df1 where the DateTime15 matches, which ...
0
votes
0
answers
17
views
Branching and Merging issues in SVN
We have a Prod, UAT, Emer_Fix branch which are static/permanent - meaning they never close and live forever.
We also have two TEST and a DEV branch which fit this same model.
Current Model:
1 ...
1
vote
1
answer
25
views
sybase merge query with where clause in insert or skip the insert on condition
I have a table with account_number, amount , last_updated_time.
I wrote a merge query as below
MERGE INTO account AS target
USING (SELECT ?,?,?)
AS SRC(account_number, amount , last_updated_time)
ON ...
0
votes
0
answers
6
views
ArcGIS Pro SPLIT BY that also joins the data of the split feature to the target feature
Layers:
I have two features layers in ArcGIS Pro:
a zoning base feature layer that is the target layer
a zoning overlay feature layer that will be used to split the base layer
Goal: to essentially ...
-3
votes
0
answers
34
views
Git arguing with itself over changes and merge
I am trying to merge branch feature into branch merge.
I started off with a regular no-fast-forward, no-commit merge but Git said there were unstashed files, even though nothing was showing up in ...
1
vote
1
answer
52
views
Merge query is failing on sybase 16.0 version
I am trying to run below merge query in sybase 16.0 but it's failing with error
SQL Error [102] [42000]: incorrect syntax near '('.
merge into account_balance( id , account_name) as G
using SELECT (...
0
votes
0
answers
46
views
Imported SAS file into R, combining columns of different length [duplicate]
I’m very new to programming with R. Ive imported SAS data into R. I have 4 data frames (for the sake of my question I only included 2) with some containing the same sequence numbers. I need to extract ...
0
votes
1
answer
55
views
How to handle the git situation 'Your branch and 'origin/main' have diverged...'
Following is summary of the steps follows:
User A:
Clones the repo with one main branch.
Creates a new branch and commits a new file.
Publishes the branch and pushes the changes to the remote repo.
...
0
votes
1
answer
32
views
Why `pd.merge()` still works even though the `on` column is located in the index
Consider the following example:
import pandas as pd
df1 = pd.DataFrame(
data={'A': range(5)},
index=range(10, 15),
).rename_axis(index='ID')
df2 = df1.add(100).reset_index()
print(df1)
# ...
0
votes
0
answers
40
views
Speed up for loop to merge two dataframes in pandas
This is my code:
import time
st = time.time()
# Determine the smaller DataFrame
if len(purp_expanded) <= len(demog_expanded):
smaller_df = purp_expanded
larger_df = demog_expanded
...
0
votes
1
answer
19
views
How rebasing develop after merge on master?
On my project, when devs ask for merge of feature branches on develop, the source branch is merged, and afterwards deleted, because in the Merge Requests settings, we checked Enable "Delete ...
0
votes
2
answers
28
views
Merge two datasets in a many to one framework, where dataset B's columns are a subset of dataset A's
My dataset A is a panel of individuals, as below. Many individuals can belong to a single family (variable fam_id). I have person variables and family variables in this dataset. As you can see, I have ...
-1
votes
0
answers
6
views
How can I merge two data sets with the same column names to format perfectly into a single data chart?
merge(Divvy_Trips_2019_NEW,Divvy_Trips_2020_Q1,by=c("start_time","end_time","start_station_name","start_station_id","end_station_name","...