Skip to content

Commit

Permalink
Fixed bug within deltadelta class as well as updating metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
junyang00 committed Dec 2, 2023
1 parent f270b80 commit 485f3c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions dabest/_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,11 +811,6 @@ def __init__(self, effectsizedataframe, permutation_count,bootstraps_delta_delta
self.__pct_low = sorted_delta_delta[pct_idx_low]
self.__pct_high = sorted_delta_delta[pct_idx_high]

# Generate results in a Dataframe format
r_dict = self.to_dict()
self.__results = pd.DataFrame.from_dict(r_dict,orient='index').reset_index()
self.__results.columns = ['Attribute', 'Value']


def __permutation_test(self):
"""
Expand Down
5 changes: 0 additions & 5 deletions nbs/API/class.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1463,11 +1463,6 @@
" self.__pct_low = sorted_delta_delta[pct_idx_low]\n",
" self.__pct_high = sorted_delta_delta[pct_idx_high]\n",
"\n",
" # Generate results in a Dataframe format\n",
" r_dict = self.to_dict()\n",
" self.__results = pd.DataFrame.from_dict(r_dict,orient='index').reset_index()\n",
" self.__results.columns = ['Attribute', 'Value']\n",
"\n",
" \n",
" def __permutation_test(self):\n",
" \"\"\"\n",
Expand Down

0 comments on commit 485f3c5

Please sign in to comment.