Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
64 views

I want to generate all unique 4-integer combinations where each value is in a small range, for example: 1–10, and two combinations are considered the same if one is a scaled version of the other. ...
0 votes
0 answers
20 views

I'm working on a python application that's running on a raspberry pi that is intended to receive a data string from Azure IoT Hub, make a QR code off that string, then print that QR code as a label on ...
0 votes
1 answer
56 views

I have a Python project in VS Code with this file structure: project src main.py __init__.py lib utils.py __init__.py The __init__.py files are empty. In the ...
Advice
1 vote
4 replies
62 views

I have a .sto file from OpenSim that I would like to convert to a .csv file for data processing. According to the website, the header for these files looks like this: Coordinates nRows=153 nColumns=24 ...
-1 votes
0 answers
34 views

I’m using the Google Chrome extension LeetHub v2, and it works as expected for synchronising Python LeetCode solutions to my GitHub account. However, it’s not syncing SQL problem solutions. How can I ...
2 votes
1 answer
131 views

I have a JSON file that I'm trying to read into a Polars dataframe but keep getting an error message. I've been able to pin it to a specific character, but I don't know what to do about it. JSON file ...
Advice
1 vote
3 replies
98 views

Is there a better way to do this? I wanted to create an implementation of the modulo. def odd_even(num): elif num == -32768: return 'even' elif num == -32767: return '...
0 votes
0 answers
51 views

I rewrote some MATLAB code in Python, and after a lot of debugging, I've reached a point where the difference in results between MATLAB and python comes down to the results of solving least squares. ...
0 votes
0 answers
37 views

I have a list of dictionaries that represent settings and an editable QComboBox with which I want to select which dictionary I am currently modifying, but also change one of the keys in the settings ...
0 votes
0 answers
44 views

I am using LightningChart Python (ChartXY) to display real-time data. My application appends new samples continuously (multiple series in the real project), and the X-axis is configured to scroll. At ...
3 votes
1 answer
55 views

I'm trying to integrate the TFDWT library's DWT3D layer into a custom Keras layer. import tensorflow as tf import keras from TFDWT.DWT3DFB import DWT3D class DWTLayer(keras.layers.Layer): def ...
1 vote
1 answer
69 views

Suppose I have the following DataFrame of the number of births in each state in each year: df = pl.DataFrame( { "state": ["CA", "CA", "CA", "TX&...
0 votes
0 answers
19 views

I am trying to read multiple ERA5 GRIB files using the Python Xarray's xr.mfopen_dataset() method. My ERA5 input files are on a server in a location where I only have read permission for. Therefore, I ...
3 votes
0 answers
49 views

Apologies if there is a straightforward answer already that I'm too smooth brained to see. I am working with Python 3.13+ and Mypy 1.19.1. I've read mypy's docs, read several similar questions/answers ...
-4 votes
0 answers
72 views

For some reason, When I click on mon_deck, it draws from both mon_deck and loc_deck, and nothing happens when I click loc_deck. elif event.type == pygame.MOUSEBUTTONDOWN: if event.button == 1: ...

15 30 50 per page
1
2 3 4 5
...
147254

AltStyle によって変換されたページ (->オリジナル) /