MulaiMulai sekarang secara gratis

Column selection

Selecting only the columns you need is helpful to limit the number of information you work with. It can save some memory and make the prints out easier to read. Let's see it in action on the penguins dataset.

In this exercise, you'll select various columns using different ways. It's a good opportunity to see what approach you like the best! Remember, you can always use the describe() function to find out more about the DataFrame.

The DataFrames package and the penguins dataset have been loaded for you.

Latihan ini adalah bagian dari kursus

Data Manipulation in Julia

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Select species, island, and sex columns
____(____, ____, ____, ____)
Edit dan Jalankan Kode