GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing stackoverflow.com — Newest 'python' Questions
How are we doing? Please help us improve Stack Overflow. Take our short survey
Collectives™ on Stack OverflowFind centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives2,204,318 questions
Question list filters
Score of -3
-3
votes
0 answers
0
answers
11 views
11
views
best practice for updating a Django python project with updates from a starter project/boilerplate
Background: I have switched to Django after being a Ruby on Rails developer for over a decade. I have never had to use a starter project/boilerplate, which I am dealing with now. I am considering ...
Score of 0
0
votes
0 answers
0
answers
40 views
40
views
Hierarchical Clustermap with 0 sum columns and ValueError
As part of my research, I have made hierarchical cluster maps of antimicrobial genes found in the samples. I successfully made clustermaps by dropping antibiotic genes that didn't appear in the ...
Score of -3
-3
votes
0 answers
0
answers
63 views
63
views
How Can I Prevent Data Leakage When Preprocessing Data for Machine Learning in Python? [closed]
I am learning machine learning with Python and Scikit-learn, and I want to understand the correct way to preprocess datasets before training a model.
I understand that data preprocessing often ...
Score of -7
-7
votes
1 answer
1
answer
145 views
145
views
Best Practice for blog app with both News and Articles [closed]
Recently I started working on a news app which has both news and articles. I'm looking for best approach for my app's model.
I can create Post model then News and Article model inherit from it by ...
Score of 1
1
vote
0 answers
0
answers
80 views
80
views
Why does MilvusClient.query() return only 4 rows with limit=10 after inserting duplicate primary keys?
I am using Milvus master-20260817-c2a92a8a in cluster mode with PyMilvus 3.0.1rc48.
My collection contains 13 distinct primary keys, with three copies of each inserted in a single batch. When I query ...
Score of 11
11
votes
4 answers
4
answers
280 views
280
views
Why there is an error with list broadcasting?
Why there is an error about broadcasting?
ValueError Traceback (most recent call last)
Cell In[7], line 3
1 import numpy as np
2 x = []
----> 3 x += np....
Score of 4
4
votes
2 answers
2
answers
110 views
110
views
Does sys.set_lazy_imports() accept 'none'?
According to the docs:
sys.set_lazy_imports(mode)
Sets the global lazy imports mode. The mode parameter must be one of the following strings:
"normal": Only imports explicitly marked with ...
Score of 2
2
votes
1 answer
1
answer
103 views
103
views
How can I programmatically create an MDList with KivyMD?
I am trying to create an MDList programmatically, but it keeps returning a blank screen. What am I forgetting? Here is what I'm trying:
I've created a two item list in my ProfileScreen class. Here is ...
Score of 0
0
votes
6 answers
6
answers
240 views
240
views
Why is my code not adding the last character when converting Roman numerals?
I'm trying to create a Roman numeral converter. My code compares two consecutive characters to determine whether the first value should be subtracted or added, following the Roman numeral rules.
...
Score of -1
-1
votes
0 answers
0
answers
65 views
65
views
Maximo logs access [closed]
I'm working with IBM Maximo 9.2.3 and Jython Automation Scripts.
I want to retrieve a JPG/JPEG/GIF image attached to a Work Order and display it in another application (Asset application), using an ...
Score of -7
-7
votes
0 answers
0
answers
181 views
181
views
Rounding a float number [duplicate]
I want to calculate 0.7% of an integer n, and then round the result to the nearest integer.
Here is what happens with n = 656500:
round(656500 * 0.7 /100) provides a wrong result because 656500 * 0.7 /...
Score of -8
-8
votes
0 answers
0
answers
165 views
165
views
Is the dependency cost of Lua worth it over plain Python modules? [closed]
I am creating this automatic script in Python for HTB boxes where I am trying to use Lua runtime to increase the feature and help people learn how to solve the box more easily. I was wondering if ...
Score of 2
2
votes
2 answers
2
answers
148 views
148
views
Set custom width for tick labels
The Python code:
import matplotlib.pyplot as plt
x=[0,1,2,3,4,5]
data1=[0,1,2,3,4,5]
data2=[0.0,.001,.002,.003,.004,.005]
axs=plt.figure(dpi=1200,figsize = (9,6)).add_subplot(1,1,1)
axs.plot(x,data1)...
Score of -7
-7
votes
1 answer
1
answer
166 views
166
views
Defining functions and then printing values [closed]
I want the 1000 to be the numerator in the below. However there is an issue with the code below. I want to print the actual result but cannot get it to appear for both tilde_1 and tilde_2. However the ...
Score of -6
-6
votes
2 answers
2
answers
186 views
186
views
How to get the lowest value from a tuple, contained within a list with other tuples as elements?
I've been assigned this problem/exercise to solve at uni:
Write a program in python which gets the date of Easter Orthodox Sunday during a specific year.
I've been given an algorithm to follow and I'...
Hot Network Questions
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |