I really stuck in this problem for a long time. I have a data frame, I want to group the data based on the ids and then stick the values for each id together. H
I've been working on learning more about the Canvas() widget in tkinter, so I decided to build a simple paint app just for practice. To achieve this, I created
Recently i saw a competitive coding question, the bruteforce approach doesn't meet the time complexity, Is there any other solution for this, Question: An expan
I have a keras model trained for occupancy detection of parking spaces, which I load using keras.models.load_model(PATH_TO_MODEL). The input for the model is a
My code below is to be used in a GUI that has two buttons. One to ask the user to locate a txt file, the other to run a function using that file to clean the da
I'm trying to extract the simulated heads from a MODFLOW-USG binary head-save file, so I'm using flopy as follows: modelname = 'Model' import flopy.utils.binar
I decided to pass google curse for python beginners and stuck on this question. It is optional to solve but I'm angry about it as I understand that it is simple
am trying to get a Json value out of Django Paginator object so that i can return it back to html file as a json response via JsonResponse method.Please help He
Let's say we are using Kafka with manual commits. We are processing the incoming message. But if there is a failure in processing for any reason, we want to rer
I have nrrd files of the brain tumor. When reading the file into an array with a header and passing the code print(filename), I get an array of zeros. I checked
The idea: I want to send some json tweets (from file) to AWS kinesis, S3, lambda, AWS comprehend then S3 again. The sample tweets: [ { "tweet_id": 56758
I am creating program that helps processing microstructure images. One of the function is detecting circles with the same radius. User draws one circle, my prog
I am attempting to build a lambda function connected to an API gateway POST method that will allow users to create and register cognito users within a given poo
I am trying to make a request using django-rest-framework and django-rest-framework-jwt but The response that I get detail": "You do not have permission to perf
I did write an HTTP Cloud Function in the Google Cloud Platform. The purpose of this function is to update data in the Database (Firestore). I do not intend to
For example: array = [4,3,2,0,0,0,0,0,0] The 0th index should only have combinations with 3rd index and 6th index. The 1st index should only have combinations
I got this kind of CSV which is not an CSV. Let me explain it. The output has column_name,value. e.g. created_at,2022-02-10T16:53:49+01:00 upd
I am generating all possible three letters keywords e.g. aaa, aab, aac.... zzy, zzz below is my code: alphabets = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
I've used this question but can't seem to do it again later. I call it with root.after later but then it does nothing. my code is: class Custo
I've tried to run a code example (hosted on keras.io) regarding the handwriting recognition task. While playing with the code, I faced a TensorFlow-related issu