I know this probably is basic, but my efforts keep failing. Here's my problem.
I have a large dataframe with 50+ columns, two of which are "year" and "unique individual tag numbers". The dataframe has several 1000 entries, and most, but not all…
Here is the sample dataset, having 2 columns, Data, and Name
The problem is to create a measure that is going to count the number of name occurrences having a count greater than 2
Step 1 is to find the Names that show up at least once a day without…
So I'm trying to find something to help me out but without much luck. I'm trying to click a button and start a specific frequency for example 160hz but can't figure it out yet, if anyone has any experience or can help out with this, please let me…
I am trying to build a bandpass filter analytically with the following specification:
Center frequency of fc (say 16hz)
Pass bandwidth of fb (say 2hz. therefore, cut-off frequencies are 15 and 176hz)
0 dB in the pass bandwidth
The hope is to…
I have two frequency maps obtained from numpy fft. Like so:
def fft(self):
Y = np.fft.fft(self.data) # fft computing and normalization
Y = 2.0/self.len * np.abs(Y[:self.len//2])
frq = np.arange(self.len) / self.duration # two sides…
I have this dataset for items at a picnic that contributed to a foodborne illness outbreak. Yes or no in the 'sick' column determines whether the patient got sick after the picnic. Yes or no after a food item (apple, banana, strawberry, yogurt, or…
I have an IQ signal saved using BladeRF platform in .bin file. I want to plot the spectrogram image of this signal in matlab
I tried with the existing function of matlab spectrogram but I got an image which is not expected, in fact my signal is over…
This is similar to my previous questions posted: Create new column with distinct character values
But I also wanted some additional information.
df:
ID <- c(1,1,1,1,1,1,1,2,2,2,2,2)
color <- c("red","red","red","blue","green","green","blue",
…
I placed vibrations of a component using accelerometers, then produced a dataframe with accelerations, that is, dataframe with the following columns: accX, accY and accZ. It is a variable in time, that is, a time series.
My idea is to transform the…
I found a problem in completing this python pandas exercise. I am asked to write a pandas program to display most frequent value in a random series and replace everything else as 'Other' in the series.
I can't do it in a series but kind of OK in a…
From a data set consisting of 5 columns and containing an indefinite number of rows I would need to extract in an orderly manner the pairs of numbers that come out several times together in the same row, let me explain better with an…
I've got a question of understanding on ROC curve.
For estimation of an optimal cut point for a biomarker, I selected an anchor and performed a ROC analysis. The anchor event is quite rare (about 5%).
The event when classifying now with the novel…
So basically, there is some work I have to do with a huge data-set.
I extracted tables with two different variables within the dataframe, to get Frequency.
For example:
table1<-table(df1$vehicletype,df1$company)
# let's say table 1 looks something…
so I am getting a strange output table/frequency chart that does not match up with my data. The variable PPETHMREC has been recoded (as shown in the code below) but despite the recoded values being present, the formatting is only reflecting a single…