Skip to content

Commit

Permalink
Update readme example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mchav committed Dec 25, 2024
1 parent 1bcd3b4 commit 362f820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import Data.DataFrame ((|>))

main :: IO ()
df <- D.readTsv "./data/chipotle.tsv"
let searchTerm = "Chicken Burrito" :: T.Text
print $ df
|> D.select ["item_name", "quantity"]
|> D.filter "item_name" (searchTerm ==)
Expand Down

0 comments on commit 362f820

Please sign in to comment.