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)
Convert column of unix objects to datetime - python
I'm looking to convert a UNIX timestamp object to pandas date time. I'm importing the timestamps from a separate source, which displays a date time of 21-01-22 00:01 for the first timepoint and 21-01-...
jonboy
Votes: 0
Answers: 1
Is there a way to convert timedelta to pandas freq string?
You can do pd.to_timedelta('30min') to get a timedelta object of 30 minutes. Is there a similar way to go from a timedelta object to the freq string (like '30min', '1H', etc.)?
dirkvbok
Votes: 0
Answers: 1
Converting Pandas Dataframe column object in MM:SS format to Datetime type?
0 18:30
1 24:50
2 33:21
3 28:39
4 27:30
5 21:26
6 16:42
7 16:48
8 ...
cdlabs45
Votes: 0
Answers: 2
Python: Function to fill in the previous row of a non-null value
I have a dataset which is mostly timedelta values which relate to the shift length worked by emergency workers. If certain conditions were met, then the shift time was combined with the prior shift le...

Daniel
Votes: 0
Answers: 1