list tag

251 questions


2 answers
73 views
0
I'd like to change the one-dimensional list to json form.

a.pydd=['norm9_ab1', 'dataset-hdf', 'audio', 'csvfile', 'saveHDF', 'backend_test', 'keras-adversarial', 'pathconnect']filelist=[]i=1while i < len(ddd): filelist.append('\'+str(i)+'\:'+'\'+ddd[i]+'\...

2 years ago

1 answers
66 views
0
I want to combine columns with the same row value in a text file into one list.

I'd like to use the Apriori algorithm to do the association rule.Like an imageI want to make a list of Cat. values in the same row with the same ID.For example,Cat with an ID of 1010000092170000. guit...

2 years ago

2 answers
83 views
0
Sort descending to the second numeric value of the tuple in the list

word_list = [('this', 4), ('they', 3), ('that', 13), ('shall', 3), ('people', 3), ('nation', 5), ('here', 8), ('have', 5), ('great', 3), ('dedicated', 4), ('dead', 3)]How do I arrange these lists in o...

2 years ago

1 answers
95 views
0
I would like to display the SSID, BSSID, and RSSI that are currently connected through WiFi Scan.

To date, scan the WiFi SSID, BSSID, and RSSI The BSSID and RSSI of the same SSID were made to output to one view.By the way, I want to express the SSID, BSSID, and RSSI that are connected to each othe...


1 answers
80 views
0
I want to paste the list value into a specific part of the multi index dataframe. (Python)

I want to paste the list value into a specific part of the multi index dataframe.The code below is the data frame that I am currently practicing. I want to put list1 and list2 in the specific column a...

2 years ago

1 answers
108 views
0
Remove list space

How do I get rid of the blanks on the list? Spaces have become list components, so how do I get rid of them all?Result value ['[', ', '\n', '\r', '', '\n', '\r', '', '', '\n', '\r', '', ', '\n', '\r',...

2 years ago

1 answers
86 views
0
To insert data into a Python list structure

There are two CSV data, one for coordinate X and Y axis, and the other for which group belongs.The form of the data is as follows.#coordinate CSVx,y126.9604, 37.55781126.9729, 27.56278126.9734, 37.562...

2 years ago

2 answers
110 views
0
I want to get a list that exists in the Python function.

import sysimport osdef get_fruit_list(fruit_list): fruit_path = os.getcwd() + '\\fruit_list.txt' try: fruits = open(fruit_path, 'r') fruit_love = fruits.readlines() for fi in fruit_love: fruit_li...

2 years ago

1 answers
146 views
0
Question related to deleting vector object.

vector<list<CObj*>> m_vecObj;for (UINT i = 0; i < iSize; ++i){ list<CObj*>::iterator iter = m_vecObj[i].begin(); for (; iter != m_vecObj[i].end(); ++iter) { if (i == MISSILE) { ...

2 years ago

1 answers
134 views
0
Questions related to python list.sort().

Group3 = list()Group3.append('A')Group3.append('Da')Group3.append('la')Group3.append('I')Group3.append('c')Group3.append('a')Group3.append('b')Group3.append('羅')Group3.append('家')Group3.append('多')Gro...

« - 5 - »

© 2024 OneMinuteCode. All rights reserved.