diff --git a/README.md b/README.md index d22ee431b..daafc7209 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,16 @@ You can pass either series or lists to it: mountains = Explorer.DataFrame.new(name: ["Everest", "K2", "Aconcagua"], elevation: [8848, 8611, 6962]) ``` +Even a list of maps: + +```elixir +mountains = Explorer.DataFrame.new([ + %{"name" => "Everest", "elevation" => 8848}, + %{"name" => "K2", "elevation" => 8611}, + %{"name" => "Aconcagua", "elevation" => 6962} +]) +``` + Your dataframe is going to look like this: ```