All Questions

19771 questions


1 answers
336 views
0
How shell(bash) retrieves multiple values from the JSON string and substitutes them into environment variables

I'd like to get multiple values from the following JSON string and substitute them into the environment variable.It didn't work.Shell didn't work as expectedjson_string='{name:John, age:30, city:New Y...

1 years ago

1 answers
394 views
0
Binary search tree

I wonder if anyone can help me rework this approach to determine the height of the binary search tree. So far, my code is as follows.public int findHeight(){ if(this.isEmpty()){ return 0; } else{ Tr...

1 years ago

1 answers
302 views
0
Related to Arduino communication through node.js with html/javascript

First of all, I am a beginner who started JavaScript with personal study for about a month.I've been scratching and studying here and there to make a web controller, and I put a function in the button...

1 years ago

1 answers
360 views
0
Pattern extraction using Python regular expressions

You want to extract a specific pattern using Python's regular expression.(It doesn't matter if there's a better way than regular expression)For example,-> Hello. Today is (12.05.26). 789261-12.A nu...

1 years ago

2 answers
245 views
0
Understanding Comparison of Multiple Dictionary Values in Python

I'm a python beginner.dict1 = {group1:[a, a, b, a], group2:[a, a, a, a, a]}dict2={group1:[1, 2, 1, 1, 1, group2:[1, 1, 1, 2, 3, 4]}This is the same group from the left of the values.For example, in gr...

1 years ago

1 answers
341 views
0
I want to create computational properties for 2D arrays with Vue's computed

I am currently practicing Vue3 code (Composition API).The purpose is to find the product (only practice) in the calculation properties if there is an array similar to the following:I just don't know h...

1 years ago

1 answers
400 views
0
You want Dispatch to create a variable in the Store so that it can be used by various components.

What do you want to doYou want the State stored in the Store to be available to a variety of components.PrerequisiteWhen a user logs in, the following data can be retrieved:Json{ hubs: [ 111.com, 22...

1 years ago

1 answers
510 views
0
How to load ini files and connect to Oracle in VisualStudio 2008

Nice to meet you, as the title says We are trying to create a function that reads information in the ini file, connects to DB, and deletes it.I've looked into various things, but I've only used Nuget,...

1 years ago

1 answers
435 views
0
Add dataframe values of the same structure without column names

Add data frames with the same structure without column names, I wrote like this, but names=['time', 'traffic']df1=pd.read_csv(r'file1.csv', index_col=0, names=cols_name)df2=pd.read_csv(r'file2.csv', i...

1 years ago

1 answers
313 views
0
EXTRACTION METHOD OF MULTIPLE CONDITIONS

If you want to extract January 1stdf=df.query('date + area.str.contains('January 1')')If you want to extract Tokyo on January 1stdf=df.query('Date + Area.str.contains('January 1st.+Tokyo')')If you wan...

1 years ago
« - 11 - »

© 2024 OneMinuteCode. All rights reserved.