here is my statement in jupyter notebook ##check time frame to fill shift feature t2=dfOriginal['From'] time1=np.datetime64('1900-01-01T07:00:00') time2=np.dat
I'm wrote my code using combination of stack & queue data structures. My code is working, but I have a problem in the main() method. I'm using a loop to rea
We have a few coaches who work for us. When a session is booked, the data including the coach's name and student name is pushed to a master sheet. We have crite
im looking for a better way to write this code each function searches for the image using cv2 and pyautogui through python-image search. the code works well but
I'm working on a college assignment where I use a PHP class to generate table values which a Javascript function then searches with a search bar. It builds off
I'm trying to have an if statement condition based on state value being equal to a certain value (0,1,2,3 etc.) Is there away to have the condition be with name
In my attempt to create a searching tool for a database that I created in the context of my undergrad thesis, I am required to make a lot of checks on the value
I have a package for a very specific purpose that is imported into many other systems and it consists of a lot of if statements. Is there a way of rewriting the
I have a little problem, I need to join the for loop with the if condition to graph different functions quickly, here I leave the prototype code reset set termi
I am trying to setup a formula in one line that will calculate the proper date that a contract can be cancelled based on the Texas Addendum for Property Subject
I found this as an interview question and can't seem to work a solution. You can't use any built in R functions. x <- c(77, 12, 4, 8, 77, 2, 4, 12) answer &
I am using conditional multiplication within data frame and using following syntax: if(df_merged1["region_id"]=="EMEA"): df_merged1["fcst_gr"] = df_merged1[
I had made a fully functioning method that would grab a variable string like x or var for the equation as so: // Equation Variable Getter public String getV
So i have an a array of numbers: $arr = [53, 182, 435, 591, 637]; All i am trying to do is loop trough each element and when a certain condition is true it sho
I am currently working on an R Shiny project and below is a small reprex of the things I am trying to accomplish in my actual project. The basic idea is to proc
I'm trying to register a credit card with MangoPay. I've installed the mangopay/php-sdk-v2 package. To register a credit card, it needs three steps. Create a to
I am working on a program and I need to make a class about cars. I need to add setFunctions that only allow a car year manufacture of 1930 -2030 as input, anyth
I want the html to open when the password is right and I have tried .js, document.write, .html, href, div, document.getElementById and nothing is working when i
Starting_Num = int(input('Please enter intial number: ')) Ending_Num = int(input('Please enter ending number: ')) for number in range(Starti
In the code below, 'else' is same for all 'if' statements? Is there a way to have just one 'else' statement, rather than repeating the same code in all 'if' sta