Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

I'm coding with python for sympy and I need help. I need to add a value which will be on one index into another index of my sympy summation. If the value that needs to be added is not calculated then ...
Mazen Abdhelamid's user avatar
-7 votes
0 answers
44 views

import random cells = [ [0,0,0], [0,0,0], [0,0,0], ] cell = 0 print("welcom to kresteke noli") raund = True while raund: print("game board") print("...
user228's user avatar
0 votes
0 answers
24 views

im trying to downgrade pip to 18.1 for pyinstaller and it shows me the same error every time ive uninstall and reinstalled urllib3 and requests yet i have the same issue command: python -m pip ...
Mattka's user avatar
  • 37
1 vote
0 answers
20 views

ex: # pyproject.toml my-package = { git = "https://gitlab.com/group/my-package.git" } # envs export POETRY_HTTP_BASIC_GITLAB_PASSWORD="xxx" export ...
Armando's user avatar
  • 623
0 votes
0 answers
29 views

I compress two ndjson files into a multiframe ZST file where each ndjson is compressed into a frame. I have the following metadata meta_data (as a list) of the ZST file: import zstandard as zstd from ...
Akira's user avatar
  • 2,950
-4 votes
0 answers
47 views

How can I design an end-to-end explainable AI pipeline where every model prediction can be understood, justified, and audited? I want explanations at: Feature level Individual prediction level ...
Tushar Sanap's user avatar
-1 votes
0 answers
66 views

Currently using Python unittest and I would like to get the output of a function call bar. In my testing, I need to first call foo to get the proper workflow to pass into bar. However when I have a ...
pythonNovice's user avatar
  • 1,496
0 votes
0 answers
43 views

im currently trying to call/run python file b from python file a and it works, although all terminals except cmd struggle to let me work within this new opened python file i.e. i can only seem to type ...
Mattka's user avatar
  • 37
1 vote
1 answer
37 views

I have a problem and I don't have a solution for it, I am using fastapi and sqlalchemy and the project was working and then I used db.begin and I had to change the producer system because I am using ...
Leo Lan's user avatar
  • 11
Advice
0 votes
6 replies
53 views

I have a list of strings, for example: ["apple", "apply", "ape", "banana", "bank", "bat"] Given an input string (e.g. "app"), I ...
FluoryGrain's user avatar
0 votes
0 answers
26 views

I'm using openpyxl to load a template .xlsx file, add data into it and save it. I do this so I can keep the original formatting of the file (style, colors, layout...). Part of the info I need to ...
Carlos's user avatar
  • 3
Advice
0 votes
5 replies
30 views

I’m learning Python and working with a list of lists where each inner list contains numeric values. Example: scores = [ [80, 90, 85], [75, 88, 92], [90, 85, 80] ] Each inner list ...
FluoryGrain's user avatar
Advice
1 vote
5 replies
39 views

I have a CSV file with columns like: student_id,subject,score S001,Math,85 S001,Physics,92 S001,Chemistry,78 S002,Math,88 What I want to do is: Filter rows by a given student_id Find the highest ...
FluoryGrain's user avatar
-7 votes
0 answers
50 views

enter image description here Question 2: Substring You are given a text file containing a list of strings, one string per line. Write a Python program that reads the strings from the input file and ...
Tris dend's user avatar
Best practices
0 votes
7 replies
54 views

is this how you t reads the strings from the input file and writes to an output file all strings that appear as a substring of at least one other string in the list? # QUESTION: Finding Substrings # ...
FluoryGrain's user avatar

15 30 50 per page
1
2 3 4 5
147238