Skip to main content
-1 votes
0 answers
9 views

Performance of Numba computations with dictionaries as arguments

I recently updated a Numba code to use dictionaries as arguments. Among the arguments are float64 arrays, floats and integers. I initially replaced the float64 arrays by a single dictionary but I ...
Alain's user avatar
  • 389
0 votes
3 answers
31 views

How can I write a function called update that allows me to update something in this dictionary?

I want to create a function called update in Python for a list dictionary but I don't have any idea how to do this. I tried to do reserch but the most common information shows how to do changes simply ...
Damian's user avatar
  • 9
0 votes
0 answers
8 views

The geolocation pin is not displayed on the map

I'm a novice developer. The third day I can't understand what the problem is, I created an Aure Map, then I need to link it to the dynamics 365 fields, but the whole problem is that the map does not ...
Ilya Zuu's user avatar
-4 votes
1 answer
43 views

Python list of Cities in European Country [closed]

I'm going out on a limb here but is there a library that can see if a city is in a country? Without having to create your own dictionary? I'm searching about and can see pycity but that is more for US ...
Dave's user avatar
  • 3
0 votes
1 answer
42 views

Creating SELECT query from python dictionary

I have python dictionary with key values as table and columns. In below example, sec_identifier, sec_profile and sec_sch are tables and id_1, amount, name, interest and price, ukey, date are columns. ...
Sachin's user avatar
  • 1
0 votes
1 answer
40 views

Find index in map object using JavaScript

If we want to find index in array of objects, it's pretty simple. Example below let a = [ {prop1:"abc",prop2:"qwe"}, {prop1:"bnmb",prop2:"yutu"}, {prop1:&...
Aren Trot's user avatar
  • 473
0 votes
1 answer
34 views

Iterating and updating a column using a list

originallist = df['Customer'].tolist() I have an list of customers. Within these customers, i have some translations to do which i have done. In other words, i iterate through the original list of ...
Dave's user avatar
  • 3
1 vote
3 answers
71 views

Circular references with MAP and SCAN embedded functions

.I have created a formula where i want to calculate the depreciation expenses dynamically using MAP function for depreciating the asset with certain conditions and SCAN to calculate dynamically ...
1 vote
1 answer
66 views

Implicit casting / polymorphism with a Dictionary in C#

I've got a problem where I am not able to implicitly cast a Dictionairy<int, class> to a Dictionairy<int, interfaceOfClass> where I feel that this should normally be possible with the ...
Philip's user avatar
  • 59
0 votes
0 answers
18 views

Flutter: Missing ManeuverView ID After first Attempts

I’m using both the flutter_mapbox_navigation: ^0.2.2 and mapbox_maps_flutter: ^0.6.0 packages in my Flutter project, and I’m facing a strange runtime crash that occurs after first attempts to use the ...
Naqeeb Awan's user avatar
-2 votes
0 answers
16 views

Is there a way to download an English dictionary with definitions & CEFR levels available for the world? [closed]

I want to download a dictionary with definitions & CEFR levels for a hobby project I am working on. I want to be able to process PDF files down to a "sub-dictionary" with the words used ...
Zek's user avatar
  • 99
2 votes
2 answers
110 views

How to fetch data from 5-6 levels of nested Dictionary?

I need to fetch data from nested Dictionary IN C#. My Dictionary is like this: static Dictionary<int, Dictionary<string, Dictionary<string, Dictionary<string, string>>>> ...
maulik kansara's user avatar
4 votes
1 answer
62 views

System.InvalidOperationException: Collection was modified; enumeration operation may not execute for ImmutableDictionary

I have a function that is being repeatedly called via a thread. Randomly some times it raises this exception. System.InvalidOperationException: Collection was modified; enumeration operation may not ...
user27330175's user avatar
-2 votes
1 answer
35 views

Why am I getting a return value of None when I used return, but it works in all other situations I have tried? [duplicate]

# Sample Code import datetime sample = { "Eat": [ datetime.datetime(2024, 9, 13, 2, 0), datetime.datetime(2024, 9, 13, 3, 0), "2024-09-13 20:43:35.440898&...
Ethan Radebaugh's user avatar
-1 votes
1 answer
49 views

Iterating through dict and list2d, list_value gets replaced with a str

I am iterating through a dict and after that through a 2d list[list[float|int] then i am changing the values of the list2d to the corresponding in the dict randomly a str appears from the test i did ...
Navid Yaghmaei's user avatar

15 30 50 per page
1
2 3 4 5
5752