I want to be able to organize data for efficiency and constantly update the order of that data based on frequency of access, relevancy, and accuracy. For exampl
I'm new to python and trying to learn it on the go, i'm tring to make a data entry phonebook using python with pandas. There is the code I wrote: import pandas
I want to save the string data into object. But I am getting error. Moreover, json.loads(st) not working for me. import boto3 import os import json def handler
As soon as the django user_logged_in signal works, I want to send data to my template at that moment.I need to check if my signal is working. from django.contri
I have a data frame like this data = [['Ma', 1,'too'], ['Ma', 1,'taa'], ['Ma', 1,'tuu',],['Ga', 2,'too'], ['Ga', 2,'taa'], ['Ga', 2,'tuu',]] df = pd.DataFra
I solved a part of my question! So I removed the original question and updated it to this one: I am making a wind interpolation script. There are several weathe
I am reading Chapter 7 of Data Structures and Algorithms in Python and I am finding the Positional List ADT quite hard to understand, the implementation given b
I'm trying to convert a string to datetime and keep getting the error: ValueError: time data 'Sat, 14 May 2022 12:15:00 +0000' does not match format '%a, %d %b
I need to vectorise the following loop using Numpy for performance purposes: for example in client_local_dataset: X.append(example['image'].numpy()) Y
I am using conditional multiplication within data frame and using following syntax: if(df_merged1["region_id"]=="EMEA"): df_merged1["fcst_gr"] = df_merged1[
Even if I've enough experience with Python & VScode, I often get this major misunderstanding. For example, I have two projects Project1_folder .env1
The purpose of the code below is to check whether or not a sheet already exists in excel workbook. If sheet exists, then set sheet as active sheet with given na
I tried to run this code using PyCharm: import great_expectations as ge df=ge.read_csv(r"C:\Users\TasbeehJ\data\yellow_tripdata_2019-01.csv") print(df.expect_co
I am trying to run this face tracking program provided here, but running the python program returns; Traceback (most recent call last): File "C:\Users\User\De
So I have a make story button, but I want it to be so if the entry boxes are empty or an adjective is not selected, it refreshes the window and does not make th
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],