A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://stackoverflow.com/questions/tagged/python below:

Newest 'python' Questions - Stack Overflow

0 votes

0 answers

23 views

PID function equivalent from MATLAB to Python

I manage to correctly simulate a closed loop with Simulink using pure python "control" library. However, I'm now trying to do the same with a new closed loop that has uses a PID controller: ...

asked 1 hour ago

-1 votes

0 answers

33 views

removing multiples from a list of numbers [duplicate]

I am trying to write code that removes multiples of 5 from the list. multiples = [5, 10, 15, 20, 21, 31, 41] for number in multiples: if number % 5 == 0: multiples.remove(number) print(...

asked 2 hours ago Python: How to add variable in run statement?

My vs code looks like this: import requests import json import os os.environ = "website.abc.com" header={"Accept":application/json", "Authorization": f"Bearer {...

asked 2 hours ago

0 votes

1 answer

26 views

Mypy error when indexing into array with ellipsis and unpacking

I get a mypy error when I index into an array using both Ellipsis and tuple unpacking. I have a line of code that looks like this: new_mat = mat[..., *np.ix_(inds, inds)] which gives rise to the ...

asked 2 hours ago

0 votes

0 answers

21 views

Huge training loss when fine-tuning DeBERTa-v3-small with HuggingFace Trainer + LoRA

I am trying to fine-tune microsoft/deberta-v3-small with HuggingFace Trainer + PEFT LoRA adapters for a binary classification task (truth vs lie transcripts). My dataset is from the MU3D database. It ...

asked 3 hours ago

-1 votes

1 answer

58 views

How do I access specifically keys and values from CSV files?

I have a CSV file keeping track of people's score in a game. I read it with csv.DictReader(). How do I create a dictionary with the keys being the names, and the value being the scores? CSV file ...

asked 5 hours ago

0 votes

0 answers

28 views

Cannot access R or Python objects in R and Python Quarto Document

I am using Quarto and VSCode to try to run Python and R together. I'd like to be able to access R objects in python or python objects in R. If I render the document below, it works as expected. ...

asked 5 hours ago

-1 votes

1 answer

27 views

Autocomplete pdb and .venv

I have the following file 'test.py' #!/usr/bin/env python3 if __name__ == '__main__': test: str = "This is a test" breakpoint() print(test) When executing this (no venv) auto-...

asked 5 hours ago

0 votes

0 answers

16 views

Open3D - memory usage increase on showing webcam stream

I am trying to visualize a webcam feed on a plane in Open3D (testable Code below). After I run the script, the memory usage starts increasing after 3-5minutes non stop. When I comment the line ...

asked 5 hours ago

-4 votes

0 answers

46 views

python script to fetch data from oracle

i am new to python and i have below requirement. i have 5 tables which i need to fetch from oracle from same db daily. insert into snowflake tables .the job should run on hourly basis. i have two text ...

asked 6 hours ago

0 votes

0 answers

28 views

Model returns mutiple tools to call even when `parallel_tool_calls` is set to `False`

I’m experimenting with the OpenAI Agents SDK (Python) and ran into unexpected behavior with parallel_tool_calls. According to the docs, setting parallel_tool_calls=False should ensure that the model ...

asked 8 hours ago

0 votes

0 answers

26 views

Why does Neo4j connect over TLS using bolt:// when tls_level=REQUIRED?

Neo4j Community is running on an Ubuntu Server in a virtual private network on Azure. The default HTTP for both its browser and bolt are disabled in favour of HTTPS and WSS (through self-signed ...

asked 9 hours ago

-1 votes

0 answers

36 views

problem with rotating and translation an object in pygame

I'm having an issue where when I change the direction the character is supposed to move, I get a frame where it doesn't change direction but just translates. So, I tried putting the rotate function ...

asked 9 hours ago

0 votes

0 answers

49 views

extracting none straight grid line

i want to detect the cell-grid-line which the painting is over it. i tried skeleton and morphologyEx but not work, cause the grid lines are not perfect straight and are bent or skewed or wobbly, what ...

asked 10 hours ago

-5 votes

0 answers

41 views

DELHI AQI PROJECT Error showing, Tried AI as well still issue isn't solved [closed]

Create AQI categories (you can adjust thresholds) def categorize_aqi(aqi): if aqi <=50: return 'Good' elif aqi <=100: return 'Moderate' elif aqi <=200: return 'Poor' elif aqi ...

asked 12 hours ago

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4