python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Pinescript / Pine Script - Find number of weekends between two times & day of year
I have two "times" (unix timestamps * 1000) and would like to have the number of weekends between them algorithmically.
At first I thought of counting all the days that aren't dayofweek 7 (s...
stopcorp
Votes: 0
Answers: 1
Python - Push forward weekend values to Monday
I have a dataframe (called df) that looks like this:
I'm trying to take all weekend 'Volume' values (the ones where column 'WEEKDAY'=5 (saturday) or 6(sunday)) and sum them to the subsequent monday(W...

Bruno Di Franco Albuquerque
Votes: 0
Answers: 7
Day of the Week to Return 'weekend' or 'weekday'
I'm brand new to R... I have a column in a data frame where I extracted the days of the week from a date-time column. I would like to add another column to show either "weekend" or "we...
Tess Griffin
Votes: 0
Answers: 1
Query - What is the calc to determine "working days" from a "start date"
I'm asking this for a fellow team member. They are able to calculate the number of days from when the project started, but we need to exclude the weekends (Saturday & Sunday) from the StartDate. R...
Anna Renfroe
Votes: 0
Answers: 0