I have my jupyter notebook (python script) in current directory. In current directory, I have two subfolders, namely a and b. In both directories a and b I have
I have several files with the names RTDFE, TRYFG, FTYGS, WERTS...like 100 files in txt format. For each file, I'm using the following code and writing the outpu
as a task I have to find the maximum number in the RAM locations 10 to 20 and we have to write the solution into RAM[0]. I have a big problem with getting the i
Can someone help me with this Perl code? When I run it, nothing happens. No errors or anything which is weird to me. It reads in and opens the file just fine. I
I tried to find the sum of any array by using the for loop but the i++ part ended up being the deadcode unreachable. I don't understand why? public static int
nested json structure Json Structure: { "id": "30080", "dataelements": { "Name": "abc", }, "children": [ {
My code is a WW2 fact machine and for example if you input "1939" the code should print "start of war". If you input a keyword like "Dunkirk" it should work the
I want to make a long video from a single image in ffmpeg. I need it to be fastly encodeable and at the end the video should have a small file size. Is it pos
I found similar error but it seems the problem is not the same. for (i in colnames(t[,4:ncol(t)])) { for (j in poids_teff$station) { if (i == j) { t
I am trying to use an if else statement to delete the entire row when a text value is found in a cell within a given range. The code stops after deleting one ro
I have a script similar to below and get: Could not find server '@CURSERVER' in sys.servers. Verify that the correct server name was specified. If necessary, e
I have a formula in Crystal Reports that needs to sum only a certain number of values, but can't seem to figure out how to get the current value of a field for
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],