Questions tagged [nested]
This tag relates to any of various nested entities or operations in programming.
nested
16,571
questions
1
vote
1
answer
23
views
How do I join two data frames on a nested array attribute
I have two dataframes created from ingestion json data w/ the below schemas
provider:
{
npi: "..."
name: "..."
location: {
address: "...",
...
-1
votes
0
answers
19
views
Nested @TenantId in Hibernate / Spring JPA
the Hibernate feature @TenantId looks very promising for my use case.
I'm wondering if it's possible to apply the automatic-tenantId-setting on nested tenants like:
tenant1
sub-tenant1.1
sub-tenant1....
0
votes
0
answers
8
views
How to prevent multiple nested calls of a python decorator
Hi All the following is my code:
from functools import wraps
def log_return(level='DEBUG', label='Returned'):
"""
Decorator for logging the return of a function
level (...
-2
votes
1
answer
49
views
create dataframe from nested list of lists in python?
list is like below -
[[{"1":"","2":"","3":"Jurisdiction of"},{"1":"Name of Subsidiary","2":"","...
-1
votes
0
answers
45
views
multiple json arrays to dataframe in python?
I have two types of list like below and saved in a .json file -
list1 -
[
[
{
"1": "",
"2": "",
"3": &...
0
votes
1
answer
86
views
Difficulty Sorting Nested JSON Layer Tree with SortableJS in Alpine.js
I'm having trouble sorting my nested JSON layer tree using SortableJS in an Alpine.js application. I have a complex JSON structure representing layers, which can be nested multiple levels deep. My ...
0
votes
1
answer
15
views
iOS/OSx: CSS Nesting With Host Selector Not Working
CSS Nesting With :host Not Working On iOS/OSx
While I already solved this issue for myself with a workaround, I bring this up for two reasons...
I would like to know if this is actually a bug or not
...
1
vote
2
answers
69
views
Replace single backslash with double backslash so that json becomes parseable
I am using cURL inside bash to fetch json data from remote API. Also using jq to parse and loop through the json array to perform additional operations. The response looks like this:
[
{
&...
0
votes
1
answer
13
views
Correct VBA Syntax for Nested If Then Else Statements? Compile error: Else without If
I am quite the rookie to VBA, but have made some progress. My current roadblock is resulting in a compile error, "Else without If". In reviewing my code, I believe I have correctly nested ...
0
votes
1
answer
33
views
Pick nested fields in TypeScript while maintaining optionality/nullability
My question is quite similar to this one, but mine is a bit trickier because I'd like to keep null and optional fields as they are.
Let's say I have a GraphQL query for a shipping page that looks like ...
0
votes
0
answers
17
views
What is the difference between calling summary() and train_summary() on a nestcv.train object in the nestedcv package in R?
I am running a series of elastic net models with nested cross validation on my training data, using the nestedcv package in R. I am trying to extract performance metrics to compare models with ...
0
votes
0
answers
10
views
How/where can I configure the JPA query used for a nested collection property?
I'm rewording (hopefully simplifying) my previous question as it got no response.
When a Parent Entity contains a List<Child> property, how can I control/configure/override the default Parent ...
1
vote
0
answers
18
views
Regex - lookahead and between [duplicate]
Suppose I have this structure of strings. I have >100k.
'xxxxxx0AxxZZxxBBxxxxx1AxxxxxBB' --Group1 is 1
'xxxxxxxxx0AxxxxZZxxxxx1AxxxxxBBxxxx' --Group1 is 1
'...
1
vote
1
answer
18
views
r - ANOVA on a distance matrix (nesting required?)
I have an experimental design intended to investigate the influence of two treatment factors (A with 2 levels and B with 8 levels) on the proportions in 8 groups. However, due to technical reasons, I ...
-1
votes
0
answers
30
views
Problem with nested for and while loops (simplest form) in Python [duplicate]
I found that nested "while" loops inside "for" loops in Python do not perform as I expected (it seems that the compiler does not check the "for" loop control variable ...