Python Map Function
13:40
2 жыл бұрын
Пікірлер
@MuseoContemporaneo
@MuseoContemporaneo 2 күн бұрын
Awesome! Great explanation! btw, how did you replace both 'Female' strings at the same time? I had never seen it before.
@datagy
@datagy Күн бұрын
Thanks! I’m VSCode you can use ctrl and d to select multiple occurrences of the same word :)
@D.S69
@D.S69 9 күн бұрын
thanks
@ziedouelhazi3581
@ziedouelhazi3581 Ай бұрын
Great video and well explained. What is the IDE you are using on Mac?
@datagy
@datagy 29 күн бұрын
Thanks! Is VS Code :)
@ziedouelhazi3581
@ziedouelhazi3581 28 күн бұрын
@ thank you very much
@levon9
@levon9 Ай бұрын
Really helpful, I find the indexing operations in Pandas very confusing - this helps. I was confused by your use of Boolean operators near minute 13 when you used & and | .. Python uses 'and' 'or'. I've seen && and || used in Java - so are these Boolean operators part of Pandas? It doesn't seem to be Python (or did Python add these operators in the last few years?) I'll be checking out your other videos based on how clear this one was - thanks again.
@airdogaron
@airdogaron 2 ай бұрын
That last little bit about needing to change the main function got me messed up for a bit till the end of the video lol. Can you edit the video to add a timestamp for where it gets fixed? Maybe in the description or something? Because if you use a place other than Toronto earlier in the video a whole bunch of stuff happens before it actually gets fixed in the video gets fixed
@MrBabcast
@MrBabcast 2 ай бұрын
The content is great, the vocal fry on the other hand, just keep me distracted...
@minhtu5059
@minhtu5059 2 ай бұрын
Thank you so much for the tutorial!
@Alias.Nicht.Verfügbar
@Alias.Nicht.Verfügbar 3 ай бұрын
thanks a lot!
@amirahmadi3025
@amirahmadi3025 5 ай бұрын
very useful. tnx
@ganderamu5138
@ganderamu5138 5 ай бұрын
Im getting additional information in while finding unique values for a column in dataset how to fix this
@TheDinnyextra
@TheDinnyextra 5 ай бұрын
I am new to matplotlib and this video helped a lot with my very first project. Thank you datagy for making programming less scary! :) One question though, how can I rotate the text on the x axis?
@studyacc1234
@studyacc1234 5 ай бұрын
you absolutely slayed with this tutorial!
@datagy
@datagy 5 ай бұрын
Thanks so much!!
@festusmuldoon
@festusmuldoon 6 ай бұрын
my dict is the defaultdict
@AmineGM73
@AmineGM73 6 ай бұрын
Ver nice tutorial i have been looking for that!!!
@justinli7052
@justinli7052 6 ай бұрын
very helpful, thank you
@BEE_MILINDGUPTA
@BEE_MILINDGUPTA 6 ай бұрын
If you getting error while executing the line df.corr() it is probably due to the new version of python in this we need to give only numeric value so instead execute the below line df.corr(numeric_only=True)
@rupammitra5010
@rupammitra5010 6 ай бұрын
Thank you ......😊😊😊 you are Godsent
@ezraonyinkwa9826
@ezraonyinkwa9826 6 ай бұрын
how do you do it
@valerioharvey7289
@valerioharvey7289 3 ай бұрын
thanks. But why tf do they make things harder instead of easier
@valerioharvey7289
@valerioharvey7289 3 ай бұрын
@@ezraonyinkwa9826 read
@Randomstuff-uw8uc
@Randomstuff-uw8uc 6 ай бұрын
i still didn't understand bins like what are bins??
@datagy
@datagy 6 ай бұрын
Each bin is a range of values, say 0-5 or 6-10. If you have a value of 1, it’ll fall into that first bin and get counted once. The histogram then shows how many records fall into each range of values (the bins).
@HaHung-lw1rx
@HaHung-lw1rx 7 ай бұрын
how to fix it in app.py? Please give me instrustion File "d:\Python\WeatherApp_Flask\app.py", line 6, in <module> @app.route('/', methods) ^^^^^^^ NameError: name 'methods' is not defined
@19AKS58
@19AKS58 8 ай бұрын
There are SO many, quite frankly TOO many instructional videos, and they are tedious, too long, and unclear, but YOURS is EXACTLY on point
@datagy
@datagy 8 ай бұрын
Thank you so much! I really appreciate it.
@SamaAdhikari-z6z
@SamaAdhikari-z6z 8 ай бұрын
How do i make a map of a different country?
@9Soraa
@9Soraa 8 ай бұрын
wow am subscribe right now
@hashemrashidi1277
@hashemrashidi1277 8 ай бұрын
Guys he is the best and simplest , best one seriously , just trust and watch till the end .
@Planetknowledge555
@Planetknowledge555 8 ай бұрын
Excellent
@Irfansurvivor7
@Irfansurvivor7 9 ай бұрын
you're the best!!! thank you
@WildRover1964
@WildRover1964 9 ай бұрын
Hey you're good! Learnt a few good things here
@datagy
@datagy 9 ай бұрын
Thanks so much!
@WildRover1964
@WildRover1964 9 ай бұрын
@@datagy glad you're still reading. I just discovered you. You dont seem to have posted anything for a year.
@datagy
@datagy 9 ай бұрын
@WildRover1964 I hope to do a few videos soon! And hopefully get back into a rhythm with it!
@SACHCHIDANAND-fi3vv
@SACHCHIDANAND-fi3vv 9 ай бұрын
thanks for the tut, it is so useful and finally I made my first project
@karolyna6028
@karolyna6028 9 ай бұрын
nice!
@automatewithamit
@automatewithamit 9 ай бұрын
Thanks for your Video ! Can you please let me know if we can put those collapse and expand functionality in actually generated pivot table in excel using python ??
@laminesahraoui9548
@laminesahraoui9548 10 ай бұрын
thanks
@aalb1970
@aalb1970 10 ай бұрын
Challenge solution: df.iloc[df.ShareWomen.argmax(), 0:8] Returns all column values for the highest share of women
@aalb1970
@aalb1970 10 ай бұрын
Or write a simple function: a = df.iloc[df.ShareWomen.argmax(),3] b = df.iloc[df.ShareWomen.argmax(),7] print(f" Category: {a} , Women share: {b}")
@aalb1970
@aalb1970 10 ай бұрын
len(df) doesn't work. TypeError: 'DataFrame' object is not callable
@aalb1970
@aalb1970 10 ай бұрын
Nevermind. It worked when I quit Jupyter notebook and reloaded the notebook.
@aalb1970
@aalb1970 10 ай бұрын
Can you define normalize separately for rows and columns, say I want numbers in the columns total and percentages in the row totals?
@victormadoya1354
@victormadoya1354 11 ай бұрын
HI, what if you want to create a similar function with takes 2 values? such that the 2 values will be 2 columns rather than using one column. The def function to take 2 columns instead of one, then use apply function
@ojasvi828
@ojasvi828 11 ай бұрын
how to label select points using data?
@chriskeo392
@chriskeo392 11 ай бұрын
This styling passes into csv and excel files?
@datagy
@datagy 11 ай бұрын
Unfortunately not! For that, you can use other libraries like openpyxl :)
@mbaykal26
@mbaykal26 Жыл бұрын
Great content, thank you for this contribution!
@farhanashaheen1380
@farhanashaheen1380 Жыл бұрын
Thank you so much!
@munivoltarc
@munivoltarc Жыл бұрын
hi, great work, explaining subject so easily to all, wondaful work, keep it up, could you explain OHLCV data, apply, map functions, user defined functions to to find the trend on the High, Low columns, to get buy signals and sell signals by not using any price lagging indicators.
@munivoltarc
@munivoltarc Жыл бұрын
Hi, you are doing awesomely work, explaining subject so easily to all, wondaful work, keep it up, could you explain OHLCV data, apply, map functions, user defined functions to to find the trend on the High, Low columns, to get buy signals and sell signals by not using any price lagging indicators.
@darrena3080
@darrena3080 Жыл бұрын
This is exactly what ive been struggling with for these past couple of weeks.Im teaching myself data analytics and this video is making things so much better
@datagy
@datagy Жыл бұрын
Thanks so much!!
@srabbee
@srabbee Жыл бұрын
7:18 ... The population growth rate math has a mistake. It should be (pop 21 - pop 20)) / pop 20. Currently it devides by pop 21.
@acesovernines
@acesovernines Жыл бұрын
Succinct and super effective. Thank you so much
@datagy
@datagy Жыл бұрын
Thanks so much!
@gayanath009
@gayanath009 Жыл бұрын
Amazing Stuff , was looking for the same since some days and you are a true star, Thank you so much
@datagy
@datagy Жыл бұрын
Thanks so much!!
@joaopedrogreif1033
@joaopedrogreif1033 Жыл бұрын
Can we set clean transitions on this jinja data returns??
@sudhabaskaran5954
@sudhabaskaran5954 Жыл бұрын
This is awesome, very detailed explanation. How can we bring the city lines inside the map?
@MachineLearningPro
@MachineLearningPro Жыл бұрын
Great video! Take a look at my Pandas tutorial if you want.
@elhabibbirouk9722
@elhabibbirouk9722 Жыл бұрын
I think you should divide by population of 2020 to measure the variation. Still very instructive
@CAROLUK
@CAROLUK Жыл бұрын
Thank you for making this video. I finally understand how to do groupby. I have a question related to “agg”. Why did you apply numpy with aggregation functions?
@datagy
@datagy Жыл бұрын
Great question! That was just to show that you can use different functions inside of agg. You can even use custom ones!
@Zenoandturtle
@Zenoandturtle Жыл бұрын
Great presntation. I am building a trading bot using algorythm that deals with conditional columns (candlestick lengths of previous columbs) This is the video I was looking for. Thanks for the vid. Very clear and informative. Exactly what I was looking for.
@paddymullen762
@paddymullen762 Жыл бұрын
It's nice to know the basics, but as an experienced user I got tired of typing the same things over and over... So I built the open source buckaroo data table so you never have to look up pd.set_option again. Take a look, it has sortable columns, summary stats, histograms, and a performant table built in. It works in Jupyter with pandas and polars. Try it with "pip install buckaroo" then import buckaroo #buckaroo becomes the default display method for dataframes in Jupyter