Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
2 replies
32 views

I'm new to Python and am working with GUI's and layouts. I've got the hang of the basic layout widgets and adding buttons and things to them. How would I make a classic box around a layout of buttons ...
Paul Blase's user avatar
Tooling
1 vote
2 replies
16 views

Here's example of my dataset I am working on a dataset (Excel / Google Sheets) where each row contains free-text answers about video games. The problem is that the data is very noisy: Some rows ...
Soraya Khene's user avatar
0 votes
0 answers
41 views

I am using Python 3.11.7 on Jupyter Notebook. I am trying to install the library transformers in Jupyter with pip install transformers It has a dependency on package torch and I have torch version 2....
cph_sto's user avatar
  • 7,739
Tooling
0 votes
1 replies
56 views

We have a python script that (in large part) manipulates data with pandas. Recently, a small amount of input data was malformed and the whole thing crashed when an exception was thrown within `pd....
Simone's user avatar
  • 166
-13 votes
0 answers
117 views

I’m working with massive structured datasets (10M+ rows) where ingestion speed is the primary bottleneck. Using standard pandas.read_csv (even with the C engine), I’m hitting a performance ceiling of ...
CN2's user avatar
  • 1
1 vote
1 answer
49 views

I'm trying to fix a CSV file I received in which actual new lines were inserted throughout the data, effectively splitting one row of data into multiple ones with incomplete columns. The line breaks ...
Lyran's user avatar
  • 11
1 vote
1 answer
30 views

An error occurs when executing the code. The def indicators(df, N) function is not executed. This is a snippet of code, I'm trying to repeat after the author from YouYube. I get this error: TypeError ...
aufloren's user avatar
-3 votes
0 answers
46 views

I'm working on small project using the modern portfolio theory for portfolio optimization, the final required output is a recommendations on which assets to buy and how much to buy. to achive that ...
abd klaib's user avatar
Tooling
1 vote
0 replies
48 views

I am newbie in Airflow and I use currently task scheduler on remote desktop to automate our tasks but it is based on my credentials and I cannot share with other team members, so I clone all projects ...
Murad Khalilov's user avatar
0 votes
1 answer
36 views

I am getting an error when using numba/jit. Here's the function: @jit(nopython=True) def find_map(nodes1, nodes2, feather2, verbose=False): def conndirections(i1,i2): dr1,dr2=[0,0,0,0],[0,...
alessandro's user avatar
  • 4,014
Best practices
0 votes
1 replies
52 views

For a site where users host discussions communicate with each other like on X(twitter), using Django, where should i define a user; in the forms.py, models.py or views.py file. This site will work ...
Benjamin's user avatar
-4 votes
1 answer
61 views

The code is print(score.sort(reverse=True)[:3]) And it makes an error TypeError: 'NoneType' object is not subscriptable What is the problem?
뽀로로's user avatar
2 votes
1 answer
63 views

I am very, very new to programming having just finished a semester-long course on Python. I wanted to take an existing program I had written for my class and redirect all the output text to a separate ...
user32674704's user avatar
0 votes
2 answers
77 views

I am currently trying to make a nested MySQL query using Python. But I am a bit confused about how the respond to a query that comes in a weird format with "()" and "," rather than ...
erotski's user avatar
  • 53
Tooling
0 votes
1 replies
38 views

I am building a RAG Study Assistant and need advice on finalizing my Docker setup. I have a specific architecture in mind to maximize performance and portability. The Architecture: App: Streamlit + ...
Denis_Hrica's user avatar

15 30 50 per page
1
2 3 4 5
147100