Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Score of -3
0 answers
12 views

I am learning Machine Learning and want to understand it from the fundamentals to advanced/core concepts rather than only learning how to use libraries such as scikit-learn. I want to build a strong ...
Score of -4
0 answers
73 views

I’ve been working on this project since yesterday to help send messages to the inspectors. I’ve been using Gemini for assistance, but it seems to be hindering more than helping. Since I’m new to ...
Score of 0
1 answer
63 views

I am extending a form in order to initialize Ckeditor upon an admin form: File blog/templates/admin/article.html {% extends "admin/change_form.html" %} {% block extrastyle %} {{ block....
Score of 0
0 answers
37 views

I am desperatly trying to make a bi-directional sync between two sliders and a (single point) Point Holoviews graph without success. I do manage to update the point position with sliders values thanks ...
Score of -8
0 answers
102 views

I am building a web application using Python, but I am concerned about security vulnerabilities in my server code (such as path traversal, command injection, or unsafe input handling). I want to audit ...
Score of 1
2 answers
80 views

Python's standard library has a way to configure the logging using a dictConfig or fileConfig. A tool I am using (Dask) also supports configuring logging this way as part of its greater config file. ...
Score of 0
2 answers
110 views

I'd like to compute the gradient of a DataFrame, for which I can gather that the best method is to use .apply(), e.g: df = pd.DataFrame([[1,2,3],[4,5,6],[7,8,9]]) df = df.apply(np.gradient) print(df) ...
Score of 1
0 answers
143 views

is there a way to retain whitespaces when serializing an etree.Element with lxml? E.g.: <ph id="af7b8b15-8c62-4be5-a9dc-3c6e7a11b2ed" ctype="x-innovasys-property" innovasys:...
Score of 1
1 answer
98 views

I'm currently trying to loop through a table from my SQLite database and display it on my Flask web app however none of the data is showing on the HTML page and when trying to query the table I'm ...
Score of 0
2 answers
93 views

For internet limitation in my region, webdriver-manager doesn’t work for me. In a web scraping process with Selenium Python, I have written a code including opening a Chrome browser. The code has ...
Score of -1
1 answer
116 views

When you import foo in python, foo is added to the sys.modules cache and reused for further imports of foo. I'm curious whether __future__ imports behave the same? If bar imports a __future__ feature ...
Score of -10
0 answers
168 views

Looking at Python enums, a simpler syntax seems to be possible. Firstly, consider this example using enum from the stdlib: class Status(IntEnum): PENDING = 0 COMPLETED = 1 It feels rather ...
Score of -1
0 answers
55 views

I have been coding and interactive map in python and folium. When I run the cell I expected a Stadia.AlidadeSatellite layer to appear but for some reason a OSM loads. I haven't had any errors or ...
Score of 5
0 answers
240 views

I came across a statement similar to this: f = lambda x,/: x What does this ,/: or /: operator mean? Is the above identical to the following? f = lambda x: x
Score of 3
1 answer
123 views

When rendering a Quarto document with jupyter: python3, calling sklearn's learning_curve() with n_jobs=-1 crashes with a TerminatedWorkerError. The same code runs fine in a plain Jupyter notebook. ...

15 30 50 per page
1
2 3 4 5
146971