File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919from typing import Union
2020from urllib .request import urlopen
2121
22+ import pandas as pd
2223import requests
2324from requests .auth import HTTPBasicAuth
2425from tqdm .auto import tqdm
2526
26- import pandas as pd
2727from planetarypy .datetime import fromdoyformat
2828
2929logger = logging .getLogger (__name__ )
3030
3131
32- def replace_all_doy_times (df : pd .DataFrame , timecol : str = "TIME" ):
32+ def replace_all_doy_times (df : pd .DataFrame , timecol : str = "TIME" ) -> pd . DataFrame :
3333 """
3434 Convert all detected DOY time columns in df to datetimes in place.
3535
@@ -129,7 +129,7 @@ def have_internet():
129129 conn .close ()
130130
131131
132- def file_variations (filename : Union [str , Path ], extensions : list ) -> list :
132+ def file_variations (filename : Union [str , Path ], extensions : list [ str ] ) -> list [ Path ] :
133133 """
134134 Return list of variations of a file name based on possible extensions.
135135
You can’t perform that action at this time.
0 commit comments