Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Tim Williams
On Wed, Aug 19, 2020 at 1:43 PM J Conrado wrote: > > > Hi, > > > I'm satarting using Pandas to read excel. I have a meteorological > synoptic data and I have for date: > > > 0 2017-11-01 00:00:00 > 1 2017-11-01 03:00:00 > 2 2017-11-01 06:00:00 > 3 2017-11-01 09:00:00 > 4 2017-11-01 12:0

RE: Python Pandas split Date in day month year and hour

2020-08-19 Thread Steve
what you want? FootNote: If money does not grow on trees, then why do banks have branches? -Original Message- From: Python-list On Behalf Of Brian Oney via Python-list Sent: Wednesday, August 19, 2020 2:01 PM To: python-list@python.org Subject: Re: Python Pandas split Date in day month

Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Skip Montanaro
> I would like know how can I get for this array the values for day, month > and hour: > > 2017-11-01 03:00:00 year = 2017 month = 11day = 1and > hour = 3 Pandas has a datetime type. You should probably be using it. It's been awhile (a year at least), but if your datetime co

Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Brian Oney via Python-list
On August 19, 2020 7:32:45 PM GMT+02:00, J Conrado wrote: > > >Hi, > > >I'm satarting using Pandas to read excel. I have a meteorological >synoptic data and I have for date: > > >0   2017-11-01 00:00:00 >1   2017-11-01 03:00:00 >2   2017-11-01 06:00:00 >3   2017-11-01 09:00:00 >4   2017-11-01