Skip to content
Snippets Groups Projects
Commit ce2cdc8f authored by Bert Palm's avatar Bert Palm 🎇
Browse files

rm unused tools.toOffset

parent df0ea54e
No related branches found
No related tags found
1 merge request!462More tests
......@@ -56,13 +56,6 @@ def squeezeSequence(value: Sequence[T]) -> Union[T, Sequence[T]]:
return value
def toOffset(freq_string: str, raw: bool = False) -> datetime.timedelta:
offset = pd.tseries.frequencies.to_offset(freq_string)
if raw:
return offset
return offset.delta.to_pytimedelta()
@nb.jit(nopython=True, cache=True)
def findIndex(iterable, value, start):
i = start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment