I have multiple csv files with the columns "timestamp" and "users_holding" I was able to split the timestamp column into two columns "Date" and "Time". I am now
I am trying to make a python program for "The Sieve Of Eratosthenes" but I am stuck at one place. The c program I wrote looks something like this : for (i = 2;
I have code for calculating max depth using BFS, which works fine, but I couldn't figure out why it fails if I replaced for i in range(len(q)): with for i in q:
I want to load a series of data from 6 CSV files and save them per column of the data series. As I call the Column_A, Column_B and new_Column_A, only the last o
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
How can I make this code a recursive method? for (int i = 3; i < arr.length; i++) { writer.write(arr[i] + "\n"); strout += arr[i] + "\n"; }
i have nested object: var obj = { nestobj1:{ title: "some 1 title", text: "some text" }, nestobj2:{ title
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
I'm a bit confused. A matrix A has 8 eigenvalues, some of them are complex, some are real. I want to copy only the eigenvectors that correspond to the real eige
a is an nxn matrix. I have this code: [m,n] = size(a); x = zeros(m,1); for j=1:1:n if(j==1) a(1,:) = []; else end disp(a); a(:,j) =
I have a 2D array of row,through which i want get the column coordinates/information just like i got for the row(rowArr2D) So,in my Column(colArr2D) i'm just ge
I'm trying to get this for loop to work on Matlab so I can plot these three histograms. I'm guessing it won't output because it says that my variables such as a
#include <stdio.h> #include <string.h> void main(void) { char in[15], rev[15]; printf("Enter a word (upto 15 letters): "); gets(in);
I have a Pandas data frame that in one column called SourceDocument I have multiple lines of data in each cell (separated by \n). SourceDocuments PRDS-002039\nP
this is my first question here, so go easy on me. I've computed a certain portfolio in python, for which I've gotten a dataframe (or list for that matter) of ar
How do I take the user's input for how many legs are on the trip and have it loop that amount of times? int counter = 0; int gas = 0
Using a for loop in a batch file, from a folder full of xml files, I am trying to parse an xml tag but also the file name of the current file being read. I have
class Cars(object): def __init__(self,brand=None,color=None,cost=None): self.brand = brand self.color = color self.cost = cost ima
I'm trying to put a content div into each parent div, but this way it puts all the content divs to the first parent div, not each parent div. I've tried to do i
I need to fill multiple different arrays by using a MySQL query. This would have up to 16 different arrays. I want to specify each array with