Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
6 views

I'm writing a program to find substitution ciphers of a test_phrase that themselves are valid English phrases. Example: test_phrase = 'x marks the spot' → ['a whole sky ends', 'I stage our echo', ...] ...
WeCanDoItGuys's user avatar
Advice
1 vote
2 replies
11 views

When writing python code in a jupyter notebook, I often have to remember the exact imports for the libraries I'm using or copy pasting them. When using an IDE, you will usually get a red squiggly line ...
Mr. Awesome's user avatar
2 votes
1 answer
42 views

I am attempting to convert a dataset loaded from HuggingFace into a pandas DF so I can process the data. However, despite having no null values (as many prior issues point to) , all non-numeric ...
Jimi Ademola's user avatar
0 votes
0 answers
22 views

I'm new to Fabrci Pipeline with basic Python scripting skills. I’m trying to build an event-driven Fabric pipeline: when a JSON file is uploaded to Lakehouse Files/inbox/, a trigger rule should run my ...
afii_palang's user avatar
0 votes
0 answers
26 views

I am using yolo model to detect object. I am intrested in the parts of the objects and background that lead to that detection to solve this I tried Grandcam and EigenCam however the results of the ...
amrtaweel's user avatar
  • 106
0 votes
1 answer
72 views

How do the type alias classes (pseudoclasses?) such as typing.Tuple work? They behave like instance objects since their constructors take arguments But they also behave like class objects: they ...
Jason S's user avatar
  • 191k
1 vote
0 answers
10 views

I am performing an upgrade from Odoo 16 Enterprise to Odoo 19 on Odoo.sh. The build is successful and the registry loads without crashing [cite: 2026-01-23]. The Problem: Upon login, the web interface ...
Priscilla72460's user avatar
1 vote
0 answers
25 views

Problem: The app works locally but after deployment in azure, for some users the checkbox renders but selecting rows / toggling boolean does not update selected_rows or the returned data. Because ...
Asad Aslam's user avatar
-6 votes
0 answers
84 views

I am learning the FastAPI framework for backend development, but I am stuck at this point on how to verify the use while registering in my system. My intended flow is: User submits registration data (...
Jenil Moradiya's user avatar
3 votes
0 answers
75 views

I've got this client script: async with cur.copy("""COPY (SELECT {COLUMNS} FROM totals) TO STDOUT WITH (FORMAT text)""") as copy: async def batcher(): i = 0 ...
Yot Yot5's user avatar
0 votes
1 answer
67 views

In VS Code my Python code is formatted with the correct colors. When I look at the same code on Code Editor in Sagemaker it all has the same color as a docstring. I’ve tried different encoding, end of ...
mark's user avatar
  • 27
-1 votes
0 answers
52 views

import os import time import requests import random import string import re from datetime import datetime from docx import Document from selenium import webdriver from selenium.webdriver.chrome....
boomboss's user avatar
Best practices
0 votes
4 replies
43 views

I'm learning Python and wrote one working solution for checking if a year is a Gregorian leap year. Which is considered better practice? My solution: year = int(input("Enter a year: ")) if ...
Glazs's user avatar
  • 1
-4 votes
0 answers
60 views

The UK government have launched the Fuel Finder scheme which requires every petrol filling station in the UK to submit fuel prices within 30 minutes of them being changed at the pumps. The API details ...
Gary Taylor's user avatar
Best practices
0 votes
1 replies
11 views

I am trying to understand the difference in Dask between scatter(x, broadcast=True) and replicate(x). Both seem to provide a way to ensure copies of data is available in all nodes. Are they actually ...
Frames Catherine White's user avatar

15 30 50 per page
1
2 3 4 5
147229