Pandas (Python) tips and tricks | in Urdu/Hindi

  Рет қаралды 23,013

Codanics

Codanics

Күн бұрын

Пікірлер: 92
@shafiullahmarwat7165
@shafiullahmarwat7165 Жыл бұрын
57:55 , The append function is not working in pandas version 2 or greater, so you have to use concatenation (concat) function For example: pd.concat([ kashti_1, kashti_2])
@razaqureshi5286
@razaqureshi5286 Жыл бұрын
Love this style of teaching then previous one bcz in this style you are telling different techniques to do a same task
@ihsanulghafoor
@ihsanulghafoor 9 ай бұрын
@9:00 error is due to the list of column tags you have mentioned. when you change the dimension of the matrix , the list of column tags are not changed according to it, that why it give error.
@razaqureshi5286
@razaqureshi5286 Жыл бұрын
Love this style of teaching then previous one bcz in this style you are telling different techniques to do a same task I saw this thing missing In chilla 1
@Muhammad.Kashif31
@Muhammad.Kashif31 8 ай бұрын
58:01 the function df.append(df1) has been changed to df._append(df1)
@the34thStudent
@the34thStudent 3 күн бұрын
Getting complex. Do we need to memorise all these commands or follow the GitHub copilot? Thanks
@EnglishJourney-u4e
@EnglishJourney-u4e 7 ай бұрын
JaZakaAllah for this effort
@Aftab_Ajk
@Aftab_Ajk Жыл бұрын
Video no. 8 and 9 are very important for learners. I recommend watching minute by minute.
@info-cv8tg
@info-cv8tg 11 ай бұрын
when i execute pd.clipboard() , it says Pyperclip could not find a copy/paste mechanism for your system. Why?
@sunilnaser6218
@sunilnaser6218 Ай бұрын
Sir jab main drop function k sath split karta to ak error a Raha axis is not found kindly tell me about it
@Hijabfatima188
@Hijabfatima188 7 ай бұрын
Sir float64> yeh change hai just greater than ki
@afnansandhu4297
@afnansandhu4297 Жыл бұрын
Very informative video
@shujabinamjad7159
@shujabinamjad7159 Жыл бұрын
At 58:15 append() function is depreceated in new version of python use concat method instead
@MurtazaKhosa-pu3jv
@MurtazaKhosa-pu3jv 7 ай бұрын
4,81 mn ap ny column k name kaam deya howa tha sir g baghair column name k chal jay ga
@jhnmn52
@jhnmn52 5 ай бұрын
Append has updated to: df1 = pd.concat([kashti_1, kashti_2], axis=0)
@BeatifulandFunnyCats
@BeatifulandFunnyCats Жыл бұрын
Assignment: error=coerce is a parameter that is often used in functions that involve reading in or converting data. When error='coerce' is passed as an argument, it tells the function to try to convert any invalid data to a valid form, and to replace any invalid data that can't be converted with a missing value or special value (such as NaN for numerical data). This can be useful for handling data that may contain errors or inconsistencies, and can help to prevent errors from being raised when the data is processed.
@saeednagaria6912
@saeednagaria6912 24 күн бұрын
@Codanics: I am getting following error at 6:38 Please help. TypeError: unhashable type: 'list'
@MuhammadAli-ir5zo
@MuhammadAli-ir5zo Жыл бұрын
jazakAllah Aammar bhai
@munZzza
@munZzza 5 ай бұрын
it's very helpful sir ❤
@muhammadwalid6626
@muhammadwalid6626 11 ай бұрын
sir ye github copilot kya cheez hain please.
@amadali6566
@amadali6566 21 күн бұрын
love you hogaya sir ❤
@umesalmahyder8529
@umesalmahyder8529 7 ай бұрын
When errors is set to 'coerce', it means that if there are any errors encountered during the conversion process (such as encountering non-numeric values), those problematic values will be replaced with NaN (Not a Number). This allows the conversion process to continue for the rest of the values in the column without being interrupted by errors. Here's a breakdown: errors='coerce': It means to replace errors with NaN. errors='raise': It means to raise an error if any errors occur during conversion. errors='ignore': It means to skip errors and leave the original values unchanged. In summary, setting errors='coerce' is often useful when you want to convert a column to numeric type but are not sure if all values are convertible, and you want to handle non-convertible values gracefully without raising an error.
@yousuf_shah_1
@yousuf_shah_1 7 ай бұрын
hats you for your effort
@irammunir7769
@irammunir7769 7 ай бұрын
sir dataset load krne mein jo problem a rhe ha apke pass mre pass b same problem a rha ha can you help me to resolve this problem ia m using macbook
@aneeqriaz7091
@aneeqriaz7091 Жыл бұрын
JzakAllah sir g❤❤❤
@muneebhassan1355
@muneebhassan1355 11 ай бұрын
I'm usiing Pandas 2.1.3 and in tip 13 "Join two datasets" we can't use df.append() function anymore. Found that we can use _append(). Don't know if they changed the name or this private function to do same task. Thanks
@AreebaBushra-ef5he
@AreebaBushra-ef5he 5 ай бұрын
why my GitHub copilot is not giving code suggestion in code cell like the way it is giving in this vedio
@AnasKhan-y7q5l
@AnasKhan-y7q5l 5 ай бұрын
dll load failed while importing _cext the specified module could not be found
@UmarFarooq-ht9mc
@UmarFarooq-ht9mc Жыл бұрын
57:50 For Joining two Datasets new command is use that is "concat" : df1 = pd.concat([kashti_1 , kashti_2])
@Cryptodany21
@Cryptodany21 9 ай бұрын
thanks for the effort
@abdullahsajid9373
@abdullahsajid9373 11 ай бұрын
error = coerce In the context of a DataFrame in Python's pandas library, the error='coerce' parameter is typically used in conjunction with the pd.to_numeric() function. When you apply pd.to_numeric() to a column or a DataFrame, it attempts to convert the values to numeric data types (e.g., integers or floats). However, if it encounters a value that cannot be converted to a number, it will raise an error by default. By specifying error='coerce', you instruct pd.to_numeric() to handle such situations differently. Instead of raising an error, it will replace the non-convertible values with NaN (Not a Number) values. This allows you to retain the structure of your DataFrame while dealing with invalid or incompatible data.
@raohammadraza
@raohammadraza Жыл бұрын
thanks you so much sir
@afnansandhu4297
@afnansandhu4297 Жыл бұрын
Sir next video kbb aye gi
@LifeAsASoftwareEngineer
@LifeAsASoftwareEngineer Жыл бұрын
What happened to other classes?
@kiddienotes733
@kiddienotes733 Жыл бұрын
errors='coerce') what it means to convert errors to coerce If the error argument is passed as coerce, then invalid parsing will be set as NaN. If the error argument is passed as ignore, then invalid parsing will return the input.
@muhammadsaadshaheen7059
@muhammadsaadshaheen7059 Ай бұрын
Sir video quality ka issue araha hai😢
@sadiaali1999
@sadiaali1999 Жыл бұрын
if the error argument is passed as coerce , then invalid data will be set as NaN . it can help to prevent errors when data is processed.
@shaykhatifanclub12
@shaykhatifanclub12 3 ай бұрын
col(4,81) giving error because sir only had given 8 columns name(ABCDEFGH).. we have to name all 81 columns .........or we cannot apply columns name because 81 is a large number to give all columns name.
@Reality11075
@Reality11075 Жыл бұрын
jb data excel ma save kr rahy han to csv q likha ha xlss likhna tha
@asadullah8970-j1t
@asadullah8970-j1t Жыл бұрын
asi tar kar sakta ha ham sir titanic['class'].value_counts()
@QuizQuest1
@QuizQuest1 Жыл бұрын
sir apke code mn suggestion aag rhe hn code ke hmare mn nhe aa rhe hn
@Codanics
@Codanics Жыл бұрын
Install github copilot
@razaqureshi5286
@razaqureshi5286 Жыл бұрын
4 and 81 ka data frame is Lia nhi bana ta bcz hma fir columns names 81 dene hoga
@Reality11075
@Reality11075 Жыл бұрын
first we check the version second import the data third check the head and tail fourth make the csv and excel files fifth read the scv or excel files
@yuxrazafar8532
@yuxrazafar8532 Жыл бұрын
1:41:01 its unstack, not unstack()... kaam kr rha h but koi changes nh hn
@mehdihussainseo
@mehdihussainseo Жыл бұрын
what does this (random_state=1) mean? and what if i set it 0 or 2 or 4 will there any changes in output result?
@crazymunna2397
@crazymunna2397 Жыл бұрын
it basically means if u want to use random genreator for something else later in the function and u want it to generate same random numbers then u can fix the way of generating random number by mentioning state that can be 0,1,2 etc and later if u mention the state of generating number it will generate same numbers
@mahwishbukhari628
@mahwishbukhari628 11 ай бұрын
Itny sary codes yaad kaisy rakhny hain 😮 ye tw bhool jayn gy
@aneeqriaz7091
@aneeqriaz7091 Жыл бұрын
Object has no attribute append in order to rejoin kashti_1or kashti_2
@HamzaAli-bb8cx
@HamzaAli-bb8cx Жыл бұрын
you use space instead of underscore which is against rules(53:10/2:05:24)
@UltimateSaif
@UltimateSaif 11 ай бұрын
Baba Aammar was unable to explain this part. [::-2]: This part is a slice notation for selecting every second row in reverse order. The [::-2] slice selects rows starting from the last row and moving backward by a step of 2.
@Codanics
@Codanics 11 ай бұрын
Thank you for stating it
@hubgaming_tech
@hubgaming_tech Жыл бұрын
12:06, baba g inplace=True ke baghayr bhi update horaha hai name columns ka
@Codanics
@Codanics Жыл бұрын
Agar ap object update karen gay tu ho ga
@shafiullahmarwat7165
@shafiullahmarwat7165 Жыл бұрын
11:27 , Hello everyone, I am not getting the auto suggestion but have to write the whole line by myself. Pylance( intelleecense) is working?
@Codanics
@Codanics Жыл бұрын
Use github copilot or codeium
@muneerahd
@muneerahd Жыл бұрын
@1:32 #key kiya
@AbdulManan-jf6ql
@AbdulManan-jf6ql 6 ай бұрын
first line was the error while loading phool , iris dataset
@rafiasalah1688
@rafiasalah1688 Жыл бұрын
21:52 I received ssl error what to do? using vs in Mac
@Codanics
@Codanics Жыл бұрын
This is a terrible answer (not very secure), but appears to be the current Microsoft official answer. Use "http.proxyStrictSSL": false in your settings.json file. This should work to get around the issue of installing extensions inside a corporate network, but I'd recommend disabling the setting if you are going to be working from home/coffee shop and not connected to the corporate VPN. github.com/Microsoft/vscode/issues/3492
@shahneelraza3030
@shahneelraza3030 Жыл бұрын
9:23 because the mentioned columns are not matching the number of columns
@fazlurrahman5017
@fazlurrahman5017 Жыл бұрын
either delete the column or provide the column with the alphabet or any nomenclature equal to 80,81 or whatever number. Correct me if anything is found wrong. Thanks
@UltimateSaif
@UltimateSaif 11 ай бұрын
df.info(memory_usage='deep')
@muneerahd
@muneerahd Жыл бұрын
@52:51 # _ should be used instead of spaces .
@MhassanKhan01
@MhassanKhan01 Ай бұрын
great job keep it up. i am looking for mqtt broker system please help
@hashirahbar7323
@hashirahbar7323 Жыл бұрын
1:41:21 unstack() used to convert into frame
@hammadalamsiddique3730
@hammadalamsiddique3730 Жыл бұрын
sir tamaam tricks samajh agaen bas last trick me confusion arahi
@hassnainabbas8094
@hassnainabbas8094 Жыл бұрын
1:39:02 (unstack) function is running
@Atif-h6j
@Atif-h6j 2 ай бұрын
1:13:41, df['class'].value_counts().nsmallest(3)
@umermirza27
@umermirza27 Жыл бұрын
*correction 1:11:36 24.00 walay 30 22.00 walay 27
@Reality11075
@Reality11075 Жыл бұрын
# location changing df[['city', 'country']] = df.location.str.split(' ',expand= True) df
@razaqureshi5286
@razaqureshi5286 Жыл бұрын
Mgr Apne columns names nhi dia te itna zada
@UmarFarooq-ht9mc
@UmarFarooq-ht9mc Жыл бұрын
es Video ko daikny mai mujay 6-8 hours lagay
@muhammadsaadshaheen7059
@muhammadsaadshaheen7059 Ай бұрын
Video quality kasy teek ho sakti hai
@Aimanshah110
@Aimanshah110 2 күн бұрын
you are right. muje 2 hours ho gye aur abi 19 minutes pe hon. hehehe. even I am studing python from 1 years. his style is very good and very detailed.
@SanwalMasaud
@SanwalMasaud 4 ай бұрын
unstack is working in my machine
@Khanacade
@Khanacade 4 ай бұрын
unstack is working
@iamhiuh
@iamhiuh Жыл бұрын
1:32:36 keee kiya Punjabi 😄😂
@StarGazeUniverse
@StarGazeUniverse Жыл бұрын
**kashti.groupby('who').sum()** is not working. as it is showing me the error of "category type does not support sum operations"
@shahneelraza3030
@shahneelraza3030 Жыл бұрын
1:40 do not add parenthesis to it
@Reality11075
@Reality11075 Жыл бұрын
ki kia
@muhammadnouman3175
@muhammadnouman3175 Жыл бұрын
ADD KILL THE FOCUS🥵
@Codanics
@Codanics Жыл бұрын
and give you a chance to support our cause.
@muhammadnouman3175
@muhammadnouman3175 Жыл бұрын
@@Codanics OK
@iffatjabeen4205
@iffatjabeen4205 5 ай бұрын
Adding splits into columns is not working
@hashirahbar7323
@hashirahbar7323 Жыл бұрын
53:09 _misisng
@shahidaman9665
@shahidaman9665 Жыл бұрын
df.groupby('who').sum( ) is not working
Pandas tips and tricks | in Urdu/Hindi | Day-9
1:19:44
Codanics
Рет қаралды 9 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
Hands-On Power BI Tutorial 📊Beginner to Pro [Full Course] ⚡
3:05:45
Pragmatic Works
Рет қаралды 2,2 МЛН
Python Excel - Reading Excel files with Pandas read_excel
19:33
Very Academy
Рет қаралды 80 М.
Data Wrangling in Python | in Urdu/Hindi | Day-10
1:25:46
Codanics
Рет қаралды 10 М.
EDA A-Z in python | in Urdu/Hindi | Day-13
1:51:15
Codanics
Рет қаралды 9 М.
Real World Data Cleaning in Python Pandas (Step By Step)
40:01
Ryan & Matt Data Science
Рет қаралды 85 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН