What do I need to know about the pandas index? (Part 1)

What do I need to know about the pandas index? (Part 1)

Data School

8 лет назад

133,593 Просмотров

Ссылки и html тэги не поддерживаются


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

Pankaj Kumar
Pankaj Kumar - 15.05.2023 20:59

super amazing teacher

Ответить
Vivek Subramanian
Vivek Subramanian - 12.03.2023 03:16

🔥

Ответить
Fábio Belotto
Fábio Belotto - 17.09.2022 08:53

Can I have a non unique values for index? What would happen?

Ответить
P T
P T - 06.05.2022 12:37

SMH you are such a google instructor! :D

Ответить
Nipun Shrivats
Nipun Shrivats - 24.01.2022 21:35

How do I learn all these methods man they are so many and really hard to remember

Ответить
Md Sal
Md Sal - 08.01.2022 22:10

Thanks a lot for the detailed explanation. I appreciate you hard work and sharing your knowledge

Ответить
Farooq Husain
Farooq Husain - 12.12.2021 17:27

You are a fantastic teacher.

Ответить
Daniele Baldoni
Daniele Baldoni - 20.09.2021 03:13

Thank you for the great work. How coukd do if i have an array (suppose the score of a pca with 3 components) and i would select just the index of the elememts who respect a certain condition?

Ответить
Martin
Martin - 12.08.2021 20:45

Thank you!

Ответить
Magnus Anand
Magnus Anand - 07.08.2021 00:01

Great video

Ответить
Vitor Druzian
Vitor Druzian - 25.05.2021 05:22

How you can found the index number of a row?

Ответить
Harshal Agrawal
Harshal Agrawal - 27.04.2021 17:39

Silly question: How do I get the neat separation black lines in my table of the df? I only get one line below the column headers.

Ответить
maria romero
maria romero - 27.04.2021 05:12

i love you

Ответить
Mahmud Hasan Munna
Mahmud Hasan Munna - 07.04.2021 17:23

your video help me a lot. thank you

Ответить
Mine VR
Mine VR - 20.03.2021 06:36

Amazing explanations. Thank you so much.

Ответить
قهوة البيزنس
قهوة البيزنس - 15.02.2021 00:33

Hello Dear,
Respect for the the elegance , respect for the simplicity
I am Egyptian arabic speaker with good english competence,I 've started to teach some pandas videos in arabic (learn data analysis from a beginner:),
You are my role model ,
wonder if dataset links here is open source? can i use them in my videos?
Regards

Ответить
Yasser Khan
Yasser Khan - 06.01.2021 07:07

wooow so glad I chose this video over others! So thorough and clear! Easy to follow! I was struggling and now my code is working. thank you.

Ответить
Leonardo Ferigutti
Leonardo Ferigutti - 17.11.2020 06:18

Excelent job!! It's amazing the quality of your job!! Thanks

Ответить
Saptarshi Sengupta
Saptarshi Sengupta - 07.11.2020 21:50

Perfect explanation! Even the documentation doesn't do such a good job!

Ответить
Fizza Khan
Fizza Khan - 13.10.2020 23:29

Sir kindly tell me [corrmat=dataset.corr()
top_corr_features=corrmat.index]
What does .index function works and how this code working

Ответить
Wael A
Wael A - 16.09.2020 10:18

thank you, I was stuck how to change the header of my dataset

Ответить
Karim Manseri
Karim Manseri - 12.09.2020 00:30

Hi,
Thanks for your videos,
Could you make a video how to sort values from two different data frames, then store them in new data frames.
For example
data frame 1 has 2 columns name of product and column 2 the country where is made
data frame 2 has two columns which are as well product and country, but in this second data frame we will include similar few similar products and country as first data frame.
could you write a script to iterate through dataframe 1 and 2 then find the identical product , then append it to data frame 3 along with country column.

Thank you

Ответить
Kanokporn Poomsirivilai
Kanokporn Poomsirivilai - 18.08.2020 18:13

thanks a lot. very thorough.

Ответить
Shredder Sengupta
Shredder Sengupta - 18.08.2020 13:46

epic

Ответить
Hardik Vegad
Hardik Vegad - 17.08.2020 12:30

Sir if we have hundreds of columns without the name. Then how can we name them using pandas and a for loop or lambda function because if we try to name them using names=[] it will be a very time-consuming process. The name of the columns can be col1, col2 , col3...etc.

Ответить
Red Cat
Red Cat - 03.08.2020 17:06

The tip is amazing.

Ответить
Adrita Anwar
Adrita Anwar - 03.08.2020 15:21

If I have a 3000×563 raw dataset without any column names and a list of 563 features. How can I name my columns using dataframe?

Ответить
Nitesh Maruthi
Nitesh Maruthi - 24.07.2020 21:11

Brilliant- This made the exact function of indexes very clear - I am binge watching these videos now!

Ответить
Vipin Madathil
Vipin Madathil - 14.07.2020 01:23

Can you post a video on creating dataframe from dictionaries nested at multiple levels

Ответить
Vikas Kulshreshtha
Vikas Kulshreshtha - 13.07.2020 17:18

Can you please tell me how to convert strings into numbers. Word to number system.

Ответить
Biranchi Narayan Nayak
Biranchi Narayan Nayak - 05.07.2020 13:32

Data School is the ultimate place to learn about Pandas.
Thanks for the excellent tutorials on Pandas.

Ответить
RM13
RM13 - 29.06.2020 14:24

How do you get values in the data frame when the index values are always changing? I.e every time I update my csv file the dates will be updated?

Ответить
Amitune melody
Amitune melody - 26.06.2020 20:37

sir how can i use the default index values(i.e.0,1,2,3,4......) as one my column values. For example: I have columns such as ID, Name,Faculty. And here i want, ID column to be filled with the values of default index values(i.e 0,1,2,3,4.....).Hope for the postive response.

Ответить
Avantika Singh
Avantika Singh - 09.06.2020 02:59

Thanks for being so effortless and keeping it to the base level .... it is more understandable!

Ответить
MS. Carolyn
MS. Carolyn - 05.05.2020 15:08

You are so articulate and never give me a headache like most of the others

Ответить
Anuganti Suresh
Anuganti Suresh - 04.05.2020 08:28

Am getting output like below:
drinks.index
RangeIndex(start=0, stop=193, step=1)
how to get like your output?

Ответить
Anuganti Suresh
Anuganti Suresh - 04.05.2020 08:24

Have a question, drinks.head( ) getting nice table format but am not getting.
How to get with table?

Ответить
Pankaj Bharti
Pankaj Bharti - 25.04.2020 16:39

You made my life easy. I am new to this language word and was struggling to understand the concepts. Your videos just saved me.

Ответить
Sarada G
Sarada G - 14.04.2020 12:41

Hlo... Sr. How to convert rows into colomns nd colomns into rows in dataset

Ответить
Minu Kumari
Minu Kumari - 06.04.2020 13:12

Hi I tried set_index as ' Name' it changed the rows as Name but whn I changed and again gave the same name as 'Name' to set_ index, m getting an error stating " none of [' Name'] are in the clm". Can u plz help me here

Ответить
Andorich77
Andorich77 - 04.04.2020 13:05

Let’s say you have column headers that contain dates and the actual data frame rows contains values specific to each date and you wish to plot each value for each date. Ultimately creating a line graph from all the values. X axis being the dates and y axis being the values. How would approach this. I’ve looked at variety of your videos but can’t seem to find a definite way of doing this.

Ответить
Sunil Arora
Sunil Arora - 26.03.2020 08:32

Dude, you have best communication skills among Data Science Coaches

Ответить
Bren
Bren - 13.02.2020 22:38

What happens when the column you set as the index has >1 instance of that value? Like what if there was more than one row for Country?

Ответить
Christopher Lyons
Christopher Lyons - 11.02.2020 21:03

Thanks for the vids. What if I want to use a column as an index (like country) but I also want it to be a column in the dataset so the values can be accessed using standard access techniques (i.e. df[column], df.column, getting subsets of the data with [:], data use with .loc & .iloc, etc.). Is there a way to tell pandas to use a column as an index AND leave it as a column? Or would you have to copy the column to a new name to keep the data acessible?

Ответить
Jainam Shah
Jainam Shah - 15.10.2019 10:30

"boolean arrays use the same shortcut as slices to select along the index axis"
can you please justify what the above statement means?

Ответить
HOME TO FARM
HOME TO FARM - 10.10.2019 12:54

how to change underline data after sorting a series

Ответить