Sign in

Original Database

getdata.php


  1. Download prerequisites

First-up is the environment setup:


  1. Open…

Photo by Markus Spiske on Unsplash

1. Data Download- Cases.csv


  1. Initial imports



How to install Python 3.8 on Ubuntu 16.04?

sudo apt updatesudo apt install software-properties-common


import pandas as pd books = { 
'Name': ['Harry Potter','Matilda','Gangsta Granny','The Horse and His Boy'],
'Author':['J K Rowling','Ronald Dahl','David Williams','C S Lewis'],
'Cost':[10.99, 8.99, 12.50, 11.99]
}
df = pd.DataFrame(books)
df
This is our original data frame to work on.

Columns

  1. How to view column names?
df.columns


Photo by Jeremy Bishop on Unsplash
print("Hello World")Output:
Hello World
x = 5
print(x)
Output:
5

RL

I am learning computer science and sharing my revision notes on this page.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store