print("The loop will skip the value when value of i is 2 and restart from next value of i - ")
for i in range(0,4):
if i == 2:
continue
else:
print(i+100)
The following code snippets are on creating a connection to Azure Data Lake Storage Gen1 using R with Service-to-Service authentication with client secret and client id using REST API. Follow the link, for more details on different ways to connect to Azure Data Lake Storage Gen1
import pandas as pd
import numpy as np
start_date = ['2019-06-03', '2019-06-13', '2018-11-05', '2019-05-31', '2019-06-01', '2019-09-01']
end_date = ['2019-08-31', '2019-08-23', '2018-11-25', '2019-07-1', '2019-07-31', '2019-10-25']
data = pd.DataFrame(list(zip(start_date,end_date)), columns = ['Start Date', 'End Date'])
Start Date | End Date | |
---|---|---|
0 | 2019-06-03 | 2019-08-31 |
1 | 2019-06-13 | 2019-08-23 |
2 | 2018-11-05 | 2018-11-25 |
3 | 2019-05-31 | 2019-07-1 |
4 | 2019-06-01 | 2019-07-31 |
5 | 2019-09-01 | 2019-10-25 |