I am trying to follow the instructions to create a palindrome. I am given half a function, and I have to fill in the blanks. I am currently unable to get the lo
I have a simple piece of code. Essentially, I want to speed up my loop that creates a dataframe using dataframes. I haven't found an example and would appreciat
I have a directory with a bunch of .tif files like: tnt_xxx_2015.tif, tnt_xxx_2016.tif, tnt_xxx_2017.tif......tnt_xxx_2100.tif. 'tnt' is one of the variable nam
I've been asked to help an art project that will be collecting the sunlight at dusk for 1 hour each day for a whole year. This is not about efficiency, this is
I have the following problem: I have a DataFrame df which looks like this: eqpid recpid queuetime trackintime trackouttime 3723
I have four (nx1) dimensional arrays named a, b, c, and F. I want to run this algorithm without any loops. for i in range(n): if a[i] < b[i]: F[i
I have written the following program which takes the duplicates in the doubleArray and adds them to a counter. Then I wrote a for loop to print out the values i
I have a 3D array of image such as [ [ [225, 0, 0], [225, 225, 0], ... ], [ [225, 0, 0], [225, 225, 0],
Good afternoon all, I am running keycloack in docker for my application. In this application, when I try to go to the authentication page I am getting an infini
Every Object properties have underscored the first letter; I wanna delete this first substring, and try the string method "replace" to all object properties, bu
i'm struggling with this topic: I've a file with a list of IDs, something like this: 34 23 478 12579 342356 On the other side, i've a command that i want to ru
I have a list where I have to copy date in each row in another worksheet and Save it as PDF Data is in each row in "Instruction" tab, that need to be copied in
I have written the code below and it has comments attached. The application is to read seven integers entered by the user. The application then prints out the n
I have two log files with the application names and the failed reasons , first.log Application 01 Application 02 Application 03 Applicatio
I have a for-loop in which I build a pandas dataframe and everytime the loop starts over, the dataframe is updated. What I would like to do is to depict this ta
Given a string (actually a svg path) such as: "M72 0v754h405v-86h-311v-211h302v-86h-302v-285h311v-86h-405z" I want to obtain an array where each element is eit
I need to create something that can multiply values no matter how many values there are. My idea is to use a list and then get the sum of the list with the sum
penguins %>% map(~replace_na(list(.=0))) Why the code above didnt work to replace na in the dataset penguins? The result is below # A tibble: 8 x 1 .
I am a beginner in programming and I need to write a c# console app that does something (let's suppose writes stars to console) in a loop until user inputs a co
I am trying to pass a Javascript code to Java, but I've got a problem with the for loop, I have a for with 2 iterators in my Javascript code, and it is working