Skip to main content
0 votes
1 answer
49 views

During a current school project of mine, I came up with a specific sorting algorithm which I nicknamed parallel_sort. By giving it a list of integers and a list of dictionaries, it sorts the ...
Gjyslaf's user avatar
1 vote
3 answers
148 views

I have a script which checks the value of a series of flags before deciding on an execution pathway. Because of the way the script executes, the flag values are held as script properties, therefore ...
Stuart L's user avatar
  • 179
0 votes
4 answers
241 views

I have two pandas dataframes: One assembled manually in Python, the other imported from a dashboard's .csv output. All columns in both dataframes are objects, and look like this: 2020 2021 2022 2023 0....
gorilla's user avatar
  • 47
0 votes
3 answers
91 views

I'm learning Python coming from some beginner-level experience with Java. It all makes sense for the most part, but one of the exercises kind of made me wonder what actually happens within Python. ...
Lucas Durrant's user avatar
1 vote
2 answers
110 views

I'm writing a unit test with GLib's testing framework where I want to check if two pointers point to the same place in memory. I do NOT want to compare the actual memory which they point to, so ...
Newbyte's user avatar
  • 3,955
0 votes
0 answers
52 views

I'm trying to use conditional formatting to compare the date output from multiple cells and columns against one date value. The condition works but in an undesired state. The condition evaluates ...
Cryotech's user avatar
2 votes
1 answer
206 views

We know that floating point values cannot be compared with the == operator, due to precision issues. However, the following code, which initializes a double variable to an integer 0, successfully ...
Pietro's user avatar
  • 13.5k
0 votes
2 answers
64 views

I am trying to compute the number of events that take place within 30 minutes of one another (variable n_within_30) on the same date and in the same location. I have tried to partition and group by ...
user30387333's user avatar
1 vote
1 answer
109 views

To use the Tahoma font in my PDF I loaded the TTF file from my Windows/Fonts folder into a converter which holds a Base64 string as input to the jsPDF plugin. Now the results show different from ...
Z0q's user avatar
  • 1,975
3 votes
1 answer
105 views

I have implemented begin and end functions for MFC containers. The iterators are pointers to the internal data and may be null pointers for an empty container. What happens if both are null pointers ...
Martin Fehrs's user avatar
  • 1,175
0 votes
0 answers
35 views

I'm running mrpp() function from the package vegan. I'm currently trying to move my analysis from PCORD to R so I'm developing a code to match the results. PCORD calculates an statistics test T which ...
Jime Chaves's user avatar
1 vote
0 answers
38 views

I am puzzled by this behaviour of Python's max() function: >>> a = 100 >>> n = float("nan") >>> a 100 >>> n nan >>> max(a, n) 100 >>> ...
ullix's user avatar
  • 505
0 votes
0 answers
45 views

I have many number of data frames up to 10. I need to compare 10 data frames with other 10 data frames which are independent to each other. Each of data frame has a specific keys to be compared. ...
vinamrata's user avatar
1 vote
3 answers
75 views

I have an array of objects with some bool and int properties: let employees = [ { isSkilled: false, isLeader: false, departmentHeadType: 0 }, { isSkilled: true, isLeader: false, departmentHeadType:...
bairog's user avatar
  • 3,539
0 votes
0 answers
41 views

I have trade data as shown. The countries and trade direction are not in separate fields, otherwise I think that might be easier. I would like the X axis to be one trade partner and the Y axis to be ...
Ivanna's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
547