All Questions

19771 questions


2 answers
358 views
0
I want to multiply some of the elements in a column by 2 in a data frame

The following data frames are available:I'd like to double the value in the second column.There is no index and item name, so What kind of code should I write?I would appreciate it if you could let me...

1 years ago

1 answers
392 views
0
After converting 'xlsx' file to 'nc' format, an error keeps popping up while saving.

ValueError: could not convert string to float: Error like 'One'The storage code is test_4d_array.to_netcdf('test (2010-2022).nc').

1 years ago

1 answers
326 views
0
Create a Boxplot by condition.

I would like to use ggplot2 to show the changes in the sample over time in a boxbeard diagram.If you proceed with the following procedure, a box-beard diagram that does not reflect the day on the hori...

r
1 years ago

1 answers
363 views
0
Why do I sometimes conflict after installing from a different repository?

Why do I sometimes conflict after installing from a different repository?I don't think ius and epel are developing programming languages, they're just getting them from some formula, so why conflict?F...

1 years ago

1 answers
472 views
0
Understanding User-Defined Guard for Two Values in TypeScript

When I tried to run the following code in TypeScriptPlayground, testFunc(a);However, there was a type error because a could be null.In order to resolve this type error, I would like to write something...

1 years ago

1 answers
332 views
0
I want PHP to retrieve the domain when the current URL is a subdomain.

The current URL is https://a.example.com/Also https://b.example.com/If so, how do I get example.com?Can't I get it from the predefined variable $_SERVER?

php
1 years ago

1 answers
421 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 years ago

1 answers
323 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 years ago

2 answers
343 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 years ago

2 answers
365 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 years ago
« - 17 - »

© 2024 OneMinuteCode. All rights reserved.