I am trying to custom sort a TStringList by a column in a .CSV file. My code below works (slowly, about 14 seconds for 200,000+ lines): What I woul ...
I am trying to custom sort a TStringList by a column in a .CSV file. My code below works (slowly, about 14 seconds for 200,000+ lines): What I woul ...
Let's say I have a list of data in the following format: So the data could look like this: 501,20220104 13:12:07.005,25 501,20220104 13:12:07.002, ...
My input is: The dataframe is already sorted. The desired output is to create a column called 'subgroup' that starts at 1 and then only counts up w ...
Assuming I have a dictionary similar to this with variables IDs and PosX: I want to iterate trough all of it and create a new dictionary storing th ...
I am facing a little problem in code and seek your help . Problem description : ( I have an array of objects (mainly 4 objects only), and each object ...
I got a dict of names as keys and formated dates as values, I managed to have the list of these dates sorted, but I dont know how to now sort my dict ...
How to filter and checked matches conditionally with multiple fields passing in string; i have a request as like below: In that case i have to filt ...
I am not sure how to get the right script usually, I use listagg by order by but I want something different select customer_id , listagg (car_pro ...
I have a list that is of the following form: I need to sort the letter/number combinations based on the list that corresponds with them, (1,2,3,4) ...
I want to take a list of thousands of items and group them into 12 chunks, where the number of items found in each chunk correspond to a normal distri ...
Above shows an SVG path code as a string, I want to extract the x and y coordinates of the path and store it in array. The pattern is that all the c ...
I'm trying to figure out how to add interactive features in a bar chart. Now I'm stuck about program fuctions for a click action using a button to so ...
Imagine following dataframe is given. I have columns products, custome_demand_date (every week there is new customer demand for products per upcomi ...
How would I do the following as mentioned in the title. I have looked online and I can push, slice etc to add the item but I want the first value to g ...
I'm currently trying to rewrite an R script in Python. I've been tripped up because it looks like R and Python sort some punctuation differently. Spec ...
Given the example below, I would like the output to be commonest param is: ratio, which is the most popular name for a parameter. My output seems i ...
I'll start by giving an example cause it will be easier. Lets say I have a ListBox that's named "lbDestinations" and I have a class for that listbox ...
I have a list of tuples, each having two elements. Example: I am looking for an efficient way to find all the tuples whose first values are identic ...
Let's say I have a 2-D array arr[][]: and we have to sort it based on col1 1st and then based on col2 What is the way to do this in Java? Particul ...
This code only sorts in one folder, how to make it sort in different folders? ...