Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi This is IMDB dataset from kaggle and im reading someone's code im very confuse by this. What is regular expression? What is compile and

image text in transcribedHi

This is IMDB dataset from kaggle and im reading someone's code

im very confuse by this. What is regular expression?

What is compile and findall doing? (a typical element in the "runtime" col is, for example, 142 min)

What is going on when it comes to appending. it makes no sense. please explain clearly

EDA on IMDB Movies Dataset 1 Notebook Data Logs Comments (5) Ta Alfred Hitchcock Steven Spielberg Hayao Miyazaki Akira Kurosawa Martin Scorsese Stanley Kubrick Mostly Occurred Woody Allen Billy Wilder Clint Eastwood Quentin Tarantino Runtime of the movies In [26] : import re duration=[] for x in data[ "Runtime" ] : p=re.compile('\d+') j=p.findall(x) if len(i)==2: duration.append(int([1])-int([0])+1) else: duration.append(int ( [0])+1) data['duration']=duration In [27]: data['duration').head Out [27] 0 143 1 176 2 153 3 203 4 97 Name: duration, dtype: int64

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago