加载中...
Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
56 views

I am trying to use the DataTable.Merge method and running into a situation where it does not work. I import two Excel spreadsheets into two DataTables, but I also change two columns in each imported ...
G Bradley MacDonald's user avatar
-1 votes
1 answer
37 views

I have a map of objects, and I want to filter the objects into a new map based on another variable. I think this should be fairly simple, but I get an error when using merge (which I assumed would be ...
HuggieRich's user avatar
1 vote
1 answer
134 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
133 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
46 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
40 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
2 answers
136 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
283 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
127 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,560
-7 votes
1 answer
191 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
35 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
206 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
184 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
70 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
107 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,823

15 30 50 per page
1
2 3 4 5
1682