All Questions

19605 questions


1 answers
282 views
0
I'd like to do a cross-examination. Please tell me how to do it.

import numpy as npimport pandas aspddf_maize=pd.read_csv(PSD online data maize.csv, thousands=',')]df_maize.corr()I was able to calculate the correlation coefficient, but there was an error in the fol...

1 days ago

1 answers
170 views
0
What are the meanings of packages, requests, deleting, and updated by the following when yum update error occurs?

When yum update error, package, request, deleting, and updated by the following are displayed, what do you mean?·Error in package uwsi-plugin-python36u-2.0.17.1-1.ius.el7.x86_64(ius)?·I requested pyth...

1 days ago

2 answers
275 views
0
Understanding Extracting Records with Same Value and Non-Continuous Id in a Column

Suppose you have the following users table:I would like to extract records with the same name and no consecutive id from this table.The expected results are as follows:I would appreciate it if you cou...

sql
1 days ago

2 answers
220 views
0
Shouldn't we use an exception in the method of determining whether it's an integer?

Using Java, we created a method to determine if it is an integer.private boolean isInteger(String str){ Integer parsedStr; try{ parsedStr = Integer.parseInt(str); } catch(NumberFormatExceptione){ re...

1 days ago

2 answers
292 views
0
How do I change the dtype from object to int64?

import numpy as npimport pandas aspddf_maize=pd.read_csv(PSD online data maize.csv)print(df_maize[Name])print(df_maize[Production])print(df_maize[Exports])# If you look at the printed results, the dat...

2 days ago

1 answers
209 views
0
How can I create web documentation pages like Visual Studio Code and MSDN?

We would like to create web-viewable documents such as Visual Studio Code and MSDN.I looked it up on the Internet and found out that there are Sphinx, Github Pages, etc. using Python. What are the oth...

2 days ago

1 answers
292 views
0
Print Python beautiful soap text only

import requestsfrom bs4 import BeautifulSoupurl = https://toss.im/res = requests.get(url)res.raise_for_statussoup = BeautifulSoup(res.text, lxml)toss = soup.find(li, attrs={class:p-navbar__item})print...

2 days ago

1 answers
177 views
0
dayArray [dayOfWeek-1] How do I interpret this?

package sec02.verify.exam02;import java.util.Calendar;public class DatePrintExample2 { public static void main(String[] args) { Calendar now = Calendar.getInstance(); int year = now.get(Calendar.YEA...

2 days ago

1 answers
325 views
0
Please tell me what object is used to redefine equals in HashMap.

javapackage sec01.verify.exam03;public class Student {private String studentNum;public Student(String studentNum) { this.studentNum = studentNum;}public String getStudentNum() { return studentNum;}@O...

2 days ago

1 answers
170 views
0
Questions about creating Python class objects

acc_cus = []dif = 0while 1: num = int(input( ++++++++++++++++++++++++++++++Enter the number of the item you want.1. Create an account2. Deposit3. Withdrawal4. Check account information5. Shutdown++++...

2 days ago
- 1 - »

© 2023 OneMinuteCode. All rights reserved.