Table Of Contents
- What’s New
- Installation
- Contributing to pandas
- Package overview
- 10 Minutes to pandas
- Tutorials
- Cookbook
- Intro to Data Structures
- Essential Basic Functionality
- Working with Text Data
- Options and Settings
- Indexing and Selecting Data
- MultiIndex / Advanced Indexing
- Computational tools
- Working with missing data
- Group By: split-apply-combine
- Merge, join, and concatenate
- Reshaping and Pivot Tables
- Time Series / Date functionality
- Time Deltas
- Categorical Data
- Visualization
- Styling
- IO Tools (Text, CSV, HDF5, …)
- Enhancing Performance
- Sparse data structures
- Frequently Asked Questions (FAQ)
- rpy2 / R interface
- pandas Ecosystem
- Comparison with R / R libraries
- Comparison with SQL
- Comparison with SAS
- Comparison with Stata
- API Reference
- Input/Output
- General functions
- Series
- DataFrame
- Panel
- Index
- Numeric Index
- CategoricalIndex
- IntervalIndex
- MultiIndex
- DatetimeIndex
- TimedeltaIndex
- PeriodIndex
- Scalars
- Period
- Attributes
- pandas.Period.day
- pandas.Period.dayofweek
- pandas.Period.dayofyear
- pandas.Period.days_in_month
- pandas.Period.daysinmonth
- pandas.Period.end_time
- pandas.Period.freq
- pandas.Period.freqstr
- pandas.Period.hour
- pandas.Period.is_leap_year
- pandas.Period.minute
- pandas.Period.month
- pandas.Period.ordinal
- pandas.Period.quarter
- pandas.Period.qyear
- pandas.Period.second
- pandas.Period.start_time
- pandas.Period.week
- pandas.Period.weekday
- pandas.Period.weekofyear
- pandas.Period.year
- Methods
- Timestamp
- Properties
- Methods
- Interval
- Properties
- Timedelta
- Properties
- Methods
- Frequencies
- Window
- GroupBy
- Resampling
- Style
- Plotting
- General utility functions
- Extensions
- Developer
- Internals
- Extending Pandas
- Release Notes
Search
Enter search terms or a module, class or function name.
pandas.Period.day¶
-
Period.
day
¶ Get day of the month that a Period falls on.
Returns: - int
See also
Period.dayofweek
- Get the day of the week
Period.dayofyear
- Get the day of the year
Examples
>>> p = pd.Period("2018-03-11", freq='H') >>> p.day 11