27 questions
Score of 0
2 answers
52 views
Ungrouping data by indexing sub-objects and stacking in pandas
I have data that operates like it has been grouped. My goal is to keep only the most recent date for each name exclusively for location 'Home', in other words I want to know the most recent date that ...
Score of 3
1 answer
855 views
Filtering sub-objects in PowerShell using Select-Object
Many of you are familiar with the calculated properties possible in PowerShell, to raise a property needed from a sub-object level.
I.e. if I'd like to know the owner of a process (i.e. notepad) as a ...
Score of 0
2 answers
76 views
How can I access multiply nested sub objects in javascript?
I have a larger code which handles and sorts data. In it I want to work with objects to keep it easier and better structured. I have multiple categories and all of them have different nested ...
Score of 0
1 answer
1989 views
Unreal Engine : Why use subobject when creating Actor?
RootComponent = CreateDefaultSubobject(TEXT("RootComponent"));
I want to know the reason why we make subobject here.
I used a translator because I couldn't speak English well.
Thank You.
Score of 0
1 answer
160 views
Change nested object values in a powershell object
I have the following object, and I would like to change a nested value in the object without changing all the other nested objects. The object I would like to change is in a variable.
$object....
Score of 1
2 answers
162 views
Dynamic type of an expression dealing with a base class subobject
I am asking the question again because the only other question that is like this is approaching 10 years old, and contains incorrect information about expressions involving base class subobjects:
[...
Score of 3
1 answer
174 views
Storage duration of a replaced subobject
Regarding the code below
int main()
{
struct S { int i; } s { 42 };
new (&s.i) int { 43 };
}
[basic.stc]/2 says
The dynamic storage duration is associated with objects created by a new-...
Score of 0
0 answers
29 views
How to query data inside subobjects in MongoDB?
I need to query data in MongoBD and my JSON files look like the below.
The problem is that the time/date stamp changes for every five minutes so MongoDB understands the files as having different keys, ...
Score of 2
1 answer
121 views
C99/C11 Self-referencing Sub-object Initialization possible?
I should first say I don't think what I want to do is possible (having read what I think are the relevant parts of the ISO C99) but here is rough idea of what I have now:
struct foo {
int x;
...
Score of 1
2 answers
4216 views
mongodb import csv to json with subobjects
I have file.csv with similar to this structure
loremipsum; machine, metal
As i understand, succeful import will looks like
{
text: "loremipsum", << string
tags: ["machine","metal"] ...
Score of 0
2 answers
3535 views
C++ : Access a sub-object's methods inside an object
I am starting to code bigger objects, having other objects inside them.
Sometimes, I need to be able to call methods of a sub-object from outside the class of the object containing it, from the main() ...
Score of 1
1 answer
90 views
Exceptions on template non-type arguments
The C++17 standard says:
A template-argument for a non-type template-parameter shall be a
converted constant expression...
while
the value of the constant expression shall not shall not be the
...
Score of 6
1 answer
1005 views
java design: repetitive methods of sub-objects
When I was working on a project of mine and had to use a lot of nested objects, I became very unsure of my design of structure in Java when I wanted to set an instance variable of a deeply nested ...
Score of 0
1 answer
223 views
How do subobjects work in C?
What is the meaning of standalone square brackets inside of a C array of a custom type?
typedef enum {
BAR_1 = 0,
BAR_2,
BAR_3,
} bar_types;
typedef struct {
int is_interesting;
...
Score of 2
1 answer
3350 views
Editable parameter in DataTable of PrimeNg in Angular2 doesn't work with sub object
I have a problem with the DataTable of primeng with Angular 2 when I use sub object.
When I put the editable parameter at true. The value disappear.
This is my object :
export class Car {
...