How do I select a pandas Series from a DataFrame?

How do I select a pandas Series from a DataFrame?

Data School

8 лет назад

157,981 Просмотров

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


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

@ajaybhandari9596
@ajaybhandari9596 - 05.11.2023 10:58

You are truly an amazing teacher; thank you for explaining things in such a simple manner.

Ответить
@danks1866
@danks1866 - 17.08.2023 14:32

u look like panda

Ответить
@yashagrawal1256
@yashagrawal1256 - 20.07.2023 07:38

the links for data are notloading what to do

Ответить
@075_manannainiwal6
@075_manannainiwal6 - 30.05.2023 12:24

hey Kevin! I wanted to ask how do I add two data series together if they are of different data type like one is a str and other is int . Great series btw thanks a lot!

Ответить
@leopoldoszoombazoom5930
@leopoldoszoombazoom5930 - 18.04.2023 20:42

Very Well done!

Ответить
@user-oq9qn4om8v
@user-oq9qn4om8v - 26.03.2023 13:16

I discovered your channel, scrolling randomly to find solutions to my python problems and i'm so thankful that i found you. You teach everything in the easiest possible way. I'm new to python and datascience but it's gonna be a great journey, Thanks to u!!!!!!

Ответить
@Hasna1919
@Hasna1919 - 28.02.2023 15:21

Why am I getting this error 'AttributeError: 'dict' object has no attribute '_get_axis_number' when I try to do 'ufo.City' and ufo['City'] ? 😢

Ответить
@karnikamane8436
@karnikamane8436 - 29.12.2022 10:06

Awesome

Ответить
@azizullah5603
@azizullah5603 - 28.11.2022 20:17

how to put a comma in between city and state in this form
df['Location'] = df['City'] + df['State']

Ответить
@SagarSingh-ie8tx
@SagarSingh-ie8tx - 19.10.2022 23:47

Very nice

Ответить
@MrMukulpandey
@MrMukulpandey - 24.09.2022 07:07

great session

Ответить
@FabioRBelotto
@FabioRBelotto - 13.08.2022 20:01

Is there any advantages of read table vs read csv?

Ответить
@JunaidAli-js6oe
@JunaidAli-js6oe - 15.06.2022 10:17

The way you talk is Awesome

Ответить
@Kristina_Tsoy
@Kristina_Tsoy - 02.04.2022 17:52

You are very good at explaining things! Thank you🙏

Ответить
@MonkeyDLuffy-yt9zi
@MonkeyDLuffy-yt9zi - 08.11.2021 08:42

Thank you so much , this is one of best Pandas tutorials

Ответить
@akki6071
@akki6071 - 02.11.2021 21:05

Nice I got one issue in sheet 1 I have multiple data in column one cell like (1,2,3,4) many cells I have to compare them with another column in sheet 2 but sheet 2 I have only single digit number in column cell like (1) if sheet 1 matches with sheet 2 then should replace with new values which is also present in sheet 2

Ответить
@datascileakos1936
@datascileakos1936 - 11.09.2021 08:48

Really great teaching, thank you sir.

Ответить
@jongcheulkim7284
@jongcheulkim7284 - 06.08.2021 06:29

Thank you so much. This is very helpful.

Ответить
@339059331
@339059331 - 04.07.2021 05:57

Damn,Kevin, you are so good at teaching !

Ответить
@shreyashagrawal2264
@shreyashagrawal2264 - 19.05.2021 08:08

What if I have to go from Location to City and State. I am given Ithaca, NY and I have to separate them and make them into two columns - one containing Ithaca and other containing NY

Ответить
@jessicabrock3220
@jessicabrock3220 - 22.02.2021 05:06

Location was added to the end. How do we specify a different location, e.g. after City.

Ответить
@unnatiagrawal8936
@unnatiagrawal8936 - 27.01.2021 11:20

I run this statement to see if a new column location can be created which will contain two subcolumns city and state but it is just assigning a value of the city to the new column.
ufo["location"]=ufo[["City",'State']]

Ответить
@Kevin-bz4nt
@Kevin-bz4nt - 24.11.2020 15:08

love that you can practise the same stuff you are writing and getting same results. I understand Pandas a whole lot better now

Ответить
@KevinTempelx
@KevinTempelx - 23.11.2020 09:12

Thanks!

Ответить
@dhoonygo
@dhoonygo - 12.10.2020 17:36

Sir I have a question : when I type 'ufo.' and tab, there are bunch of other parameter including column names. Is this normal?

Ответить
@chomantsang3906
@chomantsang3906 - 05.10.2020 23:53

I love the bonus tricks. On this particular trick, instead of doing the concatenation, how can I do calculation with my tabular data and display the result at the last column?

Ответить
@michaelfeng5898
@michaelfeng5898 - 02.10.2020 06:32

Hi, when I print out the data for cities, it only displayed the first and last 5 cities. Is there a way to show more than just that? Thanks

Ответить
@RohitShukla-mm3gz
@RohitShukla-mm3gz - 01.10.2020 21:09

You are really really a good teacher. I learnt many things from u. You are the best best teacher of the word because your each word is crystal clear. Please make a video series for deep learning also.
Thanks a lot.

Ответить
@chornelisanin4203
@chornelisanin4203 - 28.09.2020 20:48

Thanks You, Sir. How we add new column, but it is the first column? Thanks

Ответить
@jayashreen8110
@jayashreen8110 - 20.09.2020 12:31

All your videos are great and could you plz update more videos on scipy stats and how to use all the business statistics tools in python.

Ответить
@joro8604
@joro8604 - 09.09.2020 13:10

Great job clearly describing commonly overlooked syntax. Learned alot.

Ответить
@iloveyou143639
@iloveyou143639 - 07.09.2020 21:53

Nice

Ответить
@venkateshwaranp9517
@venkateshwaranp9517 - 30.08.2020 06:20

Fine why we use .str to change column name

Ответить
@goldensleeves
@goldensleeves - 19.08.2020 08:11

Sounds to me like it might be just better practice overall to use bracket notation rather than dot notation. It will just work more often.

Ответить
@senthilkumarkumar9587
@senthilkumarkumar9587 - 08.08.2020 21:22

How do I select a series from dataframe if I had a header with integer

Ответить
@balasubramani2126
@balasubramani2126 - 01.08.2020 17:15

what is the use of verbose in read_csv?

Ответить
@nipunshrivats5162
@nipunshrivats5162 - 25.07.2020 09:40

how do I import pandas in IDE, I installed the pandas file but when I write the codes there is no result

Ответить
@jaypanchal1172
@jaypanchal1172 - 22.07.2020 13:27

No bonus 😭

Ответить
@thesmilingpaws3372
@thesmilingpaws3372 - 05.07.2020 17:34

I never met a person with such a clear voice like you and also the speed you speak makes it easy for someone to understand you even if English isn't their first language. Thank you

Ответить
@mlongmlongmlong
@mlongmlongmlong - 02.07.2020 08:17

Really like the way you explain things. Loved your every video!
Would you please do some tutorial on excel worksheets styling in Python? for example multi level header with merged cells in one level/conditional coloring/bold rows by column value... Thanks.

Ответить
@haintuvn
@haintuvn - 17.06.2020 12:00

Can we add a series with telephone code of the cities to the data above above ufo data frame? Thanks!

Ответить
@hamidrezazarei8205
@hamidrezazarei8205 - 27.05.2020 06:58

You are awsome, thank you

Ответить
@nishantdwivedi8659
@nishantdwivedi8659 - 09.05.2020 18:54

whats the diff between ufo.head and ufo.head() ?

Ответить
@anshu8209
@anshu8209 - 01.05.2020 15:42

helloo

Ответить
@namelastname8569
@namelastname8569 - 22.04.2020 18:38

your series/pacing is perfect. haven't been this stoked to learn data sci

Ответить
@bhavitavyashrivastava8600
@bhavitavyashrivastava8600 - 22.04.2020 03:40

why i dont get output like this i.e. in properly formatted output with vertical and horizontal lines and data in the boxes formed

Ответить
@tsewanggyaltson3672
@tsewanggyaltson3672 - 18.04.2020 17:45

i was trying to add more column on same data frame , but somehow got struct creating new series on same frame .

Ответить
@geetanjaliusb2823
@geetanjaliusb2823 - 12.04.2020 15:32

when we add new column to dataframe ,does it always get added as last column?
or can we put it in between somewhere?

Ответить
@erfannazari6110
@erfannazari6110 - 21.03.2020 14:37

Great!

Ответить