Lec 2, Python Fundamentals -I

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии •

  • @AryanSingh-qd3bh
    @AryanSingh-qd3bh 8 месяцев назад +1

    00:03 Python fundamentals and data visualization
    02:56 Installing Anaconda and using Jupyter notebook for Python
    05:56 Using Jupyter Notebook and important shortcut keys
    08:44 Learning how to load a simple delimited data file
    11:52 Reading and analyzing CSV data in Python
    14:54 Understanding data types using Python
    17:45 Understanding data columns and retrieving specific rows and columns
    21:19 Dataframe subset and manipulation
    24:29 Practicing Python fundamentals is essential for understanding commands and codes.
    Crafted by Merlin AI.

  • @RankOoze
    @RankOoze 3 года назад +16

    for those who are getting this following error
    >"pandas is not defined"
    if you're writing this line:
    > import pandas as pd
    while importing .csv file then you have to write:
    > df = pd.read_csv("file loacation")

  • @upendrachaube3192
    @upendrachaube3192 Год назад +1

    Amazing .. hats off to you, Professor

  • @uditmehra1953
    @uditmehra1953 2 года назад +3

    Great way of delivering the concepts. Thanks a lot, Sir. Look further to take a course from you in your college

  • @helloshreyas_in
    @helloshreyas_in 3 года назад +5

    I am not able to find that particular file on github

  • @muhammadsaqibkhan8437
    @muhammadsaqibkhan8437 10 месяцев назад +1

    Thanks, wonderful lecture. One question, How you get all the rows as output when run the df, whereas I am getting only first 5 and last 5 records of the data. Kindly explain.

    • @basheer25
      @basheer25 10 месяцев назад

      df.head() only show top 5 rows by default

  • @syedjaweed7090
    @syedjaweed7090 2 года назад

    Superb video for beginners ...Thanks Sir

  • @chandraiitroorkee
    @chandraiitroorkee 4 года назад +1

    Thank you sir for such a clear and crisp insight

  • @prafullsingh9039
    @prafullsingh9039 3 года назад +2

    Amazing sir ..❤️ thankyou so much

  • @sagnikchakraborti2415
    @sagnikchakraborti2415 2 года назад +5

    Sir can you pls share the excel file with us? It is not found in the site you mentioned

    • @हिंदूवीर-hindu
      @हिंदूवीर-hindu 2 года назад +1

      Right

    • @arpitakar5600
      @arpitakar5600 2 года назад

      Nptel site pr jaa sab hai

    • @virajvibhute8510
      @virajvibhute8510 Год назад

      @@arpitakar5600 nptel site pe kaha can you please tell? I have enrolled for the course via Swayam. Unable to find anything there.

    • @kumarrishabh7042
      @kumarrishabh7042 Год назад

      @@virajvibhute8510 swayam nptel .. wha jakr course selct kr lo ... fir week 1 ke section me mil jaaega

    • @aqibjavid9752
      @aqibjavid9752 Год назад

      ​@@kumarrishabh7042it's not found where

  • @bittuedits7137
    @bittuedits7137 Год назад

    thank you sir its very usefull for beginers

  • @MrBhaiyaji
    @MrBhaiyaji 4 года назад +4

    Showing not defines pandas import library not working what should i do?
    Please help sir

    • @anandhisiva93
      @anandhisiva93 4 года назад +1

      hi, you have to install pandas before importing.
      In the command prompt type pip3 install pandas.
      It will get installed. Then you import . for numpy also same procedure

    • @akashgoojre846
      @akashgoojre846 4 года назад

      @@anandhisiva93 it says pip3 is not recognized as internal or external command

    • @mayanksinha758
      @mayanksinha758 4 года назад +2

      @@akashgoojre846 Go to your windows command prompt and paste "python -m pip install --upgrade pip". After installation type "pip install pandas". --> datatofish.com/upgrade-pip/

  • @flashwarning9597
    @flashwarning9597 4 года назад +2

    Thank you soo much sir for this amazing tutorial

  • @Chidambarckulkarni
    @Chidambarckulkarni 7 месяцев назад

    Can we use python idle or pycharm
    For data analytics

  • @venugopaldontaraboyana689
    @venugopaldontaraboyana689 4 года назад +4

    Can I have the ppt shared in the class?

  • @gnial2001
    @gnial2001 5 лет назад +5

    Sir the dataset is not available at the mentioned link

    • @ab94745
      @ab94745 4 года назад

      @Uday Yadav How to get it, can you provide the link

    • @ab94745
      @ab94745 4 года назад

      @Uday Yadav thank u

    • @davidsmith8498
      @davidsmith8498 4 года назад

      @Uday Yadavgreat work bhai 👍🏻👍🏻👍🏻👍🏻

    • @patrickbateman7665
      @patrickbateman7665 4 года назад +1

      @Uday Yadav Not all heroes Wear Capes 🤓

    • @IQ_Update
      @IQ_Update 4 года назад +1

      @Uday Yadav Thank You

  • @amirtheeswaransiva6861
    @amirtheeswaransiva6861 7 месяцев назад

    Hello! Friends, Can someone help to download the dataset used in this video?

  • @vaishnavi7858
    @vaishnavi7858 2 года назад

    In 12.01 how did you read it , where to click to get the data set

  • @deepakkailay
    @deepakkailay 4 года назад +2

    No details. Like why used [ ,{,( brackts. It is simple reading a file and giving lecture. Anyone can do that.

  • @binitagarwal6522
    @binitagarwal6522 4 года назад +1

    There's an error : " missing positional argument( self)"

  • @kanikajain5627
    @kanikajain5627 Год назад

    I need the dataset used for the above. Can anyone help?

    • @Econglowinstitute
      @Econglowinstitute 9 месяцев назад

      same problem, can anyone plz help

    • @adxtyx
      @adxtyx 5 месяцев назад +2

      it is TSV file in the same github "data-raw/08_gap-every-five-years.tsv"

  • @eshaarora2465
    @eshaarora2465 Год назад +2

    How to install jupyter and how to use anaconda??
    No clear instructions given. It is total waste of time

    • @SayabAhmed
      @SayabAhmed Год назад

      you can install easily by following there instructions in the video

    • @eshaarora2465
      @eshaarora2465 Год назад

      @@SayabAhmed but it is asking payment

    • @SayabAhmed
      @SayabAhmed Год назад

      @@eshaarora2465 are you using mac or windows?

    • @SayabAhmed
      @SayabAhmed Год назад +1

      i installed just 10days ago everything is installed well without any problem. don't worry try the installation from the beginning....1st unstall it and install it carefully

    • @eshaarora2465
      @eshaarora2465 Год назад

      @@SayabAhmed windows 10

  • @monicavyas3866
    @monicavyas3866 Год назад

    Anybody could help to get sheet which has all commands for practise

  • @amanpratapsingh1042
    @amanpratapsingh1042 Год назад

    loc is not in use, it is replaced by iloc

  • @shrutiagrawal8015
    @shrutiagrawal8015 4 года назад +12

    What is the point this video if there is no one to answer the doubts of students ?

    • @Ashoka_bhat
      @Ashoka_bhat Год назад

      The lecture is a century old bruhh😢

    • @Shirshak
      @Shirshak 10 месяцев назад

      This is an old NPTEL Swayam Course. There were discussion window open when it was uploaded years ago.

    • @AnimeNerdFact
      @AnimeNerdFact 10 месяцев назад

      J

  • @atulanand4824
    @atulanand4824 2 года назад +1

    how to get this ppt?

  • @Gameover-nc1uk
    @Gameover-nc1uk 4 года назад +1

    i am getting df not defined & pd not defined errors

    • @deepaliss
      @deepaliss 4 года назад +2

      me too

    • @sivabalajisiva3892
      @sivabalajisiva3892 4 года назад

      I am also facing the same error,whether you got any solution?

    • @mayanksinha758
      @mayanksinha758 4 года назад +1

      Have you install all the mention libs. if not then Go to your windows command prompt and paste "python -m pip install --upgrade pip". After installation type "pip install pandas". --> datatofish.com/upgrade-pip/ after this go to your editor and import the mentioned libs. as shown in the video.

  • @aniskasar
    @aniskasar 22 дня назад

    sir would have shared the file cvs because its really difficult to find it,if some one found pls share it

  • @chudailultepair
    @chudailultepair 3 года назад

    Sir if I want to range out of index element how to find it

  • @vishnu8899
    @vishnu8899 3 года назад

    this is very easy...

  • @nileshmishra9009
    @nileshmishra9009 11 месяцев назад

    sir is it mandatory to download anaconda?

  • @HSharadga
    @HSharadga 6 месяцев назад

    Can you please share the Slides?

  • @krishanuchakraborty9402
    @krishanuchakraborty9402 4 года назад +7

    csv file is not there in github

  • @muralidirisala4618
    @muralidirisala4618 2 года назад +2

    Faculty has no good command on python

    • @bidyutbikashtalukdar8675
      @bidyutbikashtalukdar8675 Год назад

      They are parrot learners 😂dude. Those who have good command over python they are not teaching they are working in R&D department of too companies

    • @nashtrashcool
      @nashtrashcool Год назад

      @@bidyutbikashtalukdar8675 bro i am learning from this, should i continue or not?

  • @TaniyaVankar
    @TaniyaVankar 4 месяца назад

    Is anyone got the dataset?

  • @harshagupta1707
    @harshagupta1707 3 года назад +3

    I started doing this course but now I'm stuck with the doubts and feeling helpless.

    • @lyricathelyricsworld8945
      @lyricathelyricsworld8945 3 года назад

      Can I know what is your doubt

    • @sankeerths
      @sankeerths 2 года назад

      @@lyricathelyricsworld8945 I am getting df not defined what should I do

    • @vijaynagalla3989
      @vijaynagalla3989 2 года назад

      @@sankeerths which IDE are you using?

    • @roshantiwari7276
      @roshantiwari7276 2 года назад

      Can u share ur code ss since df is variable u should not get this error if u have defined it at the start

    • @bidyutbikashtalukdar8675
      @bidyutbikashtalukdar8675 Год назад

      Thats why learn in practical environment not in this

  • @snow-e1m
    @snow-e1m 3 года назад

    Thank you very much

  • @barbieap
    @barbieap 4 года назад

    I am not able to get the data that is mentioned can any one assist

    • @hariehkr123
      @hariehkr123 4 года назад +7

      swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv

    • @Aditya-ot7ib
      @Aditya-ot7ib 3 года назад

      @@hariehkr123 thank you very much.

    • @rajshekharghosh2
      @rajshekharghosh2 3 года назад

      @@hariehkr123 super helpful !

  • @akshatsattavat3941
    @akshatsattavat3941 4 года назад +3

    can anyone share the above used dataset?

  • @abdulsadiq9012
    @abdulsadiq9012 26 дней назад

    sir kindly provide us the dataset

  • @tanishaupadhyay3554
    @tanishaupadhyay3554 4 года назад +1

    sir if i want write datafile having four row what i can write

  • @TEJASMATHARU
    @TEJASMATHARU 2 года назад

    Not able to get the cav file…
    Someone pls inbox me pls

  • @lakshman587
    @lakshman587 4 года назад

    Nice

  • @p001sri2
    @p001sri2 4 года назад

    Sir I am getting error as "localhost refused to connect." whenever I am trying to open Jupyter notebook. Please help me out with it.

    • @mayanksharma3135
      @mayanksharma3135 4 года назад

      try reinstalling, there's some issue with your network

    • @astrokid4
      @astrokid4 4 года назад

      Please install IDLE, install library using pip install method in CMD prompt

  • @cablemaster8874
    @cablemaster8874 2 года назад

    Thanks

  • @alokaryan7295
    @alokaryan7295 3 года назад

    File not found eroor help

  • @beautifullectures
    @beautifullectures 3 месяца назад

    I understand sql but I really don't understand python 😢

  • @Udayyadav-zg6nl
    @Udayyadav-zg6nl 4 года назад

    how he read df?

    • @arhaanmalik3707
      @arhaanmalik3707 4 года назад

      Hlw brother please give me your number or whtsp me 8318204366

    • @theduosisters5152
      @theduosisters5152 4 года назад +1

      Run each line of code before executing the entire file

    • @pratheeeeeesh4839
      @pratheeeeeesh4839 4 года назад +1

      import pandas as pd
      df = pd.read_csv(#path of the csv file)

    • @RobbiesFoods
      @RobbiesFoods Год назад

      ​@@theduosisters5152very helpful. Thank you

  • @blueSurfer
    @blueSurfer 4 года назад +4

    if anyone getting this error :NameError: name 'pandas' is not defined .use pd instead of pandas in 2nd block

    • @michaelalebiosu5490
      @michaelalebiosu5490 4 года назад +1

      use this video to learn how to load data.ruclips.net/video/JwteBpgMYuE/видео.html

    • @chandraiitroorkee
      @chandraiitroorkee 4 года назад +1

      thanks it is working

    • @ujjawalingle5494
      @ujjawalingle5494 3 года назад

      Bro do u know how to download the excel file of country codes(used in this video) from git hub. I am unable to do it.

    • @blueSurfer
      @blueSurfer 3 года назад

      @@ujjawalingle5494 i Google searched the exact file name as shown in video you can try it

    • @ujjawalingle5494
      @ujjawalingle5494 3 года назад

      @@blueSurfer I did the same thing but...i am getting a file with codes not an excel file.

  • @jagdish_soni3098
    @jagdish_soni3098 Год назад

    My brothers must take care of forward slash "/". 😔

  • @hemantsolanki5
    @hemantsolanki5 4 года назад +1

    How to enroll for the course

  • @write2ruby
    @write2ruby 2 года назад

    Refer Lecture Slide

  • @dileepkumartentu8707
    @dileepkumartentu8707 3 года назад

    hello sir, how can i join this course?
    Need certifiction also

    • @ashwinkumar5815
      @ashwinkumar5815 3 года назад

      go to swayam portal and get yourself registered and take the exam in the final to get certificate

    • @shreyamehta6652
      @shreyamehta6652 2 года назад

      @@ashwinkumar5815 hey could you please explain in detail regarding this exam and certification? if its available yet?

    • @ashwinkumar5815
      @ashwinkumar5815 2 года назад

      Regarding the availability, the course session got recently concluded in April. I suggest that you pls sign up in the portal and check when the next course session commences.
      As far as the course is concerned it is available free of cost and every week classes are uploaded and an interactive session is also there for doubt clearing (and the student also get some assignments for practice).
      As time progresses and the course session ends you'll be communicated through mail about exams and it is to your discretion whether you want to take the exam or not(but certification is provided on completion of the final test ). If you register for the exam subsequently you have to pay only for the exam and get the result and certification from NPTEL on fulfillment of the required credits (do check the portal for that ) and a computer based exam is held for which you'll be notified through mail .

  • @AmitShukla-qf4mh
    @AmitShukla-qf4mh 4 года назад +1

    Yess data set is not available please provide data set

    • @deepaliss
      @deepaliss 4 года назад +8

      swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv

    • @m7ankit251
      @m7ankit251 4 года назад

      @@deepaliss thanks for sharing....
      already wasted 2 hours in clearing errors in other file and converting rdata files to csv

    • @narayanamallesh9369
      @narayanamallesh9369 4 года назад

      if not that specific thing used by them how can we load any other data set

    • @sumikalita1934
      @sumikalita1934 4 года назад

      I am not able to find the dataset again. Please help me regarding this.

    • @rejinbabu4604
      @rejinbabu4604 4 года назад

      @@deepaliss Thank you

  • @adityasahu8191
    @adityasahu8191 4 года назад

    Ji

  • @prakharmadaan314
    @prakharmadaan314 4 года назад

    name 'pandas' is not defined
    i am getting this error
    can someone help?

    • @shivamkatiyar9832
      @shivamkatiyar9832 4 года назад

      simple write import pandas as pd

    • @rad.strums
      @rad.strums 4 года назад

      import pandas as pd
      df = pd.read_csv("url")

    • @JayKumar-rm4do
      @JayKumar-rm4do 4 года назад +2

      type these
      import pandas as pd
      import numpy as np
      import matplotlib.pyplot as plt
      then press shift enter

    • @anupamsharma4431
      @anupamsharma4431 4 года назад

      @@rad.strums ---------------------------------------------------------------------------
      FileNotFoundError Traceback (most recent call last)
      in
      1 import pandas as pd
      ----> 2 df = pd.read_csv("url")
      /opt/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
      674 )
      675
      --> 676 return _read(filepath_or_buffer, kwds)
      677
      678 parser_f.__name__ = name
      /opt/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
      446
      447 # Create the parser.
      --> 448 parser = TextFileReader(fp_or_buf, **kwds)
      449
      450 if chunksize or iterator:
      /opt/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py in __init__(self, f, engine, **kwds)
      878 self.options["has_index_names"] = kwds["has_index_names"]
      879
      --> 880 self._make_engine(self.engine)
      881
      882 def close(self):
      /opt/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
      1112 def _make_engine(self, engine="c"):
      1113 if engine == "c":
      -> 1114 self._engine = CParserWrapper(self.f, **self.options)
      1115 else:
      1116 if engine == "python":
      /opt/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py in __init__(self, src, **kwds)
      1889 kwds["usecols"] = self.usecols
      1890
      -> 1891 self._reader = parsers.TextReader(src, **kwds)
      1892 self.unnamed_cols = self._reader.unnamed_cols
      1893
      pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.__cinit__()
      pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source()
      FileNotFoundError: [Errno 2] File url does not exist: 'url'

    • @mayanksinha758
      @mayanksinha758 4 года назад +2

      Have you install all the mention libs. if not then Go to your windows command prompt and paste "python -m pip install --upgrade pip". After installation type "pip install pandas". --> datatofish.com/upgrade-pip/ after this go to your editor and import the mentioned libs.

  • @manharbhasin8888
    @manharbhasin8888 3 года назад

    NameError Traceback (most recent call last)
    in
    ----> 1 df
    NameError: name 'df' is not defined
    Can somebody help with this error

  • @Rpk1610
    @Rpk1610 2 года назад

    go to downloaded file ...right click...copy path....paste in inverted commas df=pd.read_csv('C:/Users/nehab/Downloads/gapminder-FiveYearData.csv') now replace backslash with forward slash

  • @swapnilshah4620
    @swapnilshah4620 Год назад

    does anyone have dataset used in the lecture