DEV Community

Ujjawal Patel
Ujjawal Patel

Posted on

Becoming a Full stack developer Day 4

Hey there I came back with my update
Tried completing events although there are a lot of thing so I will cover it tomorrow but covered many thind like addEventListner, onclick, event propogation and prevent default

And in ml I studied reading methods from campusx
Studied concepts which are commonly used or encountered while dealing with csv file

Reading data from the CSV file you uploaded

Import data from server and then raeding

Reading a tsv file

Index column parameter

when there are two rows present for the index so we can remove one of them

Header parameter

when you column headers are treated as one column

Use column parameter

only how many data you want -> only that much data will be imported how much data you want rest will be deleted consider we want only some selected columns

skip rows

whichever paticular rows you want you can enter them to not allow to get imported

n rows parameter

one the number you mention will be imported

Encoding Parameter

Skip bad lines

skips those data which has inconsistency

D type parameters

if you want to change any datatype

Handling dates

whenever we use read csv by default date columns are passed as strings so we cannot use date functionalities

convertors

na values parameter

sometimes in place of NaN values there are many other values such as / . etc so we need to specify which all values in consider as NaN

Loading huge dataset in chunks

Top comments (1)

Collapse
 
ujjawal_patel_9baa51e6bf5 profile image
Ujjawal Patel

hey man you are on your way to achieve something