Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
potatochip authored May 10, 2020
1 parent 0a96c6f commit c41f7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Autocomplete works for field names. You can type period then tab (or whatever ke

```python
>>> df = df[df.age > 21]
>>> df = df[df.is_cat == True] # us `==`, not `is`
>>> df = df[df.is_cat == True] # use `==`, not `is`
>>> df = df[df.account.status == 'good']
>>> df.take(10)
[{...}]
Expand Down Expand Up @@ -275,7 +275,7 @@ One more method that is supported by all data types is `.isin`. You can use this
>>> df[df.name.regexp(r'.*?\s+the\s+cat')]

# query where a term is a member of a set of values
>>> df[df.name.isin(['bengal', 'tabby', 'maine coon'])
>>> df[df.name.isin(['bengal', 'tabby', 'maine coon'])]
```

#### Scripted queries (using painless)
Expand Down

0 comments on commit c41f7d5

Please sign in to comment.