18 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
4
answers
290
views
How to use dot and square bracket notation as a string key to access a nested dictionary/list structure
Let's say I have a nested dictionary that looks something like this:
{
"a": 1,
"b": 2,
"c": 3,
"d": {
"e": 4,
"f&...
0
votes
1
answer
42
views
How to pass in values using dot notation [duplicate]
Unable to pass in values using dot notation to target key value pairs in objects. As shown in the code below the language names cannot be hard coded as they need to change depending on the button ...
0
votes
0
answers
103
views
How to make FLATTEN function in Snowflake return PATH in Dot Notation instead of Brackets Notation
When using FLATTEN function in Snowflake, we use the values in the PATH column, to dynamically construct a SELECT clause to query the semi-structured (JSON) column in the data table.
We concatenate:
&...
1
vote
0
answers
270
views
Spyder Console: Autocompletion duplicates code while defining a new variable
I recently experience an annoying bug with TAB autocompletion in the Spyder IPython console: when I define a new variable that is dependent on a property called with dot notation, autocompleting the ...
1
vote
1
answer
131
views
Is there a specific word for multiple dot notations on an element?
What would you call using multiple dot notation's to a variable?
i.e: e.target.style.textDecoration
I've tried to Google search for an answer but not sure exactly how to word the question. Plus I ...
2
votes
0
answers
110
views
How to read the value of list/dict objects using a dot-notation string?
Given this bunch of python objects (lists and dicts):
d = [
{
'props': {
'columns': [
{
'field': 'Hello'
}
]
}
}
]
How would ...
0
votes
1
answer
191
views
Accessing An Object Property Wrapped in an Array
This one is a two parter. Firstly I have a form with a bunch of values defaultly assigned and I'm displaying a chart.js chart.
Ideally I would like the user to be able to submit those values and then ...
user avatar
user21297781
0
votes
1
answer
254
views
Python class __call__ method and dot notation
My Goal is to use dot notation to select strings from dictionarys using the SimpleNamespace modeule while having the ability to change which dictionary to use.
To do this i have tried modifying the ...
1
vote
1
answer
362
views
Typescript error when using brackets and replace function in VueJS
I'm quite new to typescript language, but eager to learn it.
I have a SPA-Wordpress project as a hobby on my hands, I'm coding in Vite (VueJS), and I can't figure out the right syntax form to go from ...
1
vote
0
answers
17
views
chrome console accessing dot notation square brackets [duplicate]
Hi I have used dot notation in chrome console multiple times. My first time coming across square brackets in the console. I have no idea how to access that data. Anyone familiar on how to access this ...
0
votes
0
answers
39
views
freeCodeCamp Object Lookup challenge need clarification on Dot Notation vs Bracket Notation
I solved the one freeCodeCamp challenge which asked you to turn a Switch/Case statement into an object and access the properties through variables, the solution was
result = lookup[val].
I initially ...
0
votes
2
answers
230
views
How do I access a custom taxonomy created in Wordpress in Google Tag Manager?
I created a custom taxonomy in WordPress for article lengths. It's called 'Length' and these are the items within it: image
I also created a custom dimension in Google Analytics (it's index 5), and ...
2
votes
0
answers
119
views
Principles behind DOM element direct selection (dot notation)
Background info: I’m studying JavaScript, currently trying to understand DOM interactions, specifically direct selection (dot notation). It is worth noting that i’m a very theoretical learner and need ...
0
votes
1
answer
88
views
JSX dot notation Components in Clojurescript Reagent
I am trying to use a predefined React component with dot notation as such MultiSelect.Filterable in Reagent Clojurescript application but I can't seem to find the correct way to require it.
I am using ...
0
votes
0
answers
19
views
How would we use object notation to show the first 4 rows of a column in dataframe in pandas? [duplicate]
How would we use object notation or dot notation to show the first 4 rows of a column in dataframe in pandas? Hope anyone can help please. Thanks