R functions Python functions
1 class() type()
2 [Link]("PN") pip install PN
3 library(name) import pandas as pd
4 getwd() [Link]()
5 setwd() [Link]("dir path")
6 [Link]("files name") pandas.read_csv("file name")
7 c(1,2,4) vectors [1,2,4] (list)
8 rownames(df) [Link]
9 colnames(df) [Link]
10 dim(df) [Link]
11 length(df) len(df)
12 [Link](df) [Link](varible)
13 summary(df) [Link]()
14 str(df) [Link]()
15 df[ , ] [Link][ , ]
Operation
Gives data type of the mentioned variable
install the package
load a package
to get the current working dir
Change/set the current Working dir
Reads a csv table
names of rows
col names
number of rows and col
To convert into data frame
summary
structure