I have data which is in X,Y co-ordinates that is transformed from spherical co-ordinates and I am trying to plot a contour of this data on top of a globe which I have taken from Cartopy. But its not working and I have been trying for a few hours...
I want to create a decomposition tree chart in python but one that's slightly different than the one available in Power BI. The structure I want to create is very similar to the Power BI version, with one difference being that I want to have a layer...
I tried to install tensorflow GPU in an anaconda enviorement, my hardware and software resources are:
GPU: Quadro K1100M python: 3.10.13 cudatoolkit: 11.2 cudnn: 8.1.0 OS: Windows 11 Tensorflow: 2.10
Everything goes well, but when I test if...
I have a Python script that runs on Windows 10 Pro x64.
When I open task manager, it shows that Python is running as 32-bit application. This is weird because:
Python 3.12.2 is installed as 64-bit variant (double-checked) Installer got from here...
I'm encountering an error when using LangChain's FAISS module to build a vector index from a list of documents. Specifically, I'm getting an IndexError: list index out of range on the line where I call FAISS.from_documents(docs, embeddings).
I have a discord ask command that's supposed to let the user ask any thing and take the input and give it to gemini through the API but it seems to keep returning 0 canidates. I included a try statement only incase the user asks something...
from random import shuffle matrix_aux_with_num_decompositions = [ , , , ] matrix_aux_with_num_decompositions_aux = [ , , , ] #Possible coordinates of lockers that will function as starting points for the possible circuit #Note that they are the...
from binance.enums import * # from binance.client import Client from binance.streams import ThreadedWebsocketManager import pandas as pd import os import nest_asyncio nest_asyncio.apply() # Define the structure of your DataFrame columns =...
So I am doing a project for college where I use keystroke dynamics to perform sentiment analysis. The keylogger I made seems to work but there is a problem. It does not write the keystrokes and calculated dwell time and flight time to a file inspite...
I am struggling to plot my data using pyplot.imshow. I use the 'RdBu_r' colormap, and I need the white color to be at value 1 on a logarithmic scale which is not centered at 1. But how can I do it? I tried 'center=1' which works for seaborn, but...
Here in code below I can get all the number of orders that are assigned to business. But here is the question, how can I edit this code so that I can sort users by which business that has most orders?
I want to use Serial communication with Arduino in Python in order to make a motor move according to a specified color. I have a problem with pyserial synchronisation with Arduino.
I download and unzip python-3.9.6-embed-amd64.zip file from python.org . Then, I unzipped python39.zip and I found site-packages folder in there.I added manually pandas package from pypi. Lastly, I tried this command: python.exe setup.py install ....
I'm trying to write to a text file using Python. The text file contains an existing line of text which is: admin, adm1n (admin being username, and adm1n being password). I added a new username and password (makay, makay1) on a new line, but when I...
Here in code below I can get all the number of orders that are assigned to business. But here is the question, how can I edit this code so that I can sort users by which business that has most orders?
I am a .net developer recently started using python, I am trying to create a Azure function v2 using python and looking for help on how to inject dependencies into my function. I looked at various examples of python dependency injection and able to...
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения