ENH/BUG: partial string indexing with PeriodIndex
Merge pull request #7043 from sinhrks/pslice

ENH/BUG: partial string indexing with PeriodIndex
API: allow option truncate for show_dimensions to only show the dimensions if the
     frame is truncated (GH6547)