Filter to_table

{{ data.dataset.myTable | to_table }}  

The filter accepts an additional parameter—a list of columns to display. For example, you can output only a subset of columns from this table to fit them on the page:

{{ data.datasets.examples.movies | to_table(["name_en","director_en"]) }}  

The result will look like this:

name_endirector_en
Black Panther: Wakanda Forever Ryan Coogler
Black Adam Jaume Collet-Serra
Thor: Love and Thunder Taika Waititi
Doctor Strange in the Multiverse of Madness Sam Raimi
The Batman Matt Reeves
Spider-Man: No Way Home John Watts
Eternals Chloe Zhao
Shang-Chi and the Legend of the Ten Rings Destin Daniel Cretton
The Suicide Squad James Gunn
Black Widow Cate Shortland
Zack Snyder's Justice League Zack Snyder
Wonder Woman 1984 Patty Jenkins
Birds of Prey and the Fantabulous Emancipation of One Harley Quinn Cathy Yan
Joker Todd Phillips
Spider-Man: Far from Home John Watts
Avengers: Endgame Anthony Russo, Joe Russo
Shazam! David F. Sandberg
Captain Marvel Anna Boden, Ryan Fleck
Aquaman James Wan
Ant-Man and the Wasp Peyton Reed
Avengers: Infinity War Anthony Russo, Joe Russo
Black Panther Ryan Coogler
Justice League Zack Snyder
Thor: Ragnarok Taika Waititi
Wonder Woman Patty Jenkins
Spider-Man: Homecoming John Watts
Guardians of the Galaxy Vol. 2 James Gunn
Doctor Strange Scott Derrickson
Suicide Squad David Ayer
Captain America: Civil War Anthony Russo, Joe Russo
Batman v Superman: Dawn of Justice Zack Snyder
Ant-Man Peyton Reed
Avengers: Age of Ultron Joss Whedon
Guardians of the Galaxy James Gunn
Captain America: The Winter Soldier Anthony Russo, Joe Russo
Thor: The Dark World Alan Taylor
Man of Steel Zack Snyder
Iron Man Three Shane Black
The Dark Knight Rises Christopher Nolan
The Avengers Joss Whedon
Captain America: The First Avenger Joe Johnston
Green Lantern Martin Campbell
Thor Kenneth Branagh
Jonah Hex Jimmy Hayward
Iron Man 2 Jon Favreau
Watchmen Zack Snyder
The Dark Knight Christopher Nolan
The Incredible Hulk Louis Leterrier
Iron Man Jon Favreau
Superman Returns Bryan Singer
Batman Begins Christopher Nolan
Catwoman Pitof