Eduonix ML Tutorial Flashcards
1
Q
Print the version of sys
A
print(sys.version)
2
Q
Print the version of any other library
A
print(.__version__)
3
Q
Print the version of any other library example
A
print(nltk.__version__)
4
Q
Import pandas
A
import pandas as pd
5
Q
Import numpy
A
import numpy as np
6
Q
Load dataset steps
A
- Download zip file
- Extract all to tutorial folder
- Create dataframe
7
Q
Load dataset
A
pd.read_table(‘’)
8
Q
Load dataset example
A
pd.read_table(‘SMSSpamCollection’)
9
Q
Create a dataframe
A
df = pd.read_table(‘’)
10
Q
Create a dataframe example
A
df = pd.read_table(‘’)