Horje
dataframe remove weekend datetme Code Example
dataframe remove weekend datetme
One simple solution is to slice out the days not in Monday to Friday:

In [11]: s[s.index.dayofweek < 5]
Out[11]:
2016-05-02 00:00:00    4.780
2016-05-02 00:01:00    4.777
2016-05-02 00:02:00    4.780
2016-05-02 00:03:00    4.780
2016-05-02 00:04:00    4.780
Name: closeAsk, dtype: float64




Whatever

Related
smote on dataframe of feature Code Example smote on dataframe of feature Code Example
bread builder select options Code Example bread builder select options Code Example
variable in style in lightning Code Example variable in style in lightning Code Example
rey5137/material Code Example rey5137/material Code Example
email Business Central Code Example email Business Central Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8