Hi im trying to create a backup function for my program, the idea is to copy and send all the files from one especific folder from my client to the server, the
I currently have several hundred .csv files in the format shown on the left below, and I need to transform them all into the format shown on the right. I tried
hello i'm trying to reshape an array with shape (70,65536,18) to an array in 2D with shape (4587520,18) but i the result its a 3D array whit the same shape here
I am Making a Music discord bot and I have been trying to make it loop and queue songs. But when I try to queue a song it just starts playing it instead of queu
I know there are similar questions to mine below, but mine is minimal and does not have anything to do with pandas and also solution pd.to_datetime did not work
I'am trying to open Jupyter Notebook from Putty. I have a server where is installed Python and Jupyter. I followed all the steps from this post Remote access Ju
I am trying to identify the checkboxes in the image The top 4 are identified but the bottom 2 are not. At the same time I would like to be able to get rid of th
I have a school exercise, but im struggling to understand how to do the multiplication table. Could someone please help me? So depending on the number and colu
I was installing numpy in python latest version 3.10.4 (64bit) after installation of python I did this below in cmd window. C:\Users\Administrator>mkdir pyve
I'm writing a code with albumentations function and it will give me this error ModuleNotFoundError: No module named 'albumentations' I also installed this pack
I a script I have: if __name__ == '__main__': try: file = sys.argv[1] with open (file, 'rb') as img_file: I run the script in terminal as: python3 s
I'm an aspiring data scientist. I stumbled across the titanic dataset. I tried to use logistic regression for the problem. However, I got stuck. Since I have tw
I have to create a class with two methods. This is the exercise: This is my attempted code: class Cats(): def __init__(self, name, breed, size):
I want to know if there is a way to eliminate points that are not close to the peak. For example if I have a data set with 10 million points and the peak is aro
I have been trying to run some code as a cron job using Django. There are a number of packages that help do this, but they do not seem to support the latest Dja
I need your help with the next problem, i need that a python recieve an string "EEEEDDSGES" and the output would by the sum of charactes that repeat in line, E
a,b=1,2 a,b=b,a=a,b print(a,b) # 2 1 If someone could give me a line by line explanation of this code, help me plz
I’d like to get the string having repetitive substrings consecutively more than x times. The substrings has more than y characters. For example, when x=4,
for example: testdata.txt - is fine datatest.txt - fail it happens with a lot of file names, some names are just fine a lot of other names fail. examples on scr
So I'm trying to create a program that deletes the cells in jupyter notebook that are code cells and delete go into the cells that have the word solution and re