pandas.bdate_range(start=None, end=None, periods=None, freq='B', tz=None, normalize=True, name=None, closed=None, **kwargs)[source]

Return a fixed frequency DatetimeIndex, with business day as the default frequency


start : string or datetime-like, default None

Left bound for generating dates

end : string or datetime-like, default None

Right bound for generating dates

periods : integer, default None

Number of periods to generate

freq : string or DateOffset, default ‘B’ (business daily)

Frequency strings can have multiples, e.g. ‘5H’

tz : string or None

Time zone name for returning localized DatetimeIndex, for example Asia/Beijing

normalize : bool, default False

Normalize start/end dates to midnight before generating date range

name : string, default None

Name of the resulting DatetimeIndex

closed : string, default None

Make the interval closed with respect to the given frequency to the ‘left’, ‘right’, or both sides (None)


rng : DatetimeIndex


Of the three parameters: start, end, and periods, exactly two must be specified.

To learn more about the frequency strings, please see this link.

Scroll To Top