pyspark.pandas.DatetimeIndex.day_name#
- DatetimeIndex.day_name(locale=None)[source]#
 Return the day names of the series with specified locale.
- Parameters
 - localestr, optional
 Locale determining the language in which to return the day name. Default is English locale.
- Returns
 - Index
 Index of day names.
Examples
>>> idx = ps.date_range(start='2018-01-01', freq='D', periods=3) >>> idx.day_name() Index(['Monday', 'Tuesday', 'Wednesday'], dtype='object')