Bắt đầu ngayBắt đầu miễn phí

Slicing DataFrames

You are working with the books DataFrame again. This DataFrame had 12 columns, which makes it hard to print any single row. However, the most important information is contained in the first 6 columns of this DataFrame. Therefore, we slice it to select the parts we want and make processing and printing easier.

The books DataFrame is available in your environment as df_books.

Bài tập này là một phần của khóa học

Introduction to Julia

Xem khóa học

Bài tập tương tác thực hành trực tiếp

Hãy thử làm bài tập này bằng cách hoàn thành đoạn mã mẫu này.

# Slice the first 6 columns
____ = ____[____, ____]
Chỉnh sửa và Chạy Mã