How to extract time of the day (pd.Timedelta or datetime.time) from a Datetime?

后端 未结 0 893
难免孤独
难免孤独 2021-01-31 22:38

Give a dataframe that contains a columns with pd.Datetime, like this:

import pandas as pd
df = pd.DataFrame({
    \'name\': [\'Alice\', \'Bob\'],
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题