Im using pandas datareader to get stock data.
import pandas as pd import pandas_datareader.data as web ABB = web.DataReader(name=\'ABB.ST\',
ABB is pandas DataFrame, whose index type is DatetimeIndex.
DatetimeIndex has freq attribute which can be set as below
ABB.index.freq = 'd'
Check out the change
ABB.index