The frequency used by the dates in the index.
(self)
| 698 | |
| 699 | @property |
| 700 | def freq(self): |
| 701 | """The frequency used by the dates in the index.""" |
| 702 | from xarray.coding.frequencies import infer_freq |
| 703 | |
| 704 | # min 3 elemtents required to determine freq |
| 705 | if self._data.size < 3: |
| 706 | return None |
| 707 | |
| 708 | return infer_freq(self) |
| 709 | |
| 710 | def _round_via_method(self, freq, method): |
| 711 | """Round dates using a specified method.""" |
nothing calls this directly
no test coverage detected