BaşlayınÜcretsiz Başlayın

A feature for the length of a review

You have now worked with a string and a list with string items, it is time to use a larger sample of data.

Your task in this exercise is to create a new feature for the length of a review, using the familiar reviews dataset.

Bu egzersiz

Sentiment Analysis in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import the needed packages
_____

# Tokenize each item in the review column 
word_tokens = [____(review) for review in reviews.review]

# Print out the first item of the word_tokens list
print(word_tokens[0])
Kodu Düzenle ve Çalıştır