Hi my gorgeous friend on the Internet, I have a question about how to plot a Chart in Altair. I have been struggling with this error since yesterday and still h
I am trying to install pyodbc with pip on macOS(12.3.1), but that didn't work. In error log, Message says "fatal error: 'sql.h' file not found". Some people are
I have created API for News model: models.py class News(models.Model): title = models.CharField(max_length=255) created_at = models.DateTimeField(auto_n
I was trying to simulate a square wave with a duty cycle but something went wrong and i've been spending the last 3 hours understandig why. Here are the picture
How can I create two matrixes without numpy as A and B(can also do these operations)? import numpy as np A = np.random.randint(-9, 9, size=(5, 5)) B = np.rando
There is the following code inside a Node.js project: Soon.app = initializeApp({ apiKey: "AIzaSyB4fcG8rtNWAiAtSmxmK3q3JLfMvtNCGP4", projectId: "soonaverse"
I have the following code where function_1 and function_2 runs independently. However, I want the script to complete once function_2 is complete. import asyncio
I am trying to access Binance Vanilla Futures data by using [this code][1] as a framework to better understand how to get the data. However, when I input my API
I am just starting to learn python and getting an error message that the syntax for calling calculator is wrong. Does anyone have any suggestions? My code: impo
I am trying to install the geoviews module. I installed it successfully but when I am trying to import it in my code I have this message: No module named 'chann
I'm trying to reshape an array of bitmap images that has a shape of (50,50,90000). How can I modify it so that I can get an array of (90000,50,50)? - I tried ar
I'm trying to simplify this: urls = [] soup = BeautifulSoup(r.text, "html.parser") items = soup.select('.mydiv a') for item in items: url = item['href']
if I have a pandas dataframe with a description of an issue, how can I split each value into two separate words at a time? e.g Subject Number Issue 30493 "This
I am trying to extract all the texts in span into list, using the following HTML code from Selenium webdriver method: ['1a', '1b', '1c', '2a', ' ', ' ', '3a', '
from selenium import webdriver import time driver = webdriver.Chrome("chromedriver.exe") driver.get('https://www.google.com.tr/search?num=100&q=istanbul%20h
I'm having some problems iteratively filling a pandas DataFrame with two different types of values. As a simple example, please consider the following initializ
I've been trying a number of different example scripts listed on the developer github page here, but they all seem to return errors. from amadeus import Client,
I Saw this question here. But my file is already in wav. My code is a timer which plays sound after timer ends using threading. It wasn't working there, then I
I have a 70 GB csv file (data.csv) that has the following structure Timestamp,Price,Volume. 1649289600174,100,100 1649289600176,105,100 1649289600178,109,100 16
so I tried a few suggestions that were mentioned in this link -https://stackoverflow.com/questions/47446480/how-to-use-google-api-credentials-json-on-heroku. fi