What is the length of DatetimeIndex object created with the below expression? pd.date_range(’11-Sep-2017′, ’17-Sep-2017′, freq=’2D’)

Questions & AnswersCategory: Programming LanguageWhat is the length of DatetimeIndex object created with the below expression? pd.date_range(’11-Sep-2017′, ’17-Sep-2017′, freq=’2D’)
Adam asked 2 years ago

What is the length of DatetimeIndex object created with the below expression?
pd.date_range(’11-Sep-2017′, ’17-Sep-2017′, freq=’2D’)
a. 4
b. 6
c. 3
d. 7