Information wrangling in Elixir with Explorer, the facility of Rust, the magnificence of R – Launch Week 1 – Day 5 – Livebook.dev
Welcome to the fifth and final day of the primary Livebook Launch Week!
Right now we are going to discuss knowledge wrangling with Livebook and the brand new knowledge capabilities with this new launch.
Watch the video the place José Valim exhibits a demo of these new options.
You can too learn an summary of the brand new options beneath.
Explorer: series and dataframes for fast data exploration in Elixir
Explorer is a challenge that brings collection (one-dimensional knowledge) and knowledge frames (two-dimensional knowledge) proper into Elixir.
It’s carried out on prime of the Polars challenge, a extremely performant dataframe Rust library. And it’s extremely impressed by the dplyr challenge from R, which is kind of expressive. We goal to deliver concepts from each communities into Elixir to supply a robust and chic instrument for knowledge processing.
Let’s play with Explorer slightly bit.
Step one of a knowledge exploration challenge is to import the information. Let’s see how one can import a dataset into an Explorer knowledge body:
After importing the information, it’s normally a good suggestion to discover it slightly bit. To do this, we’ll use a brand new characteristic from Livebook that helps us visualize an Explorer Dataframe as a desk.
Visualizing an Explorer dataframe as an interactive table
Kino is the library utilized by Livebook to render wealthy and interactive outputs instantly out of your Elixir code. Livebook has a number of built-in Kinos, however anybody may construct custom Kinos as a strategy to prolong Livebook.
We constructed a brand new Kino known as Kino Explorer for this launch to enhance the combination between Explorer and Livebook. Let’s see how we will use it to show an Explorer knowledge body as an interactive desk:
Data transformation using the new Data Transform Smart cell
In Livebook, a Smart cell is a UI-based cell that lets you accomplish a particular process like creating a database connection, sending a message to a Slack channel, or running a Machine Learning model.
Livebook has numerous built-in Good cells, and anybody can build a Smart cell to increase Livebook to their wants.
For this launch, we constructed a brand new built-in Good cell; the Information Remodel one. Let’s see how we will use it for some knowledge transformation.
What now?
Want to play with all of those new features?
First, ensure you’ve installed the latest version of Livebok.
Then, click on the button beneath to run the pocket book that José Valim constructed within the demo video:
When you’ve got any feedback or need to share what you’ve constructed utilizing Livebook, you possibly can tweet using the #LivebookLaunchWeek hashtag.
I hope you bought as excited as we did with this new Livebook 0.9 launch.
In addition to that, we’re already engaged on far more thrilling stuff we’re wanting ahead to sharing—for instance, the upcoming Livebook Teams.
In case you use or need to use Livebook at work together with your colleagues, you possibly can fill in our form to help us to tell Livebook Workforce’s roadmap and get updates about it.
Thanks very a lot for being with us these final 5 days. That is all for this primary Livebook Launch Week!
Constructing Livebook and sharing what it’s able to is a pleasure for us. We hope you possibly can have enjoyable with it too. ????