Skip to main content
0 votes
0 answers
6 views

How do I dynamically filter my excel workbook using Python (without using VBA)

I'm using the xlsxwriter library to preform some formatting on my pandas dataframe. Now I'm trying to create a drop down filter and link it to the entire dataset. So for example, one of my columns is &...
user22083723's user avatar
0 votes
0 answers
8 views

ImportError: cannot import name 'pywrap_tensorflow' from 'tensorflow.python' after reinstalling Python and TensorFlow

I'm encountering an issue when trying to import tensorflow after reinstalling both Python and TensorFlow. Here is the error I get when trying to simply import tensorflow: ImportError ...
pd_prince's user avatar
0 votes
0 answers
12 views

QuerySet returns empty in django

I am trying to get the book list with 3 conditions: Accession number (character varying,10) Physical location (character varying,20) Book status Based on the user input: Accession number should be ...
PM.'s user avatar
  • 1,721
0 votes
0 answers
11 views

How to use uv to install a package and add it to pyproject.toml at the same time?

I am using conda to manage my python venv. Here is how i set it up conda activate venv pip install uv uv init Until this step i have the pyproject.toml file in my project root. Now I want to install ...
zifan yan's user avatar
  • 124
1 vote
0 answers
18 views

If I use Xpath to locate the element in web automation testing, I face failure of the scripts after every new deployment? How can I overcome this?

I am using Python Selenium for automating website testing and often encounter a problem with locating elements using XPath. Every time there’s a new deployment, some of my test scripts fail because ...
Kumkum Sharma's user avatar
0 votes
0 answers
15 views

Embed a draw.io diagram into a confluence page through an API call

I got this python code that creates a new page in confluence through the API. Works fine. But i would also like to embed a draw.io diagram into that same page, with this script. The diagram could for ...
user9200's user avatar
0 votes
0 answers
14 views

FastAPI application with nginx. Staticfiles not working

I've a simple fastapi project. It is running correctly in pycharm and in the docker container. When running via nginx, the staticfiles are not delivered. Structure is like this: ├── app │   ├── main....
saromba's user avatar
  • 498
0 votes
0 answers
10 views

How to safely cancel a running Hugging Face text generation mid-inference without restarting the whole server?

When running large models with Hugging Face's generate() function, if a user decides to cancel a request (e.g., UI "stop" button), the server has no way to interrupt an ongoing generate() ...
Swati's user avatar
  • 118
0 votes
1 answer
35 views

How to process CSV exports from an expense tool for visualization in a custom dashboard?

I’m currently using an Indonesian expense management tool (Mekari expense) that provides a solid built-in dashboard and allows exporting detailed expense reports as CSV files. However, I need more ...
Rahman's user avatar
  • 1
0 votes
0 answers
23 views

Is there any advanced use of the autogenerated .bat/.sh generator conan files(e.g.: conanbuild.bat, conanbuildenv-release-x86_64.bat)?

I am using conan version 2.12 and this command: conan install -r --output-folder= --build=missing [requires] zlib/1.2.13 [tool_requires] cmake/3.22.6 make/4.4.1 ninja/1.12.1 [generators] CMakeDeps ...
Arkajyoti Bhattacharyay's user avatar
0 votes
0 answers
18 views

How to best partition my data with a 32 core EMR instance and make sure I max out the parallelize feature?

I’m optimizing a PySpark pipeline that processes records with a heavily skewed categorical column (category). The data has: A few high-frequency categories (e.g., 90% of records fall into 2-3 ...
Bilal Jamil's user avatar
0 votes
1 answer
30 views

Import onnxruntime then load_dataset "causes ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found": why + how to fix?

Running import onnxruntime as ort from datasets import load_dataset yields the error: (env-312) dernoncourt@pc:~/test$ python SE--test_importpb.py Traceback (most recent call last): File "/...
Franck Dernoncourt's user avatar
0 votes
0 answers
23 views

Python, selenium, geckodriver, headless mode. Error when setting up the driver: Read timed out. (read timeout=120)

I am writing a program in Python using selenium. Everything works on the local computer, but the problem started when I tried to transfer the program to a remote server with headless mode configured. ...
Donna Lizard's user avatar
0 votes
0 answers
30 views

What is the equivalent of torch.nn.Parameter(...) in julia's flux?

In pytorch I can create a custom module as follows (this code example is taken from here): from torch import nn class MyModel(nn.Module): def __init__(self): super().__init__() ...
bird's user avatar
  • 3,314
0 votes
1 answer
31 views

How can I stop my tkinter hangman game accepting a correct letter more than once?

I am making a python hangman game using tkinter, however, after guessing a correct letter, it continues to accept that letter but marking it as wrong. This is my guess function: def guess_letter(self, ...
Prometheus's user avatar

15 30 50 per page
1
2 3 4 5
147455