I am trying to understand what would be the best code structure or a design pattern that would do the following: Have a function named get_data that would start
I have the following dataframe: +------------+------------------+ | item | categories | +------------+------------------+ | blue_shirt | ['red', 'wh
Trying to extract properties from the triangle / development class(e.g..age_to_age) give it was parameterized with multiple triangles each with different valuat
I'm doing some unit tests in this restaurant app, and the API request to cancel orders returns code 400 when running "manage.py test" command, but doing the sam
I am using statsmodel to build a linear regression for salary. It's giving me an error that says I am missing a required outcome variable. Can you tell what I
I have a CSV file having columns Instrument, Date, Time, Open, High, Low, Close I want the rows having Current close greater than current upper Bollinger band(2
I have a list of lists. I want to remove lists if the lenght of intersection of values in the list with previous lists is more than one. For example A=[(1,2,3,4
I'm refactoring my app from procedural code to OOP. I am trying to do this Driver class. UPDATE: this works in Windows but not in Mac. # IMPORTS from sys import
This is the code I use: import requests as r, sys as sus, bs4 as bs, webbrowser as wb from selenium import webdriver as wd dr = wd.Chrome() b = r.get("https:/
I want to create USDT wallet with python. Than I want to check wallet periodically and send usdt another wallets. I google it but I can't find anything. Any lib
I need to force the telegram bot on aiogram to send a random photo to the chat, how can I do this. Thanks in advance for your reply
I have two audio files that I would like to mix in Python. I'll refer to the original audio as "Audio A" and the audio to mix is "Audio B". I am able to add wh
I need to take list of interfaces from show vlan: gi1/0/1, gi1/0/2, gi1/0/3, gi1/0/5, gi1/0/7, gi1/0/10 gi1/0/11, gi1/0/13, gi1/0/15, gi1/0/17, gi1/0/19 and ge
this app is a school management system with django i have three types of user in my web app, my problem is how to authorize these and give them permissions. use
I have 3 (or more) Dataframes with this structure: ID Percentage 00001 3 00002 15 00003 73 00004 90 ... ... each csv have unique predicted percentage values a
Good afternoon, an update has recently been released in telegram and added web_app buttons. leading to the "site" in the telegram itself, the documentation says
I somewhat understand how to calculate the Confidence interval in this manner but why is it that in this code, they used the mean=0 within the stats.norm se = n
Hello) My project has the following structure: app/ - api/ - ..some_folders/ - web/ start.py ... some files ... - run.py Procfile requirem
I have been working on a tensorflow model that predicts short term positive and negative trends in the stock market using momentum indicators. I have the model
Hi I have a CSV file that is for several monitoring stations that have measured isotope data repeatedly over a period of time. Country Latitude Longitude