Skip to content

Commit 9c01662

Browse files
committed
BUG Fix boostrap -> bootstrap
1 parent 2b159f3 commit 9c01662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyfolio/timeseries.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ def perf_stats_bootstrap(returns, factor_returns=None):
775775

776776
stats = pd.DataFrame(columns=['mean', '5%', '95%'])
777777

778-
def do_boostrap(stat_func, *args):
778+
def do_bootstrap(stat_func, *args):
779779
stat_name = stat_func.__name__
780780
bootstrap_values = calc_bootstrap(stat_func, *args)
781781
bootstrap_stats = \
@@ -785,7 +785,7 @@ def do_boostrap(stat_func, *args):
785785
stats.loc[stat_name, '95%'] = bootstrap_stats['95%']
786786

787787
for stat_func in SIMPLE_STAT_FUNCS:
788-
do_boostrap(stat_func, returns)
788+
do_bootstrap(stat_func, returns)
789789

790790
if factor_returns is not None:
791791
for stat_func in FACTOR_STAT_FUNCS:

0 commit comments

Comments
 (0)