or tag

453 questions


1 answers
436 views
0
Right-click above the document tab and the menu disappears

I used to use menus such as Close all right by right-clicking on the top of the document tab, but it stopped coming out after a recent update.Is it a bug?

1 years ago

1 answers
294 views
0
Array encountered an error during Java personal exercises, but I don't know how to fix it.

The top is the class for the main function (error) and The classes below are for reference types.I want to upload the captured image here, but it's not going up well, so if I were to write it,Drinks =...

1 years ago

1 answers
311 views
0
I want to use an editor to specify and delete a specific string to a specific string in the regular expression.

I would like to delete the text from D-E-F to G-H-I from the text before processing below.A-B-C;hogehogehogeD-E-F;fugafuga piyopiyopiyoG-H-I; hogerahogeraA-B-C;HOGEHOGEHOGED-E-F;FUGAFUGAFUGA PIYOPIYOP...


1 answers
395 views
0
I have a question because there is a partial error in bow_vect = vector.fit_transform.

bow_vect = vect.fit_transform(df1['review'].tolist())이 부분에서 ValueError: np.nan is an invalid document, expected byte or unicode string.There is this error, but is it because of the wrong file designat...

1 years ago

1 answers
320 views
0
I don't know what it is, but I'm curious about this. To add additional variables to an already defined function.

from shapely.geometry import Pointdef somefunc(lst): return [Point(x) for x in lst]if __name__ == __main__: xy = [(x, x) for x in range(1, 10)] print(somefunc(xy)) There is a need to add a count varia...

1 years ago

1 answers
369 views
0
inport error

If you install the textrank and proceed with the import below, from textrank import KeywordSummarizercannot import name 'KeywordSummarizer' from 'textrank'It's written as.It's the same even if I chang...

1 years ago

1 answers
423 views
0
For, while

For statement hap=0for n in range(1234,4568): if n%444 ==0: hap += nprint(hap)How do I change this to a while statement

1 years ago

1 answers
336 views
0
Problems that arise when compliance is converted into a general for statement

# Create Dictionary loc_mapping = {val : index for index, val in enumerate(strings)} # It doesn't mean val = index, but it means to express it in the form of val : index.loc_mappingWhen you run , you ...

1 years ago

2 answers
273 views
0
Trivial expression syntax error

I am currently studying about the expression of the trinomial.year=2000val = 'It's leap year' if ((year%40) == 0) and ((year%100)!=0) or ((year%400)==0)print(val)If you type the code like this,SyntaxE...

1 years ago

1 answers
459 views
0
KeyError : 3 during dictionary call

I'm currently studying formatting.x = [10, 11, 12]x1=[13,14,15]First element in the list = {0[0]}.format(x)y = {a: 10, b: 11, c: 12}A key value in dictionary = {0[a]}.format(y)A key value in dictionar...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.