16,592 questions
-1
votes
1
answer
54
views
Convert nested python dict to a pandas dataframe
I have weather data in a python dict that I'm trying to convert to a pandas df. (From there I'll load it into SQLServer but I've got that part working)
my_dict = {
'data.outdoor.temperature': {'unit':...
-2
votes
1
answer
73
views
How to decode nested numeric patterns in strings like 2[2[32]1[82]] in JavaScript?
I'm trying to solve a variation of the LeetCode "Decode String" problem in JavaScript. The adapted challenge could be formulated as:
Given an encoded string, return its decoded string.
The ...
-1
votes
2
answers
86
views
Retrieve nested private types in C# using reflection [duplicate]
It is possible to retrieve all the nested types of a class in C# using reflection using Type.GetNestedTypes.
However, those nested types are restrained to public types only.
In the following scenario, ...
1
vote
2
answers
168
views
How to build a nested adjacency list from an adjacency list and a hierarchy? [closed]
I have a simple adjacency list representation of a graph like this
{
1: [2, 3, 4],
2: [5],
3: [6, 9],
4: [3],
5: [3],
6: [7, 8],
7: [],
8: [],
9: []
}
which looks ...
4
votes
1
answer
102
views
Is Swig able to wrap nested structs when wrapping to produce python code?
The question is in the title. I try to wrap c++ code to python, which has nested structs (struct definitions inside another struct definition), and the inner struct doesn't appear in my python module (...
-1
votes
1
answer
60
views
Force git to treat a nested repository as a regular folder instead of submodule but still keep it as a git repository
This is an example directory structure
ParentRepo/
.git/
parent_file
ChildRepo/
.git/
child_file
child_untracked
I want ParentRepo to track changes of all files ...
0
votes
1
answer
33
views
I want nested Multi select dropdown in Mudblazor
☐ SaaS
☐ OnPrem Options
☐ Cloud
☐ Hybrid
☐ Other
My select dropdown contains parent options - SaaS ,On Prem and Other and My OnPrem contains 2 child options Cloud and Hybrid. On ...
1
vote
0
answers
168
views
Nested std::vector<std::vector> brings too many memory fragmentation and pollutes the cache
In my projects, there are several std::vector<std::vector<int>> dynamic arrays. The first dimension is about 10 million, the second dimension is about 10-100. Both of the dimensions are ...
1
vote
2
answers
53
views
How to extract nested json using json_normalize?
I have a nested json, but I can't understand how to work with them.
{
"return": {
"status_processing": "3",
"status": "OK",
...
0
votes
0
answers
30
views
Nested mutable and immutable borrows in rust [duplicate]
MRE:
enum MRE_Enum {
variant1,
variant2,
}
struct MRE_Struct {
dummy1: Vec<MRE_Enum>,
dummy2: isize,
}
// Private functions together
impl MRE_Struct {
fn foo(&mut self) ...
1
vote
1
answer
62
views
CSS nesting with Vite 6.2.3 & TailwindCSS v4.0.16 only works on dev, not on build
I'm working with:
Vite v6.1
Tailwind v4.0.16
Whenever I run my dev server, the .container classes are generated and everything works fine. The moment I do a build, .container is not included in the ...
0
votes
1
answer
30
views
Big Query - Extracting data from Nested Structure
I am trying to extract data from a nested table in Big Query. The table(Lets say UserDetails) has below format
Column name --> Nested Column
Example
Column 1 name : Details -->
Nested Column ...
0
votes
1
answer
36
views
Django template nested for loop from 2 different lists
I have 2 lists (if that is what django calls them) containg an id and a key/value pair e.g. [{'id': x, 'string': 'string'}] one list assigned to variable 'periods' the other assigned to 'paydates'.
I ...
-3
votes
1
answer
51
views
Is there a way to use a function which references an object that in turn references that function? [closed]
I'm working on a practice game that uses an array of objects (plants) that will be chosen randomly. Questions are asked about light and water requirements, winning or losing the plant and moving onto ...
-2
votes
2
answers
56
views
Treeview table showing duplicates from list of lists [closed]
For a program that takes information from the network I would like to display it in a table to make selections (calculate average, stdev ect.). I created a list of lists and I am trying to populate it ...