Category "nested"

Flatten list of dictionaries in dataframe

I'm pulling data with Facebook Insights API and there are nested columns in the data I pull. I tried separating them by index but failed. column I want to split

How can I access and process nested objects, arrays or JSON?

I have a nested data structure containing objects and arrays. How can I extract the information, i.e. access a specific or multiple values (or keys)? For examp

Select the max,min of nested lists vb.net

I have these objects Public Class Class1 Public Property Type As String Public Property SpecLimits As Limits End Class Public Class Lim

Matching with multi-level multiple membership data

I am designing a within multi-level study in which my data has both nested and multiple-membership structure. The subjects are multimembers of V1 and also are n

Parsing Nested JSON give Unhandled Exception

I am trying to parse complex Nested JSON, I have multiple classes to get down the JSON nests. I am looking for the numbers from this JSON { "data": { "att

Retrieving values from nested json using Python

I have a json string below that i need to pull out all the values for securityId from _source. I expect the result to be NGN33 and NGG2 however the code below o

How to avoid repeating the same 'else' statement in multiple nested if/else?

In the code below, 'else' is same for all 'if' statements? Is there a way to have just one 'else' statement, rather than repeating the same code in all 'if' sta

How to make a dictionary of dictionaries with same keys in a loop [duplicate]

Hello i'm new to python and i'm trying to make a dictionary that can contain multiple dictionaries (depending on how many the user wants) and

Plotting nested lists seperately, which are inside nested dictionaries

I have a list consisting of multiple nested dictionaries and nested lists MyList = [{dict0}, {dict1}, {dict2} ... {dict2422}] dict0 = {'type': 'Feature', 'geom

Parsing Nested JSON leads to fromJson methods having a "The class 'Data' doesn't have an unnamed constructor." error

So I am trying to parse a Nested JSON from a GET request from VirusTotal but when I create the methods to parse the JSON for what I am looking for it is giving

How to convert array into JavaScript object

I have an array like this (which is similar to a JSON array) of length n: const mainData = [ { phrase: "Phrase 1", categorynumber: 1, optionnumber

Why my API-Plateform resource give me always and only 2 attributes in response?

I try to create a new API rest on monolithic project with symfony 4.4, api-platform 2.6.8, i have to use yaml configuration, but i have the same issue with anno

A function to obtain all leaf node properties of an object in an array of string in javascript

Request you to please help in building a function in javascript to obtain the mentioned output from the input given. INPUT : An object (possibly a nested object

How can I access and process nested objects, arrays or JSON?

I have a nested data structure containing objects and arrays. How can I extract the information, i.e. access a specific or multiple values (or keys)? For examp

Multiple/Nested NavHostFragments - Jetpack Navigation

I have two NavHostFragments, one in an activity which is the startDestination and another one in a Fragment. I can't seem to make the Bottom Navigation work in

How can I i get the same result as shown on the docstring

def make_str_from_row(board, row_index): """ (list of list of str, int) -> str Return the characters from the row of the board with index row_index

Get count distinct by nested objects from Elasticsearch

I have index with following mapping { "mappings": { "properties": { "typed_obj": { "type": "nested", "pr

How to insert records into a Nested HashMap?

I want to create a nested HashMap of: var myHashMap = new HashMap<String, HashMap<String, int>>(); And I want to insert records into the inner Hash

Is it possible to have multiple loops that run independently?

I am trying to insert 2 different ranges "x" amount of times based on the input from the user. The user chooses how many mounts they need "D22" and a range is c

JSON NESTED STRUCTURE - PENTAHO

I have this following json nested structure that i need to construct in pentaho: { "num_matricula": "4242424", "limit_date": "2018-01-01", "admission_date