Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
2,209,232 questions
Filter by
Sorted by
Tagged with
-5votes
0answers
38views

I'm trying to merge two dictionaries in Python while not changing order, but also applying a custom rule for conflictsd1 = {"a": 1, "b": 2, "c": 3}d2 = {"b":...
0votes
0answers
29views

I have a dataFrame with columns Age, Salary and others, if I used:df['Age'] = df['Age'].apply(lambda x : x+100 if x>30 else 0)Then I can modify the Age column with the if else condition. Also, if ...
0votes
0answers
22views

I am trying to connect to a legacy HFSQL (HyperFileSQL) Client/Server database using Python (pyodbc) on a Linux Ubuntu machine.I have followed the official documentation to install the specific ODBC ...
0votes
0answers
41views

I've derived this recurrence formula for π with convergence order 2m+1:It controls how many extra correct π digits you gain each step, letting you add huge chunks of digits per iteration instead of ...
0votes
0answers
21views

App.py runs and produces the spinner feature. However, it outputs the second half of the example wiki text file instead of producing a simple summary generated by the model.py script. App.py and model....
-7votes
0answers
42views

I’ve been using Obsidian for a long time to organize my stories, notes, projects, and collections—books, manga, movies, code, basically anything I want to catalog. I love collecting and learning along ...
-7votes
0answers
28views

Error I am getting:IndexError: list index out of rangeMy code:number = [1, 2, 3]print(number[5])I expected it to print the element at index 5.I tried:Checking my list.Printing other ...
user31953276's user avatar
Advice
1vote
4replies
50views

I have a module (let's name it optional_module) that I want to be imported optionally, as it can be either present or absent. Now I do it this simple way:try: import optional_moduleexcept ...
Phant's user avatar
0votes
1answer
45views

I'm using python socket programming to build a mock VPN service. the way I want it to work is that the server is launched, then the user client (Host-U) is launched. The Server should send a message ...
-6votes
1answer
65views

The TaskWrite a program based on the following requirements:The list must contain several tuples - each tuple should include:one nameone set consisting of numbersSelect only the tuples where the ...
workercat's user avatar
1vote
1answer
39views

In Python, an enum member carries an underlying value, which can be obtained by reading the value attribute. Conversely, an enum member can be obtained from its value by calling the enum type.class ...
dumbass's user avatar
  • 27.2k
Advice
0votes
0replies
24views

I have a notebook with a parameter set within it via a widget, like this:dbutils.widgets.dropdown("My widget", "A", ["A", "B", "C"])my_variable = ...
SRJCoding's user avatar
-6votes
0answers
84views

I have a custom class in Python where I define __lt__ so that objects can be compared.But when I try to sort a list of these objects, the ordering doesn’t follow my comparison logic.Here is a ...
Vanshat's user avatar
Tooling
0votes
1replies
28views

I'm looking for a good package to train a linear quantile regression model, i.e. $\hat y = \sum_{i=1}^n w_i \cdot X_i$. With $x_i$ are the input features, and $w_i$ are the bounded trainable weights. ...
-2votes
0answers
27views

I am trying to access the table in my game which is called tbl[savename]. But it thinks my table name is a column.My code is: def save_data(self, data): conn = sqlite3.connect("dbInfo.db&...
lad12345's user avatar

153050per page
1
2345
147283

Hot Network Questions

more hot questions
Newest python questions feed

[8]ページ先頭

©2009-2025 Movatter.jp