Working with CSV files | Day 15 | 100 Days of Machine Learning

  Рет қаралды 86,824

CampusX

CampusX

Күн бұрын

The CSV file format is a popular format supported by many machine learning frameworks. The format is variously referred to "comma-separated values" or "character-separated values."
A CSV file stores tabular data (numbers and text) in plain text form. A CSV file consists of any number of records, separated by line breaks of some kind. Each record consists of fields, separated by a literal comma. In some regions, the separator might be a semi-colon.
Typically, all records have an identical number of fields, and missing values are represented as nulls or empty strings. There are a number of ways to load a CSV file in Python.
============================
Do you want to learn from me?
Check my affordable mentorship program at : learnwith.campusx.in/s/store
============================
📱 Grow with us:
CampusX' LinkedIn: / campusx-official
CampusX on Instagram for daily tips: / campusx.official
My LinkedIn: / nitish-singh-03412789
Discord: / discord
Instagram: / campusx.official
E-mail us at support@campusx.in
⌚Time Stamps⌚
00:00 - Intro
00:54 - Process of Gathering Data
04:45 - Different types of file formats
05:45 - Code Demo with Jupyter Notebook
06:35 - Methods to handle CSV files

Пікірлер: 117
@749srobin
@749srobin 2 жыл бұрын
bhai dil jeet liya tune , kash march mein hi mil jata tera channel
@VishalGupta-ji7yo
@VishalGupta-ji7yo 16 күн бұрын
izzat kar le bhai thoda
@yahyakhan3626
@yahyakhan3626 15 күн бұрын
@@VishalGupta-ji7yo me bhi aj dekh rha
@harneksingh960
@harneksingh960 2 жыл бұрын
Literally Speaking. the way of teaching by u Sir is appreciable, I have learned ML from ZTM but your course is enormously so much useful and understandable.....Warmed Respect for u Sir
@jinks3669
@jinks3669 2 жыл бұрын
Best channel on youtube. It's channel's like yours that make social media worthwhile. Dhanyavaad dost
@AbdulHannan-dg6dl
@AbdulHannan-dg6dl Жыл бұрын
Bhai ap great ho !! khush rho.. bht kch seekhne ko milta hai ap sy hats off to you Love and lots of respect from a student from Pakistan 😍
@nishitaverma8805
@nishitaverma8805 2 жыл бұрын
Amazing! I was in search of such detailed explanation video and I found this playlist. Thank you for your effort.
@Cha_Nu6
@Cha_Nu6 Жыл бұрын
metoo
@yandeshubham8657
@yandeshubham8657 Жыл бұрын
One of the best channel for learning ML Thank u so much sir for improve my knowledge. God bless u
@viditvaish7317
@viditvaish7317 7 ай бұрын
amazing sir ,bahut zayda baareek cheeze explain kari hai aapne thanqu sir
@user-ni4qi9gf6c
@user-ni4qi9gf6c 11 ай бұрын
sir your explanation is very clear and in right pace, clear understandable content and warmed respect from me waiting for deep learning and nlp complete playlist thankyou very much.
@ashutoshkanojiya7380
@ashutoshkanojiya7380 Жыл бұрын
31:10 If you want to shorten all the team names, you can use the following code: def rename(name): list1 = name.split(" ") temp = '' for i in range(len(list1)): temp += list1[i][0] return temp
@tanveerbashir8393
@tanveerbashir8393 Жыл бұрын
interesting, informative and amazing lecture
@sanskaripatrick7191
@sanskaripatrick7191 Жыл бұрын
For anyone confused, Skiprows is a parameter which is 1-indexed, if you pass in 0 then it will actually remove the column names since the parameter treats the column names as the 0th row. So in a sense, while it technically is 0-indexed, it considers the column names as the 0th index and so we have no use of using that. This makes it 1-indexed in use.
@abdulaziz-vm7yh
@abdulaziz-vm7yh 9 ай бұрын
yeah even i did noticed that, i dont know why they consider column name as 0th index
@user-bm2fi5wm8m
@user-bm2fi5wm8m 8 ай бұрын
Thanks a lot for making this playlist. really appreciated.
@narendraparmar1631
@narendraparmar1631 7 ай бұрын
Very Easy Explanation. Thanks sir ji😀
@DataScience111
@DataScience111 2 жыл бұрын
Amazing sir. Hats off to you
@shariqmeyraan2373
@shariqmeyraan2373 2 жыл бұрын
You are a gem.. Kudos for such amazing content!!
@shariqmeyraan2373
@shariqmeyraan2373 2 жыл бұрын
How can I contact you? I want to be your student!!
@shamaila3
@shamaila3 Ай бұрын
You are doing a great job brother, respect and appreciation from Pakistan👍✊
@swethasree5684
@swethasree5684 2 жыл бұрын
Very useful video. Thank you sir
@zkhan2023
@zkhan2023 3 жыл бұрын
sir, you put all your effort to produce good content keep it up sir
@PyMLHub
@PyMLHub 2 ай бұрын
Learning with great understanding with you Sir, I hope this will help me in my next Course of Generative AI.
@vishnujatav6329
@vishnujatav6329 2 жыл бұрын
Sir, you are a real hero
@jawadchaudhry2648
@jawadchaudhry2648 2 ай бұрын
Kamaal ho Sir g ap ... God Bless u
@sidindian1982
@sidindian1982 Жыл бұрын
one of the best content for ML platform ,.... Sir you are GOD 🙂
@user-bt3hy4ny2w
@user-bt3hy4ny2w 10 күн бұрын
Very helpful video
@RajatKumarhey_sparkerr
@RajatKumarhey_sparkerr Жыл бұрын
Love your contents ❣️
@niteshbutola8753
@niteshbutola8753 2 жыл бұрын
awesome explanation bro keep it up
@prathmeshfutane1247
@prathmeshfutane1247 Жыл бұрын
Awesome Explanation Javascript Object Notation
@shubhamchoudhary5461
@shubhamchoudhary5461 2 жыл бұрын
luckily i got your channel..thanks !!
@preetisrivastava1624
@preetisrivastava1624 Жыл бұрын
Sir aap best ho
@user-tx2rk9uu5b
@user-tx2rk9uu5b 4 ай бұрын
i was looking for UTF-8 error .thank you boss🙏🙏🙏🙏🙏
@tahimakhatun3208
@tahimakhatun3208 2 жыл бұрын
It was very usefull. thanks a lot...
@akashgawande4118
@akashgawande4118 2 жыл бұрын
sir you are the best......
@paragvachhani4643
@paragvachhani4643 Жыл бұрын
Maja aagya sir...🥰
@sahibnoorsingh2432
@sahibnoorsingh2432 Жыл бұрын
Loved your videos, Please make videos on advanced robotics as well
@Naman_Bansal102
@Naman_Bansal102 8 ай бұрын
Very Intereseting Video
@ArunKumar_237
@ArunKumar_237 2 жыл бұрын
Thank you so much sir 🙏🙏
@vivekyadav-zx1kw
@vivekyadav-zx1kw 2 жыл бұрын
U just doing great..
@nihalwaseem7106
@nihalwaseem7106 10 ай бұрын
Bahut badiya content tha, as a beginner bahut kuch seekhne ko mila. Thank you sir , aise hee ML videos aur b chahiye 💜
@ilggaming321
@ilggaming321 8 күн бұрын
bhai 4 hajaar ka course ma dought aaya fir link milla saare dougt solve ho gaye
@MuhammadJunaid-yr8jd
@MuhammadJunaid-yr8jd Жыл бұрын
thank you so much
@JustPython
@JustPython 10 ай бұрын
very good videos
@sandipansarkar9211
@sandipansarkar9211 Жыл бұрын
finished watching
@sameerabanu3115
@sameerabanu3115 10 ай бұрын
superb
@avinashglpaccountancy999
@avinashglpaccountancy999 Жыл бұрын
thank you for showing direction, #ML, #Machine learning,#MACHINE LEARNING, # csv, #HOW TO OPEN CSV IN PANDAS...... --- following the path
@noorelahi4792
@noorelahi4792 Жыл бұрын
Why people are spending lakhs of rupees in the institute? I have been going through various institute videos but now here i got the real thing within a month I'll be the data scientist.
@duitakarbhat
@duitakarbhat 2 ай бұрын
Did you become one?
@yogeshkhanna5173
@yogeshkhanna5173 Ай бұрын
Did you become data scientist or data analyst
@monoarul_islam_3
@monoarul_islam_3 2 жыл бұрын
19.01. If you use 0 then it will refer to the row which incorporates the column names. So actual rows start from 1 onwards. And this will resolve the issue.
@monoarul_islam_3
@monoarul_islam_3 2 жыл бұрын
35.26 you need to use chunks instead of chunk.
@umangsinghal5403
@umangsinghal5403 Жыл бұрын
Maza aa gya
@mahfuzraihan8690
@mahfuzraihan8690 11 ай бұрын
love it
@atharvkazarid2-354
@atharvkazarid2-354 2 ай бұрын
in skiprow part the main rows of data are starting from index 1 not 0 , when u was doing 'skiprow[0,5]' u was deleting the header row and the 4th row sir...
@stevegabrial1106
@stevegabrial1106 3 жыл бұрын
How to filter csv file in which words with mixing of aplha and numbers. Can we see GNN in upcoming videos with lot of examples. Thax
@UnpluggedSalman
@UnpluggedSalman 4 ай бұрын
sir can you please share the ipynb file probably with all the dataset link.
@manujkumarjoshi9342
@manujkumarjoshi9342 11 ай бұрын
Lovely
@parikhgaurav2111
@parikhgaurav2111 Жыл бұрын
create a video on data warehouse , no sql data bases and big queary . [ explain data marts , data lakes, pipelines and etc in details ] [data engineering in depth]
@balkrushnaparkale7094
@balkrushnaparkale7094 2 жыл бұрын
Thank you so much for beautiful content. But how to handle txt file?
@x2diaries506
@x2diaries506 Жыл бұрын
I have some questions regarding the header. It is associated with the OS and browser. How can we use the same header from different OS and browsers?
@sachin2725
@sachin2725 Жыл бұрын
Hello Sir, XGBoost is not included in playlist, could you please make a video on XGBoost ?
@subhanjalpant8824
@subhanjalpant8824 13 күн бұрын
where do i get the dataset used in this video
@user-lw6ng1vd7v
@user-lw6ng1vd7v 8 ай бұрын
Where i find my headers and how to get the header??
@rishavchaba3565
@rishavchaba3565 26 күн бұрын
At 35:20 how the hell is this not throwing an error ? i mean "chunks" in dfs and inside loop there is variable "chunk"
@drawing8780
@drawing8780 Жыл бұрын
How to take User input for CSV file and process it
@aviralasthana3672
@aviralasthana3672 Ай бұрын
Where to get the jupyter notebook
@NickMaverick4
@NickMaverick4 6 ай бұрын
Sir can we also do that we can paste that CSV file in notepad and then, open that text file in Excel and save it as CSV. By this we don't have to write code for opening a CSV file from the url.... Please reply is the right way to do.. or writing code is necessary..
@aayushisolanki2935
@aayushisolanki2935 Жыл бұрын
greattttttt
@parthpatel473
@parthpatel473 Жыл бұрын
HI, SIR HEADER IS SAME WHEN WE OPENING A CSV FILES FROM AN URL.
@shubhamdhole5160
@shubhamdhole5160 2 ай бұрын
where is link of codes and datasets? plz help
@shahmdnazmulalam9620
@shahmdnazmulalam9620 Жыл бұрын
Sir, How do I load the dataset from the github. please ....
@saumyashah6622
@saumyashah6622 3 жыл бұрын
sir can you please share google drive link which contains google colab of examples of all the parameters which we discussed today along with the datasets
@campusx-official
@campusx-official 3 жыл бұрын
Check description
@anshukumaria4-115
@anshukumaria4-115 Ай бұрын
can you please share github link of this notebook?
@suhaibdata
@suhaibdata Жыл бұрын
amazing.....superb
@user-zc3pg2fj4o
@user-zc3pg2fj4o 4 ай бұрын
can you provide the csv files
@whatdidilearntoday6369
@whatdidilearntoday6369 Жыл бұрын
Bro , if i just run pd.read_csv(url). Then also it works. isnt it?
@campusx-official
@campusx-official Жыл бұрын
Yes
@shiwamkumar5979
@shiwamkumar5979 4 ай бұрын
Notebook kha hai?
@madankhatri7727
@madankhatri7727 10 ай бұрын
encoding='ISO-8859-1' works for all file
@Garrick645
@Garrick645 3 ай бұрын
Where can we find the jupyter code for this video
@mango-strawberry
@mango-strawberry 28 күн бұрын
were you able to find it?
@mango-strawberry
@mango-strawberry 28 күн бұрын
@@Garrick645 which link?
@Garrick645
@Garrick645 28 күн бұрын
I'm pasting the link but KZbin is not letting me post the comment
@Garrick645
@Garrick645 28 күн бұрын
@@mango-strawberry just see his next video in the series, the link to his GitHub is given in the description box. You'll find all the days files over there.
@mango-strawberry
@mango-strawberry 28 күн бұрын
@@Garrick645 thanks I was able to find it.
@Headstrongyt
@Headstrongyt Ай бұрын
Sir, please provide notebook. Thank u.
@SATYAMSINHA-qi5vj
@SATYAMSINHA-qi5vj 5 ай бұрын
inn sab ke github codes kaha available honge sir ?
@mathics2869
@mathics2869 3 ай бұрын
If u got the link pls share with me
@shubhankarsharma2221
@shubhankarsharma2221 Жыл бұрын
erorr bad line deprecated to on_"bad_line
@satyazigyansu6873
@satyazigyansu6873 11 ай бұрын
ir url se csv read nehin ho pa raha hai
@23MMA002_IQRAKHAN
@23MMA002_IQRAKHAN Ай бұрын
kahan hai github ka nb link?
@shreyasur1534
@shreyasur1534 4 ай бұрын
sir dataset share kar dijiye pls
@mathics2869
@mathics2869 3 ай бұрын
If u got the link pls share with me
@sigma5391
@sigma5391 2 жыл бұрын
sir aug_train.csv file khul ni rahi hai
@SauravSharma-c9o
@SauravSharma-c9o 23 күн бұрын
where is the link of notebook ?
@mohammadrizabul
@mohammadrizabul 20 күн бұрын
have you got it ?
@kushagra4401
@kushagra4401 Жыл бұрын
23:00
@krishnakanthmacherla4431
@krishnakanthmacherla4431 2 жыл бұрын
Done
@prithvigupta8215
@prithvigupta8215 Жыл бұрын
25:00
@rajchoure03
@rajchoure03 5 ай бұрын
sir please share the source code for this tutorial
@harshshukla980
@harshshukla980 Ай бұрын
github link bhul gaye kya daalna?
@vinodbarti9237
@vinodbarti9237 5 ай бұрын
import pandas as pd import numpy as np pd.read_csv('placement.csv', na_values=['cgpa']) sir this isnt working
@iamsachinnegi
@iamsachinnegi 2 ай бұрын
What thinking u performing here u should give name to file then run ..
@prithvigupta8215
@prithvigupta8215 Жыл бұрын
29:38
@user-iv5fr9mr2n
@user-iv5fr9mr2n Жыл бұрын
11:00
@alokdhiman755
@alokdhiman755 2 жыл бұрын
Javascript object notation
@quancume
@quancume Ай бұрын
who noticed ' hyd trip ' 🤚🤣
@deeptisharma90
@deeptisharma90 3 ай бұрын
at 17:32 squeeze is no longer supported that way. updated version is like this - pd.read_csv('aug_train.csv',usecols = ['gender']).squeeze()
@sasta-koder
@sasta-koder Жыл бұрын
Hi, here is a code snippet which can also be used to get encoding info : code: import chardet with open('spam.csv', 'rb') as rawdata: result = chardet.detect(rawdata.read(100000)) result O/p: {'encoding': 'Windows-1252', 'confidence': 0.7272080023536335, 'language': ''} here this is encoding: Windows-1252
@DataScience111
@DataScience111 2 жыл бұрын
Amazing sir. Hats off to you
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 20 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 20 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Python Tutorial: CSV Module - How to Read, Parse, and Write CSV Files
16:12
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 20 МЛН