Skip to content

Commit 42537b2

Browse files
authored
Update frequencies.py
Removed empty line and deleted spaces.
1 parent 961fc1b commit 42537b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tseries/frequencies.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,12 @@ def infer_freq(index, warn: bool = True) -> Optional[str]:
139139
If the index is not datetime-like.
140140
ValueError
141141
If there are fewer than three values.
142-
142+
143143
Examples
144144
--------
145145
>>> idx = pd.date_range(start = '2020/12/01', end = '2020/12/30', periods = 30)
146146
>>> pd.infer_freq(idx)
147147
'D'
148-
149148
"""
150149
import pandas as pd
151150

0 commit comments

Comments
 (0)