Posts by eugenioejf • 63 points
2 posts
-
0
votes1
answer219
viewsQ: How to take only the time of a Timestamp
Using the command below: pd.to_datetime(1490195805, unit='s') The return is: Timestamp('2017-03-22 15:16:45') How do I extract only the time: 15:16:45?…
-
3
votes1
answer62
viewsQ: Fill date.frame using for output
I wanted to know how to apply the logic of R to Python. For example: If I enter the code below in R: x <- data.frame() for (i in 1:10) { x[i,1] <- i } It will create in the date.frame x a…