set tag

14 questions


1 answers
121 views
0
Can you change the array to Set more easily?

I want to change the array to Set in Java. java.util.Arrays.asList(Object[] a); I can use asList, but I want to find a cleaner way.

1 years ago

3 answers
119 views
0
Questions about Python set

aList = [1, 2, [1 ,2], 'c', [1, 2] ]I know that the set function removes duplicate values from the listNested list, and if it's a mixed list of characters When using the set function, an error was pri...


1 answers
97 views
0
Differences between Python lists and sets

If you try to find the same value among the two lists in Python, it is usually for i in list1: for j in list2: if i == j : print(i)I found it using the for statement twice, but I changed it to a set...

2 years ago

1 answers
91 views
0
An error appears when trying to load a data set.

I tried using someone else's code to load the dataset, but these cannot import name 'CreateDataset' from 'config' (C:\ProgramData\anaconda3\lib\site-packages\config__.py) An error appears, so searchin...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.