用法:
Timestamp.month_name()
返回具有指定語言環境的時間戳的月份名稱。
- locale:str,默認無(英語語言環境)
確定返回月份名稱的語言的區域設置。
- str
參數:
返回:
例子:
>>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651') >>> ts.month_name() 'March'
類似於
pd.NaT
:>>> pd.NaT.month_name() nan
相關用法
- Python pandas.Timestamp.dayofweek用法及代碼示例
- Python pandas.Timestamp.dayofyear用法及代碼示例
- Python pandas.Timestamp.strftime用法及代碼示例
- Python pandas.Timestamp.ceil用法及代碼示例
- Python pandas.Timestamp.to_numpy用法及代碼示例
- Python pandas.Timestamp.days_in_month用法及代碼示例
- Python pandas.Timestamp.asm8用法及代碼示例
- Python pandas.Timestamp.is_quarter_end用法及代碼示例
- Python pandas.Timestamp.timestamp用法及代碼示例
- Python pandas.Timestamp.daysinmonth用法及代碼示例
- Python pandas.Timestamp.replace用法及代碼示例
- Python pandas.Timestamp.round用法及代碼示例
- Python pandas.Timestamp.tz_convert用法及代碼示例
- Python pandas.Timestamp.is_quarter_start用法及代碼示例
- Python pandas.Timestamp.fromordinal用法及代碼示例
- Python pandas.Timestamp.tz用法及代碼示例
- Python pandas.Timestamp.weekofyear用法及代碼示例
- Python pandas.Timestamp.normalize用法及代碼示例
- Python pandas.Timestamp.utcfromtimestamp用法及代碼示例
- Python pandas.Timestamp.week用法及代碼示例
注:本文由純淨天空篩選整理自pandas.pydata.org大神的英文原創作品 pandas.Timestamp.month_name。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。