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

I am learning Python basics (variables, multiple assignment, operators) and trying to swap values of variables. Here is my code: a = 5 b = 10 a, b = b, a print(a) print(b) Expected output: 10 5 ...
Ankaj Choudhary's user avatar
Best practices
0 votes
0 replies
7 views

I’m building a chatbot using Python, pydantic_ai, google_genai, and the gemini‑2.0‑flash‑lite model. The bot includes a module responsible for retrieving context from a knowledge base (RAG). The ...
Przemysław Ozga's user avatar
0 votes
0 answers
17 views

I’m developing CKAN extensions using the official ckan-docker setup with the dev images and need to restart CKAN after various updates in my extension. Inside my main ckan container (run via ...
WeSee's user avatar
  • 3,844
0 votes
0 answers
51 views

I can't seem to get past this error, tring to install a package file (requirements.txt) using pip, but it keeps throwing an error. I am trying to install Python packages to a virtual memory location (...
Bera Çakıcı's user avatar
-4 votes
0 answers
50 views

I need to extract consolidated financial statement tables from PDF files (balance sheets, income statements) and retrieve specific financial metrics like: Total Assets, Liabilities, Equity Revenue, ...
Rahul Raj's user avatar
0 votes
1 answer
18 views

Goal: color the area above the line using mark_area. Issue: the area appears below the line. Any changes I make to the Y2 channel (in terms of using alt.Y2Value or alt.value) have no effect. Context: ...
Juan Martinez's user avatar
-7 votes
0 answers
29 views

Issue: Voice Quality Degradation after dataset & config changes in coqui VITS voice cloning I’m working on voice cloning using Coqui TTS (VITS) and I’m facing a voice quality regression issue ...
Hassan Ali Jahangir's user avatar
0 votes
1 answer
12 views

I have a ChartXY where chart.add_event_listener('click', handler=on_click, target='seriesBackground') works fine until I add a rectangle/text overlay (used for annotations). As soon as I draw the ...
pyprogdevlopper's user avatar
1 vote
1 answer
21 views

I am trying to build a simple app in python with tkinter. It contains two rows for file selection (column of labels on frame1, labelFrame, and column of entry and button pairs on a second frame, ...
pythonManiac's user avatar
-3 votes
1 answer
94 views

I have a class that is initialized with a **kwargs parameter: class Test: def __init__(self, measurement, data, **kwargs): # some stuff names = list(kwargs.keys()) settings = list(kwargs....
user12728757's user avatar
1 vote
1 answer
34 views

I feel like I am missing some basic concepts about how to use a hatchling CustomBuildHook. During the package build process, I want to use a class from the same package that I am trying to build. I ...
James Duvall's user avatar
-1 votes
0 answers
62 views

I want to sum up (horizontally) some columns that share a common string in their name. For example, given the following columns a_red, a_blue, a_green, b_red, b_yellow, b_blue I would like to add in ...
Xywa's user avatar
  • 1
0 votes
0 answers
44 views

I'm using phi-3-mini-4k-instruct model from LM studio and start http server in my machine. Then I've a agents script that use that model. But the problem is the when I run my agents script instead of ...
Lycan's user avatar
  • 29
Best practices
0 votes
0 replies
21 views

I've been working on a project for rapidly testing thousands of outcome variables on a standard set of predictors and covariates using polars. It's working very well, with speed ups as high as 16x ...
idins23's user avatar
  • 11
-2 votes
0 answers
53 views

In my DAG, I need to define different conditions for files based on the logical date of the DAG run. I want to access the logical date directly as a Python datetime object in my script, so I can ...
Filip Blaho's user avatar

15 30 50 per page
1
2 3 4 5
147249