Im making a program that will do most of my homework. Im trying to add some ui and it gives errors in my code. Please tell what's wrong. Make it easy enough for
I want to use ensemble model by stacking Multiple Linear Regression, SVR, Decision Tree Regression and ANN regression. How can I do that?
import discord import time import random import schedule import asyncio async def run_scheduled_tasks(): while True: schedule.run_pending()
I have developed a model with three inputs types. Image, categorical data and numerical data. For Image data I've used ResNet50 for the other two I develop my o
I was solving this question on SO and faced a few problems with the methods I was trying. OP has a list which looks like this, a = [[[100, 90, 80, 255],
I am trying to read a GCP BigTable - table to a pandas dataframe, and currently, the function I am using to fetch rows from BigTable is read_rows(), which retur
Given a list of lists (i.e. a nested list), I want to delete all the inner lists with length 1 from the beginning and the end of the outer list. For example d
I am implementing a system that uses callbacks for event handling. I currently register the callbacks in a dictionary in each module. For example, see below: cl
My code- import pandas as pd import datetime as dt import os import shutil path = "C:/Users/rocky/Desktop/autotranscribe/python/Matching" destination_path =
import numpy as np import scipy.integrate as integrate time = np.arange(0.0, 1, 0.0001) test = np.sin(time) test2 = integrate.quad(test,0,0.01) I set up ti
I am writing a python script that should update a log table and notify me of it. Part of this script is to execute a SQL Server stored procedure. I get an email
Given a_list and b_list in python, I want to merge them so that the result is c_list. In the example below, only want to merge elements that have a matching 'A'
I am using tf-agents library to build a contextual bandit. For this I am building a custom environment. I am creating a banditpyenvironment and wrapping it in t
#i am getting url error how do i resolve it C:\Python\python.exe E:/data_science/Python_basic/module1_eda/EDA.py Traceback (most recent
I read all pictures from my pic directory and then convert them each to gray-scale with canny edge detections before writing it all to a video. But, when I use
import pandas as pd import glob import csv import re from bs4 import BeautifulSoup links_with_text = [] textfile = open("a_file.txt", "w") for filename in glob
Hi i am writing a program for my uncles business where he can scan barcodes to keep inventory, im jsut trying to get the part where he can see what all is in hi
Hi i am writing a program for my uncles business where he can scan barcodes to keep inventory, im jsut trying to get the part where he can see what all is in hi
I have a big-ass time series data frame where one condition changes at variable intervals. I would like to zero the time with each new condition, so I converted
I got following message when I try to do something with pip. Wybór Ścieżka Priorytet Status --------------------