python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
SQL query duration as consecutive timestamps difference, grouped by day
Basically, I have a table like this
id
timestamp
state
minutes
1
7/12/2021, 17:38
off
14.54
1
7/12/2021, 17:53
running
8.39
1
7/12/2021, 18:01
off
8.12
1
9/12/2021, 00:04
running
big val...
Kunis
Votes: 0
Answers: 1
send email from currently logged in user when checkbox is TRUE
My question is an extension of this fantastic solution but am hoping to take it one step further. Whenever a user other than me marks the checkbox as TRUE, the sender of the email is always me, since...
Nate
Votes: 0
Answers: 1
Python: take unique dates in dataframe
I have a data frame that looks like this:
price
Date
2022-01-01 19:20:00 100
2022-01-01 19:27:00 100
2022-01-02 19:31:00 102
I want the dataframe to only have uniqu...
MathMan 99
Votes: 0
Answers: 2
Get distinct values within time chunks
I have a table with different species and their occurences (timestamp) from field survey:
species | timestamp
A | 2021-04-01T12:35
A | 2021-04-01T12:36
B | 2021-04-01T12:36
A |...
EndorCartographer
Votes: 0
Answers: 1