Skip to content

Commit

Permalink
Update lab5-1.ipynb
Browse files Browse the repository at this point in the history
Changed default method for the cross-correlation to pearson.
  • Loading branch information
gdarkwah authored Nov 3, 2022
1 parent 23a168d commit 7e54823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/lab5/lab5-1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@
"source": [
"def cross_corr(\n",
" data_frame, # panda dataframe\n",
" method:str='spearman', # type of correlation: either {'pearson', 'kendall', 'spearman'}\n",
" method:str='pearson', # type of correlation: either {'pearson', 'kendall', 'spearman'}\n",
" title:str=None, # a string representing the title of your plot\n",
" figsize:tuple=(10,10), # a tuple\n",
" )->None:\n",
Expand All @@ -647,7 +647,7 @@
" data_frame: a panda dataframe\n",
" \n",
" Optional arguments:\n",
" method: default='spearman'; type of correlation: either {'pearson', 'kendall', 'spearman'}\n",
" method: default='pearson'; type of correlation: either {'pearson', 'kendall', 'spearman'}\n",
" title: default=None; a string representing the tiltle of your plot\n",
" figsize: default=(10,10); # a tuple\n",
" \n",
Expand Down

0 comments on commit 7e54823

Please sign in to comment.