by Anonymous » 12 Sep 2025, 05:44
Last post by Anonymous «
by Anonymous »
Ich habe CARS -Datensatz, bei dem diese Funktion mit dem Feature -Namen Übertragung von 1.292 eindeutige Werte enthält. Da es sich um String -Objekt handelt, wie kann ich diese Funktion...
by Anonymous » 12 Sep 2025, 04:26
Last post by Anonymous «
by Anonymous »
Ich fand es wirklich schwierig, die von pandas.tseries.Offsets erzeugten Ergebnisse vorherzusagen, insbesondere wenn n == 0 . Unten finden Sie ein Beispiel mit monatend und monatBegin . import pandas...
by Anonymous » 12 Sep 2025, 04:21
Last post by Anonymous «
by Anonymous »
Ich habe wiederholt einen Fehler, wenn ich versuche, Python aus dem Hauptzweig des offiziellen Repositorys zu erstellen. Ubuntu 22.04.5 LTS
Jetzt klonierte ich den Hauptzweig, habe einen neuen Zweig...
by Anonymous » 12 Sep 2025, 02:48
Last post by Anonymous «
by Anonymous »
Ich benutze Dramatiker, um Websites zu kriechen. Ich habe eine Scraping-Funktion, die Dramatiker verwendet, und habe ein Python-Objekt implementiert, das diese Funktion verwendet, um Websites auf...
by Anonymous » 09 Sep 2025, 17:20
Last post by Anonymous «
by Anonymous »
Ich habe eine Liste von Dikten, die JSON -Objekte wie folgt sind:
[{'addressId': 12345, 'city': 'London', 'country': 'UK'}, {'addressId': 67890, 'city': 'Berlin'}
by Anonymous » 09 Sep 2025, 17:19
Last post by Anonymous «
by Anonymous »
Ich löste für das Leetcode -Problem 104. Maximale Tiefe des binären Baums. Was mir klar ist, ist, dass für die Linienfinddepth (Knoten.left, Tiefe+1) oder Finddepth (Knoten.Recht, Tiefe+1), wenn ich...
by Anonymous » 09 Sep 2025, 17:15
Last post by Anonymous «
by Anonymous »
Ich verwende den folgenden (einfachen) Code, um eine Eingabeaufforderung mit einigen Text und Bildern an Google Gemini auszuführen. Die Systemanweisung ist ziemlich umfangreich, gibt jedoch eindeutig...
by Anonymous » 09 Sep 2025, 17:14
Last post by Anonymous «
by Anonymous »
Ich versuche eine H5 -Datei mit Python
zu lesen with h5py.File(filename, 'r') as file:
print( file.keys() = , file.keys())
a_group_key = list(file.keys())
data = list(file )
print(data)
by Anonymous » 09 Sep 2025, 17:10
Last post by Anonymous «
by Anonymous »
Ich füge einen Cron -Job hinzu und er wird gezeigt, wenn die Funktion in Python nicht ausgeführt wird, und ich habe versucht, die Funktion im Python -Interpreter auszuführen, und es funktioniert...
by Anonymous » 09 Sep 2025, 17:00
Last post by Anonymous «
by Anonymous »
Ich versuche, ein Schulprojekt zu erstellen, das Daten von Twitter abkratzt und in einer CSV -Datei speichert. Ich habe vor, die SNSCRAPE -Bibliothek zu verwenden, um die Daten zu kratzen, aber ich...
by Anonymous » 09 Sep 2025, 16:50
Last post by Anonymous «
by Anonymous »
My System/Setup
Windows 11 (Enterprise)
Running in VS Code
Running Python 3.13 in a .venv/
Using uv (via python -m pip install uv, I cannot download UV über curl auf dem System, das ich...
by Anonymous » 09 Sep 2025, 16:46
Last post by Anonymous «
by Anonymous »
Ich habe den folgenden Code:
try:
None
except Exception as e:
status_code = error
# Try to extract status from exception
if hasattr(e, status_code ):
status_code = str(e.status_code)
by Anonymous » 09 Sep 2025, 16:46
Last post by Anonymous «
by Anonymous »
Ich verwende Selenium mit einem benutzerdefinierten Chrome -Setup über unentdeckte_Chromedriver und stieß bei automatisierten Browsing -Sitzungen auf ein kritisches Problem. At that point, my script...
by Anonymous » 09 Sep 2025, 16:36
Last post by Anonymous «
by Anonymous »
Die vorhandenen Beispiele der Multiprocessing -module gehen davon aus, dass die Aufgaben unabhängig sind, aber meine Situation ist haariger . Diese werden in Boxes von 50-100 Widgets pro Box...
by Anonymous » 09 Sep 2025, 16:35
Last post by Anonymous «
by Anonymous »
Ich arbeite an einer semantischen Segmentierungsaufgabe, bei der ich versuche, den Encoder aus einem vorgebildeten VA-VAE-Modell als Rückgrat für eine UPERNET-Architektur zu verwenden. Mein Ziel ist...
by Anonymous » 09 Sep 2025, 16:16
Last post by Anonymous «
by Anonymous »
Ich habe eine Liste mit 2D -Arrays mit gleicher Anzahl von Zeilen, aber unterschiedlichen Spalten. Ich muss ein gepolstertes Array von Arrays mit gleicher Form erstellen. Mein aktueller Code ist...
by Anonymous » 09 Sep 2025, 16:06
Last post by Anonymous «
by Anonymous »
Aufgrund der Konsolenmeldung der Setup.py -Installation ist veraltet. Ich bin in der Mitte des Upgrades meiner vorhandenen Setup.py -Installation auf das empfohlene Setup.cfg mit Build
Mein...
by Anonymous » 09 Sep 2025, 15:44
Last post by Anonymous «
by Anonymous »
Ich habe eine Python -Anwendung, die mit einer bestimmten Protokollkonfiguration initialisiert wurde (z. B. aus einem Konfigurationsobjekt oder aus einer YAML -Datei mit Python -Protokollierung...
by Anonymous » 09 Sep 2025, 15:37
Last post by Anonymous «
by Anonymous »
Ich habe eine Konvexhull, die durch eine Liste der 3D -Punktkoordinate angegeben wird, die von scipy.spatial.convexhull erzeugt wird. Nun ist die Frage, dass ich diese konvexhull, die durch die Liste...
by Anonymous » 09 Sep 2025, 15:14
Last post by Anonymous «
by Anonymous »
Ich versuche, Buspreise zwischen 2 Städten in Ontario, Kanada, zu extrahieren. Ich verwende Selenium/Python, um dies zu tun:
Die Website ist hier und es hat Standardstädte und Daten.
Hier ist mein...
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum