Skip to content

Commit

Permalink
Merge 816250d into 8276d69
Browse files Browse the repository at this point in the history
  • Loading branch information
edwelker committed Jan 28, 2020
2 parents 8276d69 + 816250d commit 87c7cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ To create a DataFrame using specified field names::

To set ``full_name`` as the ``DataFrame`` index ::

qs.to_dataframe(['age', 'wage'], index='full_name'])
qs.to_dataframe(['age', 'wage'], index_col='full_name'])

You can use filters and excludes ::

qs.filter(age__gt=20, department='IT').to_dataframe(index='full_name')
qs.filter(age__gt=20, department='IT').to_dataframe(index_col='full_name')


DataFrameManager
Expand Down

0 comments on commit 87c7cd3

Please sign in to comment.