Skip to main content
1vote
2answers
21views

Extract Fields used in SQL query

I'm having trouble to extract fields used in SQL queries. The script below works well for most queries but having trouble when deal with multiple Cases or Select...From statements. Here is the script:...
ethan's user avatar
-2votes
0answers
16views

Extracting Schedule Data from Excel? [closed]

I'm still a bit new to analytics and was seeking some advice for extracting data from an Excel sheet for my works schedules in an attempt to make a heat map. The Excel sheets format are structured ...
Priestess's user avatar
0votes
0answers
9views

Mismatch between PyTorch inference and manual implementation

I’m trying to manually reproduce the inference forward-pass to understand exactly how quantized inference works. To do so, I trained and quantized a model in PyTorch using QAT, manually simulate the ...
greifswald's user avatar
1vote
0answers
25views

How to extract bold text from a PDF file via python?

I'm working on a project where I need to extract only the bold text from PDF files using Python. At first, I tried using libraries like PyMuPDF (fitz) and pdfminer, extracting the PDF as HTML and ...
Marco Floriano's user avatar
0votes
0answers
10views

How to reduce GPU memory usage when running Stable Diffusion with HuggingFace Diffusers?

I'm trying to run Stable Diffusion using HuggingFace's diffusers library, but I keep getting CUDA out of memory errors on my RTX 3060 (12GB VRAM). I'm using the standard StableDiffusionPipeline from ...
范姜伯軒's user avatar
0votes
0answers
9views

How pull reference values of environment variables on Azure App Service using python

I have a secret that I change every week but it does not update references automatically. I have to enter to portal to push the button called "Pull reference values", and this is the unique ...
Benjamin's user avatar
0votes
0answers
16views

Python - Open Excel workbook in smaller proportions

I'm using this code (adjusted example I found somewhere) to generate an excel file. It works as expected, with just one problem which is that when opening the file it always opens full screen which is ...
Gabrie's user avatar
-3votes
0answers
29views

Setting up Python and MiniConda with Visual and multiple environments [closed]

Windows 11. Currently, 3.10 is installed. It is used with VSCode and venv. Mutiple projects each using their own venv. I have recently installed 3.12. Path has both 3.12 and 3.10. I must install ...
PaulM's user avatar
0votes
0answers
18views

Python asyncio aiopg exception for correct combination of host and database

I have a list of 155 host + databases and I want to create a simple app in jupyter notebook that runs some query on them. Example looks as follows: SQL = """ SELECT 1 """ ...
Lidbey's user avatar
0votes
1answer
33views

Firebase Cloud Function Not Returning Response (Even After Successful Data Extraction)

Problem: I am building a Firebase Cloud Function in Python to extract text and links from a PDF file hosted at a URL. The function works correctly in extracting the data (I can see it printed in the ...
sona ali's user avatar
0votes
0answers
42views

most effective way to search if any word in a message starts with any word from a large dataset

I have a list of messages, and i need to through each message, for every message i need to find if a word in that message matches a word from my dataset or starts with a word from my dataset, I cant ...
Yalli Leshem's user avatar
0votes
1answer
13views

Use system CA instead of certifi CA in third-party library

In python, I use a package that uses certifi CA, but I want to use the OS CA instead. So, I imported a global variable from that package and updated it to use the OS CA: package.global_ssl_context = ...
Developer's user avatar
0votes
0answers
20views

PCA on transformed point cloud : eigenvectors randomly change orientation

I have a point cloud (using the Stanford Bunny). I'm trying to estimate the value of the rotation angle, assuming that my point cloud data (PCD) is centered and the rotation occurs only in the XY ...
Imad El Bouhali's user avatar
1vote
1answer
27views

scipy.sparse: one subarray at many locations in a larger array

Say I have a sparse subarray whose contents and shape are known: import scipy.sparse as sp sub = sp.coo_array([[a, b], [c, d]]) I'd like to place this subarray at many locations, according to some ...
ThunderBolt84's user avatar
-1votes
0answers
17views

Pytesseract not able to extract vehicle number plate text

I have designed code to detect number plates succesfully,But problem is arising when i need to extract number plate information using pytesseteract and store it in excel,It is not extracting number ...
Raj's user avatar
  • 21

153050per page
close