I want a python code to convert columns recording starttime, recording endtime, start and end from objects to datetime.
I want a python code to convert columns recording starttime, recording endtime, start and end from objects to datetime.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I want a python code to convert columns recording starttime, recording endtime, start and end from objects to datetime.
![Filename recording starttime recording endtime Date of Recording
9.02AM
0 GBL 0046.wav
1 GBL_0046.wav
2 GBL_0046.wav
3 GBL 0046.wav
4 GBL_0047.wav
9.02AM
9.02AM
9.02AM
9.42AM
9.32AM
9.32AM
9.32AM
9.32AM
10.12AM
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
start
species temp humidity label
9.19AM Male-Female 22.8
end
9.14AM
9.23.37AM 9.23.38AM Male-Female 22.8
22.8
9.23.47AM 9.23.49AM Male-Female
9.23.58AM 9.31.38AM Male-Female 22.8
9.43.34AM 9.51.53AM Male-Female 22.8
58.6 NaN
58.4 NaN
58.3 NaN
58.2 NaN
57.6 NaN](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7eebb740-a373-4c85-98d2-7b97f64873d1%2Fab07286d-af88-438d-b0da-76f27885920b%2Fpoc1dh_processed.png&w=3840&q=75)
Transcribed Image Text:Filename recording starttime recording endtime Date of Recording
9.02AM
0 GBL 0046.wav
1 GBL_0046.wav
2 GBL_0046.wav
3 GBL 0046.wav
4 GBL_0047.wav
9.02AM
9.02AM
9.02AM
9.42AM
9.32AM
9.32AM
9.32AM
9.32AM
10.12AM
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
12TH Jan 2023
start
species temp humidity label
9.19AM Male-Female 22.8
end
9.14AM
9.23.37AM 9.23.38AM Male-Female 22.8
22.8
9.23.47AM 9.23.49AM Male-Female
9.23.58AM 9.31.38AM Male-Female 22.8
9.43.34AM 9.51.53AM Male-Female 22.8
58.6 NaN
58.4 NaN
58.3 NaN
58.2 NaN
57.6 NaN
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question
i want a python code to extract the time only in hrs,minutes and seconds from the recording starttime. The datatype of the column is datetime64[ns]
![recording endtime Date of Recording
12TH Jan 2023
12TH Jan 2023
Filename recording starttime
0 GBL 0046.wav 1900-01-01 09:02:00
1 GBL_0046.wav 1900-01-01 09:02:00
2 GBL_0046.wav
3 GBL 0046.wav
1900-01-01 09:02:00
1900-01-01 09:02:00
4 GBL_0047.wav
1900-01-01 09:42:00 1900-01-01 10:12:00
1900-01-01 09:32:00
1900-01-01 09:32:00
1900-01-01 09:32:00
1900-01-01 09:32:00
start
12TH Jan 2023
12TH Jan 2023
end
species temp humidity label
1900-01-01
1900-01-01 09:14:00 1900-01-01 09:19:00 Male-Female 22.8
09:14:00
1900-01-01 09:23:37 1900-01-01 09:23:38 Male-Female 22.8
12TH Jan 2023 1900-01-01 09:23:47 1900-01-01 09:23:49 Male-Female 22.8
1900-01-01 09:31:38 Male-Female 22.8
1900-01-01 09:23:58
1900-01-01 09:23:58
1900-01-01 09:43:34 1900-01-01 09:51:53 Male-Female 22.8
58.6 NaN
58.4 NaN
58.3 NaN
58.2 NaN
57.6 NaN](https://content.bartleby.com/qna-images/question/7eebb740-a373-4c85-98d2-7b97f64873d1/6a88e30a-3439-4fcd-b888-e8b56f5ac36f/x8ixla5_thumbnail.png)
Transcribed Image Text:recording endtime Date of Recording
12TH Jan 2023
12TH Jan 2023
Filename recording starttime
0 GBL 0046.wav 1900-01-01 09:02:00
1 GBL_0046.wav 1900-01-01 09:02:00
2 GBL_0046.wav
3 GBL 0046.wav
1900-01-01 09:02:00
1900-01-01 09:02:00
4 GBL_0047.wav
1900-01-01 09:42:00 1900-01-01 10:12:00
1900-01-01 09:32:00
1900-01-01 09:32:00
1900-01-01 09:32:00
1900-01-01 09:32:00
start
12TH Jan 2023
12TH Jan 2023
end
species temp humidity label
1900-01-01
1900-01-01 09:14:00 1900-01-01 09:19:00 Male-Female 22.8
09:14:00
1900-01-01 09:23:37 1900-01-01 09:23:38 Male-Female 22.8
12TH Jan 2023 1900-01-01 09:23:47 1900-01-01 09:23:49 Male-Female 22.8
1900-01-01 09:31:38 Male-Female 22.8
1900-01-01 09:23:58
1900-01-01 09:23:58
1900-01-01 09:43:34 1900-01-01 09:51:53 Male-Female 22.8
58.6 NaN
58.4 NaN
58.3 NaN
58.2 NaN
57.6 NaN
Solution
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education