Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT RoorkeeApply Now
The data is stored in the location
Let us load the data to our work session and display the top 10 rows.
read_csv() reads a comma-separated values (csv) file into DataFrame.
head() displays the top 5 rows of the data frame, whereas
head(n) displays the top n rows of the data frame.
shape of a data frame returns a tuple with the number of rows and columns of the data frame.
Load the data into
data from the location
data = << your code comes here >>('/cxldata/projects/creditcard.csv')
Display the top 10 rows stored in the dataframe
data.<< your code comes here >>(10)
Display the shape of
Make sure to write each of these 3 lines in separate code-cells to be able to see the outputs.
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here