Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
114 views

I've been working on a project to learn Python and play around with machine learning that uses data from the NHL's public API. I've been able to teach myself via documentation and Google searches so ...
Matt's user avatar
  • 1,582
3 votes
1 answer
129 views

I have two pandas series: right_series Index Value 1 0.1 2 0.2 3 0.3 6 0.6 7 0.7 left_series Index Value 1 0.1 5 0.5 10 1.0 I would like to join right_series on left_series by the indices, such that ...
Billy Pilgrim's user avatar
0 votes
0 answers
40 views

I am working with a table in DolphinDB where multiple rows share the same id, and each row contains non-null values in different columns. My goal is to consolidate these rows into a single row for ...
xiyan zheng's user avatar
0 votes
1 answer
36 views

I have 2 queries in a Dataverse Dataflow ("Table 1" and "Table 2") that I combine in a new Append Query ("Append Table 1 & 2"). I then merge "Append Table 1 &...
grasshopper's user avatar
1 vote
1 answer
114 views

I need to combine two dataframes: one with detection data and another with the metadata for those detections. The column names of the first dataframe, which is called rt_det are: tag_id, power, ...
Tanya Lemieux's user avatar
0 votes
2 answers
227 views

I recently solved the Merge Sorted Array question on leetcode Here is the part of the code I am having doubts on : while (curr >= 0 && p1 >= 0 && p2 >= 0) { // more TC if ...
Suswetha's user avatar
4 votes
3 answers
111 views

I am running into some weird merge conflict issues even though I am the only one working on the repository and have only made linear commits. I have these branches: main feature-A (based off of main) ...
Nermin's user avatar
  • 1,340
-7 votes
1 answer
182 views

I have an object obj; and I then obtain an array arr of key-value pairs. Assuming that the key sets of obj and of arr are disjoint (i.e. no key appears in both) - how do I efficiently add all pairs in ...
einpoklum's user avatar
  • 138k
0 votes
0 answers
29 views

I'm looking to map either wikidata ids or GeoName ids to geoBoundary shapeIDs for ADM1 and ADM2. I'm not sure if there is a straightforward way to do this. For example, here is the GeoName entry for ...
Slash's user avatar
  • 581
6 votes
2 answers
201 views

I have a DataFrame that I want to merge and drop only duplicates values based on column name and row. For example, key_x and key_y has the same values in the same row in row 0,3,10,12,15. My DataFrame ...
Chris's user avatar
  • 63
0 votes
2 answers
181 views

# Read lookup file which only contains 5 columns. df_lookup = pd.read_excel( os.path.join(path, 'lookup.xlsx'), index_col=[0, 1, 2, 3, 4]) # sample df_lookup # |A |B |C |D |E | # |--|--|--|--|...
mk_'s user avatar
  • 27
2 votes
1 answer
67 views

I’m working with the DolphinDB Python API to analyze financial data, but I can’t join a table transformed by pivotby() with another table directly. The error says TablePivotBy has no merge attribute. ...
xiao feng's user avatar
4 votes
3 answers
101 views

Note: I have already looked at the following answers and they don't seem to apply or work in the way I expect them to work: Reword one commit prior to merge Squashing old git commits that were before ...
Mirrana's user avatar
  • 1,813
-1 votes
1 answer
135 views

I have two lists in Python: list1 = [1, 2, 3, 4] list2 = [3, 4, 5, 6] I want to merge them into a single list such that: No duplicates remain The original order of elements is preserved For the ...
Binil S Mathew's user avatar
0 votes
0 answers
52 views

I am trying to join two outlier tests, by attribute id, the outliers discovered from LOF_Outliers and the outliers discovered from Distance_Outliers. But only one of these two outliers is showing: ...
therickster's user avatar
2 votes
1 answer
93 views

This is a follow-up question to my attempt at debugging a merge conflict. Instead of the complex case there, consider the following script that re-creates the "same" repo every time: #!/bin/...
Florian Brucker's user avatar
1 vote
0 answers
152 views

I'm trying to merge the branch feature1 into the branch main, but I'm getting merge conflicts: $ git status On branch main Your branch is up to date with 'origin/main'. nothing to commit, working ...
Florian Brucker's user avatar
1 vote
2 answers
104 views

I'm performing data validation in Python using the Pandas module. I have two datasets to compare source and target data for expected values. I've successfully merged two dataframes using pd.merge and ...
Cassidy Alexander's user avatar
0 votes
1 answer
209 views

I’d really appreciate your help with a duplication issue I’m hitting when using deltalake merges (Python). Context Backend: Azure Blob Storage Libraries: deltalake 1.1.4 (Python), Polars 1.31.0 (...
Octavio's user avatar
  • 456
0 votes
2 answers
141 views

I'm trying to merge two pandas DataFrames on multiple columns. It is a many-to-one relationship. There are many of the same values in df1 but only value in df2. These are the example DataFrames : df1 =...
thor's user avatar
  • 283
0 votes
0 answers
72 views

I have about a year old branch with submitted PR. About 6 month later I tried to pull the latest master in but for some reason didn't finish. Now I'll try to complete the PR and submit it for ...
Igor's user avatar
  • 6,467
2 votes
3 answers
146 views

I have two datasets (Each dataset around 1.8M rows), one contains per second data, and the other one sometimes have per second, every two second, or three second. I wanted to join these two datasets, ...
Mee's user avatar
  • 321
1 vote
3 answers
94 views

I have 2 tables - Car1: And Car2: S_No Brand Type Cost Tax Discount Launch Month 4 Maruti Baleno 2000000 10 6 June 5 Maruti Baleno 2500000 11 8 June Primary key is S.No. column. However, the ...
Kamal's user avatar
  • 33
0 votes
2 answers
131 views

We have a challenge with how things have been merged into two different branches in our (public) Git repository. We have two branches: master (commits: a, b, c, d, e) maintenance-8.x.x (commits: a, x, ...
Ray Morris's user avatar
2 votes
2 answers
91 views

Please help find a solution that allows one to merge multiple columns respective to a grouping column. In the reproducible example I want to merge columns v2 and v3 within the respective groups (a,b,c)...
DAY's user avatar
  • 143
-1 votes
2 answers
131 views

Scenario: work... work... work... git commit -m "Step1" work... work... work... git commit -m "Step2" work... work... work... git commit -m "Step3" git pull # merge a ...
kan's user avatar
  • 29.2k
-1 votes
1 answer
64 views

I am doing this challenge but I am getting two different results one on my pycharm and one on the leet code webpage. my code on pycharm: nums1 = [1,2,3,0,0,0] m = 3 nums2 = [2,5,6] n = 3 print(nums1[0:...
D.Zou's user avatar
  • 816
-2 votes
1 answer
68 views

Normally we will do git merge commit_hash or git cherry-pick commit_hash to merge. However here I want one a bit different behavior. Assume git diff commit_hash~1 commit_hash shows some files are ...
An5Drama's user avatar
  • 774
6 votes
2 answers
247 views

test case I don't understand why I have problems with one test case on the inputs I have — it fails: 1. list1 = []; 2. list2 = [0]; Here is my code: struct ListNode* mergeTwoLists(struct ListNode* ...
fawf's user avatar
  • 81
1 vote
2 answers
80 views

I am trying to get this work and feeling that I am on the wrong path but I can't figure out how to make this simple (and working) Here is the data in my mysql table: title size title 1 S title 1 L ...
Arie's user avatar
  • 375
-3 votes
1 answer
82 views

I tried to merge multi worksheets in Excel. But my code merges all active worksheets including hidden sheets. I want to merge only the selected worksheets, instead. The selection can be by selecting ...
Bruce's user avatar
  • 19
0 votes
0 answers
201 views

I'm trying to merge this emoji font file https://github.com/googlefonts/noto-emoji/raw/main/fonts/NotoColorEmoji.ttf with a text font file I'm using Carimba Script.ttf for the text. I tried fontforge ...
BlackSpectrum's user avatar
0 votes
1 answer
87 views

I am a newcomer to Git and am probably missing something basic. My desired practice is to create a branch from main, work on a given release in that branch, and merge to main when release code is ...
psantucc's user avatar
2 votes
1 answer
186 views

I merged two branches and the resulting code crashed. I did a git diff and studied it carefully. Now I would like to go back and use the VSCode merge tool to do a fully manual merge of these two ...
Joymaker's user avatar
  • 1,634
1 vote
1 answer
62 views

I have two dataframes with timestamp data. It is sensor readouts from different sources. I want to combine them. The left dataframe (df1) can be quite large as it will be a combination of multiple ...
Enesma's user avatar
  • 11
0 votes
1 answer
51 views

How can I merge the following two lists ids and attributes based on the matching did field and for each matched pair increment the iterid values For example I have two lists below. size of the list ...
John's user avatar
  • 1
0 votes
1 answer
136 views

We use a common git strategy: branch from main to a feature branch. do commits in feature. if main progresses, merge it to feature. merge feature to main. I want to view the changes that happened ...
l000p's user avatar
  • 334
1 vote
1 answer
119 views

I am trying to store several columns of the data, and then merge them with the other data when necessary. However, the data could only be merged with other data when I created it at the start, and it ...
ChuDingjin's user avatar
0 votes
0 answers
190 views

I use Git to invoke Winerge, and this is the current setting: [mergetool "winmerge"] cmd = \"C:/Users/RD/WORK_FILES/Tools/WinMergePortable/App/WinMerge64/WinMergeU.exe\" \ ...
Mr.nerd3345678's user avatar
-2 votes
3 answers
183 views

Clarification: I'm asking about working on multiple branches in the same worktree. (I know how to work on multiple branches in separate worktrees, but that's not the question here.) Suppose I'm ...
Steve Summit's user avatar
  • 49.2k
0 votes
2 answers
152 views

I tried to merge multiple Excel files into one single worksheet with VBA but it only put all sheets into one workbook. I also want to add one first column with the name of individual Excel files. How ...
Bruce's user avatar
  • 19
0 votes
0 answers
130 views

Last month, there was an issue on our server where the ClickHouse merge process took an excessively long time. This process lasted for nearly three hours and kept the CPU load at a high level. Below ...
lyz_112's user avatar
0 votes
1 answer
118 views

This question shows many good ways to use git-mergetool to show the condition of files before a merge commit using meld: Setting up and using Meld as your Git difftool and mergetool I like the three-...
Britton Kerin's user avatar
1 vote
1 answer
68 views

I am trying to merge multiple NetCDFs containing 4 dimensions (lat, lon, depth, time) into one NetCDF. Each contain the same variable (sea surface temperature or 'thetao') and the same depth value and ...
Bubbles's user avatar
  • 23
0 votes
1 answer
207 views

I have two or more NetCDF files that share a time dimension and time variable, where the time variable is the same for all the files (from the start to the end of the time period, unit, etc). The ...
ShGh's user avatar
  • 67
1 vote
0 answers
79 views

I am currently working on an information retrieval system for an academic course project. In this phase I am required to index a large collection of documents (107000 .nxml files) which, if you don't ...
Jukeland's user avatar
1 vote
1 answer
769 views

Git novice here. tl;dr: I don't understand why already merged commits end up in my PR. Going to number my steps here so people can point out where I went wrong with a number. So I'm working on a ...
FridayPanda's user avatar
0 votes
1 answer
45 views

I have two dataframes, dfA and dfB, whose primary key is an ID and a datetime object each stored in a column. I wish to merge these dataframes on the ID & time if the ID is identical AND if the ...
user8793002's user avatar
1 vote
2 answers
74 views

I got a setup where I would like to call a function once per group and apply the result to multiple rows (multiple eans). However, the function is called as many times as I have eans. This might be ...
Peter Frey's user avatar
0 votes
1 answer
196 views

I'm merging two delta tables with databricks and one struct in the target delta table isn't merged as expected. On the source delta table I have data as follow: { id: '123', artist: { song: { ...
Yabada's user avatar
  • 1,758

1
2 3 4 5
505