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

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • 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

ความคิดเห็น • 111

  • @749srobin
    @749srobin 2 ปีที่แล้ว +42

    bhai dil jeet liya tune , kash march mein hi mil jata tera channel

  • @jinks3669
    @jinks3669 2 ปีที่แล้ว +5

    Best channel on youtube.
    It's channel's like yours that make social media worthwhile.
    Dhanyavaad dost

  • @AbdulHannan-dg6dl
    @AbdulHannan-dg6dl ปีที่แล้ว +4

    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 😍

  • @harneksingh960
    @harneksingh960 2 ปีที่แล้ว +20

    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

  • @yandeshubham8657
    @yandeshubham8657 ปีที่แล้ว

    One of the best channel for learning ML
    Thank u so much sir for improve my knowledge. God bless u

  • @ashutoshkanojiya7380
    @ashutoshkanojiya7380 ปีที่แล้ว +8

    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

  • @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 💜

  • @shamaila3
    @shamaila3 หลายเดือนก่อน +2

    You are doing a great job brother, respect and appreciation from Pakistan👍✊

  • @viditvaish7317
    @viditvaish7317 7 หลายเดือนก่อน

    amazing sir ,bahut zayda baareek cheeze explain kari hai aapne thanqu sir

  • @nishitaverma8805
    @nishitaverma8805 2 ปีที่แล้ว +21

    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

  • @tanveerbashir8393
    @tanveerbashir8393 ปีที่แล้ว +2

    interesting, informative and amazing lecture

  • @DataScience111
    @DataScience111 2 ปีที่แล้ว

    Amazing sir. Hats off to you

  • @user-ni4qi9gf6c
    @user-ni4qi9gf6c 10 หลายเดือนก่อน

    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.

  • @vishnujatav6329
    @vishnujatav6329 2 ปีที่แล้ว

    Sir, you are a real hero

  • @narendraparmar1631
    @narendraparmar1631 6 หลายเดือนก่อน

    Very Easy Explanation.
    Thanks sir ji😀

  • @user-bm2fi5wm8m
    @user-bm2fi5wm8m 7 หลายเดือนก่อน

    Thanks a lot for making this playlist. really appreciated.

  • @swethasree5684
    @swethasree5684 2 ปีที่แล้ว

    Very useful video. Thank you sir

  • @shariqmeyraan2373
    @shariqmeyraan2373 2 ปีที่แล้ว +11

    You are a gem.. Kudos for such amazing content!!

    • @shariqmeyraan2373
      @shariqmeyraan2373 2 ปีที่แล้ว

      How can I contact you? I want to be your student!!

  • @sidindian1982
    @sidindian1982 ปีที่แล้ว

    one of the best content for ML platform ,.... Sir you are GOD 🙂

  • @zkhan2023
    @zkhan2023 3 ปีที่แล้ว +3

    sir, you put all your effort to produce good content keep it up sir

  • @jawadchaudhry2648
    @jawadchaudhry2648 หลายเดือนก่อน

    Kamaal ho Sir g ap ... God Bless u

  • @PyMLHub
    @PyMLHub หลายเดือนก่อน

    Learning with great understanding with you Sir, I hope this will help me in my next Course of Generative AI.

  • @sanskaripatrick7191
    @sanskaripatrick7191 ปีที่แล้ว +2

    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 8 หลายเดือนก่อน

      yeah even i did noticed that, i dont know why they consider column name as 0th index

  • @preetisrivastava1624
    @preetisrivastava1624 ปีที่แล้ว +1

    Sir aap best ho

  • @RajatKumarhey_sparkerr
    @RajatKumarhey_sparkerr ปีที่แล้ว

    Love your contents ❣️

  • @akashgawande4118
    @akashgawande4118 2 ปีที่แล้ว

    sir you are the best......

  • @ArunKumar_237
    @ArunKumar_237 ปีที่แล้ว

    Thank you so much sir 🙏🙏

  • @tahimakhatun3208
    @tahimakhatun3208 2 ปีที่แล้ว

    It was very usefull. thanks a lot...

  • @shubhamchoudhary5461
    @shubhamchoudhary5461 2 ปีที่แล้ว +2

    luckily i got your channel..thanks !!

  • @prathmeshfutane1247
    @prathmeshfutane1247 ปีที่แล้ว

    Awesome Explanation
    Javascript Object Notation

  • @niteshbutola8753
    @niteshbutola8753 2 ปีที่แล้ว

    awesome explanation bro
    keep it up

  • @user-tx2rk9uu5b
    @user-tx2rk9uu5b 3 หลายเดือนก่อน

    i was looking for UTF-8 error .thank you boss🙏🙏🙏🙏🙏

  • @Naman_Bansal102
    @Naman_Bansal102 7 หลายเดือนก่อน

    Very Intereseting Video

  • @vivekyadav-zx1kw
    @vivekyadav-zx1kw 2 ปีที่แล้ว

    U just doing great..

  • @MuhammadJunaid-yr8jd
    @MuhammadJunaid-yr8jd ปีที่แล้ว

    thank you so much

  • @sandipansarkar9211
    @sandipansarkar9211 ปีที่แล้ว +1

    finished watching

  • @paragvachhani4643
    @paragvachhani4643 ปีที่แล้ว

    Maja aagya sir...🥰

  • @sahibnoorsingh2432
    @sahibnoorsingh2432 ปีที่แล้ว

    Loved your videos, Please make videos on advanced robotics as well

  • @sameerabanu3115
    @sameerabanu3115 9 หลายเดือนก่อน

    superb

  • @JustPython
    @JustPython 9 หลายเดือนก่อน

    very good videos

  • @avinashglpaccountancy999
    @avinashglpaccountancy999 ปีที่แล้ว

    thank you for showing direction, #ML, #Machine learning,#MACHINE LEARNING, # csv, #HOW TO OPEN CSV IN PANDAS...... ---
    following the path

  • @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.

  • @mahfuzraihan8690
    @mahfuzraihan8690 10 หลายเดือนก่อน

    love it

  • @manujkumarjoshi9342
    @manujkumarjoshi9342 10 หลายเดือนก่อน

    Lovely

  • @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?

  • @umangsinghal5403
    @umangsinghal5403 ปีที่แล้ว

    Maza aa gya

  • @atharvkazarid2-354
    @atharvkazarid2-354 หลายเดือนก่อน +1

    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...

  • @parikhgaurav2111
    @parikhgaurav2111 ปีที่แล้ว +2

    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]

  • @UnpluggedSalman
    @UnpluggedSalman 3 หลายเดือนก่อน +1

    sir can you please share the ipynb file probably with all the dataset link.

  • @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

  • @madankhatri7727
    @madankhatri7727 9 หลายเดือนก่อน

    encoding='ISO-8859-1' works for all file

  • @sachin2725
    @sachin2725 ปีที่แล้ว

    Hello Sir, XGBoost is not included in playlist, could you please make a video on XGBoost ?

  • @user-lw6ng1vd7v
    @user-lw6ng1vd7v 8 หลายเดือนก่อน

    Where i find my headers and how to get the header??

  • @balkrushnaparkale7094
    @balkrushnaparkale7094 2 ปีที่แล้ว

    Thank you so much for beautiful content.
    But how to handle txt file?

  • @aviralasthana3672
    @aviralasthana3672 หลายเดือนก่อน

    Where to get the jupyter notebook

  • @drawing8780
    @drawing8780 ปีที่แล้ว

    How to take User input for CSV file and process it

  • @NickMaverick4
    @NickMaverick4 5 หลายเดือนก่อน

    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

  • @noorelahi4792
    @noorelahi4792 ปีที่แล้ว +2

    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 หลายเดือนก่อน +1

      Did you become one?

    • @yogeshkhanna5173
      @yogeshkhanna5173 หลายเดือนก่อน +1

      Did you become data scientist or data analyst

  • @shahmdnazmulalam9620
    @shahmdnazmulalam9620 ปีที่แล้ว

    Sir, How do I load the dataset from the github. please ....

  • @parthpatel473
    @parthpatel473 ปีที่แล้ว

    HI, SIR HEADER IS SAME WHEN WE OPENING A CSV FILES FROM AN URL.

  • @rishavchaba3565
    @rishavchaba3565 2 วันที่ผ่านมา

    At 35:20 how the hell is this not throwing an error ?
    i mean "chunks" in dfs and inside loop there is variable "chunk"

  • @krishnakanthmacherla4431
    @krishnakanthmacherla4431 2 ปีที่แล้ว

    Done

  • @shubhamdhole5160
    @shubhamdhole5160 หลายเดือนก่อน

    where is link of codes and datasets? plz help

  • @shiwamkumar5979
    @shiwamkumar5979 3 หลายเดือนก่อน

    Notebook kha hai?

  • @user-zc3pg2fj4o
    @user-zc3pg2fj4o 3 หลายเดือนก่อน

    can you provide the csv files

  • @suhaibdata
    @suhaibdata ปีที่แล้ว

    amazing.....superb

  • @SauravSharma-c9o
    @SauravSharma-c9o 23 นาทีที่ผ่านมา

    where is the link of notebook ?

  • @Headstrongyt
    @Headstrongyt 17 วันที่ผ่านมา

    Sir, please provide notebook. Thank u.

  • @saumyashah6622
    @saumyashah6622 3 ปีที่แล้ว +1

    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

  • @kushagra4401
    @kushagra4401 ปีที่แล้ว

    23:00

  • @whatdidilearntoday6369
    @whatdidilearntoday6369 ปีที่แล้ว +1

    Bro , if i just run pd.read_csv(url). Then also it works. isnt it?

  • @Garrick645
    @Garrick645 3 หลายเดือนก่อน +6

    Where can we find the jupyter code for this video

    • @mango-strawberry
      @mango-strawberry 4 วันที่ผ่านมา +1

      were you able to find it?

    • @mango-strawberry
      @mango-strawberry 4 วันที่ผ่านมา

      @@Garrick645 which link?

    • @Garrick645
      @Garrick645 4 วันที่ผ่านมา +1

      I'm pasting the link but TH-cam is not letting me post the comment

    • @Garrick645
      @Garrick645 4 วันที่ผ่านมา +1

      @@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 4 วันที่ผ่านมา

      @@Garrick645 thanks I was able to find it.

  • @prithvigupta8215
    @prithvigupta8215 ปีที่แล้ว

    25:00

  • @anshukumaria4-115
    @anshukumaria4-115 20 วันที่ผ่านมา

    can you please share github link of this notebook?

  • @sigma5391
    @sigma5391 ปีที่แล้ว

    sir aug_train.csv file khul ni rahi hai

  • @shubhankarsharma2221
    @shubhankarsharma2221 ปีที่แล้ว

    erorr bad line deprecated to on_"bad_line

  • @satyazigyansu6873
    @satyazigyansu6873 10 หลายเดือนก่อน

    ir url se csv read nehin ho pa raha hai

  • @23MMA002_IQRAKHAN
    @23MMA002_IQRAKHAN 22 วันที่ผ่านมา +1

    kahan hai github ka nb link?

  • @SATYAMSINHA-qi5vj
    @SATYAMSINHA-qi5vj 4 หลายเดือนก่อน +1

    inn sab ke github codes kaha available honge sir ?

    • @mathics2869
      @mathics2869 3 หลายเดือนก่อน

      If u got the link pls share with me

  • @prithvigupta8215
    @prithvigupta8215 ปีที่แล้ว

    29:38

  • @alokdhiman755
    @alokdhiman755 2 ปีที่แล้ว

    Javascript object notation

  • @user-iv5fr9mr2n
    @user-iv5fr9mr2n 11 หลายเดือนก่อน

    11:00

  • @shreyasur1534
    @shreyasur1534 4 หลายเดือนก่อน +1

    sir dataset share kar dijiye pls

    • @mathics2869
      @mathics2869 3 หลายเดือนก่อน

      If u got the link pls share with me

  • @vinodbarti9237
    @vinodbarti9237 4 หลายเดือนก่อน

    import pandas as pd
    import numpy as np
    pd.read_csv('placement.csv', na_values=['cgpa'])
    sir this isnt working

    • @iamsachinnegi
      @iamsachinnegi หลายเดือนก่อน

      What thinking u performing here u should give name to file then run ..

  • @rajchoure03
    @rajchoure03 4 หลายเดือนก่อน

    sir please share the source code for this tutorial

  • @harshshukla980
    @harshshukla980 หลายเดือนก่อน

    github link bhul gaye kya daalna?

  • @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