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)
How to make a new column for days of the week
I am working with a FitBit daily activity dataset within BigQuery. I have a date column (stored as a date type), and I'm trying to make a new column that will reflect the days of the week (Saturday, S...
Claire Gehlhausen
Votes: 0
Answers: 1
How to construct date from (year, weekOfYear, dayOfWeek) in Snowflake?
I have a situation where using Snowflake, I need to construct a date from these parts (year, weekOfYear, dayOfWeek). ie (2022, 13th week, 3 for Weds) would equate to today's date 2022-03-30.
While th...
EricB
Votes: 0
Answers: 2
pandas - day of the week and week numbers - progress integer to select values
I have this dataframe:
rng = pd.date_range(start='2018-01-01', end='2018-01-14')
rnd_values = np.random.rand(len(rng))+3
dfc = pd.DataFrame({'time':rng.to_list(),'value':rnd_values})
dfc = dfc.set_ind...

diedro
Votes: 0
Answers: 1
Convert Number to DayOfWeek List
I've got an odd issue I'm running into and hoping someone here can help. I'm querying against a Scheduled Task on a Windows computer and getting the days when it is slated to execute. However, where I...
Rick
Votes: 0
Answers: 2