Skip to content

Commit

Permalink
SQUASH: added comment to describe squeeze kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Rod committed Sep 6, 2019
1 parent f2dc9b7 commit 5a69ca7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions q2_types/sample_data/tests/test_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ def test_pd_series_to_alpha_diversity_format(self):
name='shannon', index=exp_index)

obs = transformer(exp)
'''
Squeeze equals true in function call below to convert single column
dataframe to series
'''
obs = pd.read_csv(str(obs), sep='\t', header=0, index_col=0,
squeeze=True)

Expand Down

0 comments on commit 5a69ca7

Please sign in to comment.