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.
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")
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.
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 Go to your windows command prompt and paste "python -m pip install --upgrade pip". After installation type "pip install pandas". --> datatofish.com/upgrade-pip/
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
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.
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 .
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.
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
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.
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")
Amazing .. hats off to you, Professor
Hey do you possibly have the dataset used
Great way of delivering the concepts. Thanks a lot, Sir. Look further to take a course from you in your college
I am not able to find that particular file on github
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.
df.head() only show top 5 rows by default
Superb video for beginners ...Thanks Sir
Thank you sir for such a clear and crisp insight
Amazing sir ..❤️ thankyou so much
Sir can you pls share the excel file with us? It is not found in the site you mentioned
Right
Nptel site pr jaa sab hai
@@arpitakar5600 nptel site pe kaha can you please tell? I have enrolled for the course via Swayam. Unable to find anything there.
@@virajvibhute8510 swayam nptel .. wha jakr course selct kr lo ... fir week 1 ke section me mil jaaega
@@kumarrishabh7042it's not found where
thank you sir its very usefull for beginers
Showing not defines pandas import library not working what should i do?
Please help sir
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
@@anandhisiva93 it says pip3 is not recognized as internal or external command
@@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/
Thank you soo much sir for this amazing tutorial
Can we use python idle or pycharm
For data analytics
Can I have the ppt shared in the class?
@Uday Yadav where bro?
Sir the dataset is not available at the mentioned link
@Uday Yadav How to get it, can you provide the link
@Uday Yadav thank u
@Uday Yadavgreat work bhai 👍🏻👍🏻👍🏻👍🏻
@Uday Yadav Not all heroes Wear Capes 🤓
@Uday Yadav Thank You
Hello! Friends, Can someone help to download the dataset used in this video?
In 12.01 how did you read it , where to click to get the data set
No details. Like why used [ ,{,( brackts. It is simple reading a file and giving lecture. Anyone can do that.
which brackets do you wanna know??
There's an error : " missing positional argument( self)"
I need the dataset used for the above. Can anyone help?
same problem, can anyone plz help
it is TSV file in the same github "data-raw/08_gap-every-five-years.tsv"
How to install jupyter and how to use anaconda??
No clear instructions given. It is total waste of time
you can install easily by following there instructions in the video
@@SayabAhmed but it is asking payment
@@eshaarora2465 are you using mac or windows?
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
@@SayabAhmed windows 10
Anybody could help to get sheet which has all commands for practise
did u get it somewhere?
loc is not in use, it is replaced by iloc
What is the point this video if there is no one to answer the doubts of students ?
The lecture is a century old bruhh😢
This is an old NPTEL Swayam Course. There were discussion window open when it was uploaded years ago.
J
how to get this ppt?
i am getting df not defined & pd not defined errors
me too
I am also facing the same error,whether you got any solution?
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.
sir would have shared the file cvs because its really difficult to find it,if some one found pls share it
Sir if I want to range out of index element how to find it
this is very easy...
sir is it mandatory to download anaconda?
No
Can you please share the Slides?
csv file is not there in github
Same, i downloaded a random csv file
Faculty has no good command on python
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
@@bidyutbikashtalukdar8675 bro i am learning from this, should i continue or not?
Is anyone got the dataset?
I started doing this course but now I'm stuck with the doubts and feeling helpless.
Can I know what is your doubt
@@lyricathelyricsworld8945 I am getting df not defined what should I do
@@sankeerths which IDE are you using?
Can u share ur code ss since df is variable u should not get this error if u have defined it at the start
Thats why learn in practical environment not in this
Thank you very much
I am not able to get the data that is mentioned can any one assist
swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv
@@hariehkr123 thank you very much.
@@hariehkr123 super helpful !
can anyone share the above used dataset?
data set hai to dedo
sir kindly provide us the dataset
sir if i want write datafile having four row what i can write
.write_()
df.iloc[0:4]
print(df.loc[3])
print(df.head(4))
Not able to get the cav file…
Someone pls inbox me pls
Nice
Sir I am getting error as "localhost refused to connect." whenever I am trying to open Jupyter notebook. Please help me out with it.
try reinstalling, there's some issue with your network
Please install IDLE, install library using pip install method in CMD prompt
Thanks
File not found eroor help
I understand sql but I really don't understand python 😢
how he read df?
Hlw brother please give me your number or whtsp me 8318204366
Run each line of code before executing the entire file
import pandas as pd
df = pd.read_csv(#path of the csv file)
@@theduosisters5152very helpful. Thank you
if anyone getting this error :NameError: name 'pandas' is not defined .use pd instead of pandas in 2nd block
use this video to learn how to load data.ruclips.net/video/JwteBpgMYuE/видео.html
thanks it is working
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.
@@ujjawalingle5494 i Google searched the exact file name as shown in video you can try it
@@blueSurfer I did the same thing but...i am getting a file with codes not an excel file.
My brothers must take care of forward slash "/". 😔
How to enroll for the course
Nptel oficial website
Refer Lecture Slide
hello sir, how can i join this course?
Need certifiction also
go to swayam portal and get yourself registered and take the exam in the final to get certificate
@@ashwinkumar5815 hey could you please explain in detail regarding this exam and certification? if its available yet?
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 .
Yess data set is not available please provide data set
swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv
@@deepaliss thanks for sharing....
already wasted 2 hours in clearing errors in other file and converting rdata files to csv
if not that specific thing used by them how can we load any other data set
I am not able to find the dataset again. Please help me regarding this.
@@deepaliss Thank you
Ji
name 'pandas' is not defined
i am getting this error
can someone help?
simple write import pandas as pd
import pandas as pd
df = pd.read_csv("url")
type these
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
then press shift enter
@@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'
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.
NameError Traceback (most recent call last)
in
----> 1 df
NameError: name 'df' is not defined
Can somebody help with this error
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
does anyone have dataset used in the lecture
have u got dataset