15. MapType Column in PySpark |

  Рет қаралды 24,727

WafaStudies

WafaStudies

Күн бұрын

Пікірлер: 22
@rk-ej9ep
@rk-ej9ep 2 ай бұрын
Nice content..Thanks for your efforts Maheer.
@ShekharBhide
@ShekharBhide Жыл бұрын
df1 = df.withColumn('hairs', col('properties.hair'))\ .withColumn('eyes', col('properties.eye')) df1.show(truncate=False) we can use thse as well Thanks Nice Explaination
@dugginenivenkatasubbaiah7547
@dugginenivenkatasubbaiah7547 2 жыл бұрын
Thanks for uploading videos regularly.
@WafaStudies
@WafaStudies 2 жыл бұрын
Welcome
@sachinvs1230
@sachinvs1230 2 жыл бұрын
I started my career in data engineering and your videos help me a lot.. Thank you sir.. keep going so that we can learn more from you..
@polakigowtam183
@polakigowtam183 2 жыл бұрын
Thanks Maheer . Good Vedio
@WafaStudies
@WafaStudies 2 жыл бұрын
Welcome
@caiyu538
@caiyu538 Жыл бұрын
Great lectures.
@meghasridhar4286
@meghasridhar4286 Жыл бұрын
Sir, Please explain how to use HELP function to know synatx about the function getItems() . Basically any thing nested
@timidjex9675
@timidjex9675 2 жыл бұрын
Sir aap videos mei git add krskte ho kya
@ratnakarm-tr9lg
@ratnakarm-tr9lg 5 ай бұрын
Hi Maheer, Can you please share the entire notes for Pyspark tutorial. You session are very helpful and detailed.
@anandmohanreddykarri2338
@anandmohanreddykarri2338 Жыл бұрын
In this example, both keys and values are of same datatypes So we directly specify MapType(StringType(),StringType()) If we have different datatype values in mapType columns then how can we specify the datatype for that particular value??
@RakeshKumar-dq3db
@RakeshKumar-dq3db Жыл бұрын
we will provide the data type of the Key and Value respectively. eg : {name:'xyz', age:21} MapType(StringType(), IntegerType() )
@vinodhvijay7180
@vinodhvijay7180 2 жыл бұрын
Hi brother Appreciate your videos to learn basics of various technologies Is it good career path to learn Pyspark with Azure data factory Please differentiate both any please brief any relation between PySpark and ADF also, Please give your words and release one video for Azure data factory jobs in 2023
@shankrukulkarni3234
@shankrukulkarni3234 Жыл бұрын
Hi Maheer,first I will say thanks for making this video, my question is what is the reason you have used MapType here, if you could expalin by taking example it would be clear for us..Thank you
@Basket-hb5jc
@Basket-hb5jc 8 ай бұрын
there are situations where the number of elements inside a structure may vary....u will come back here when u come across complex and nested datatypes
@nagulmeerashaik5336
@nagulmeerashaik5336 2 жыл бұрын
Thank you...
@WafaStudies
@WafaStudies 2 жыл бұрын
Welcome 🤗
@dolla_shrey
@dolla_shrey Жыл бұрын
i understood sir well xplained but what if our maptype col has mixed datatypes value like {name:xyz, age:21}
@RakeshKumar-dq3db
@RakeshKumar-dq3db Жыл бұрын
we can give the key and value data type in the map function respectively like this: MapType(StringType(), IntegerType) or MapType(keyType=StringType(), valueType= IntegerType() ) since the name is a sting data type and age is Integer data type
@dolla_shrey
@dolla_shrey Жыл бұрын
@@RakeshKumar-dq3db {'name':'xyz', 'age':24} -> now it has mixed dtypes, one pair is stringtype, stringtype and another pair is stringtype, integertype....now how to specify?
@vutv5742
@vutv5742 9 ай бұрын
Completed
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 16 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Scouting Frontiers in AI for Biology: Dynamics, Diffusion, and Design, with Amelie Schreiber
1:45:55
Cognitive Revolution "How AI Changes Everything"
Рет қаралды 1,7 М.
Olympic Data Analytics | Azure End-To-End Data Engineering Project
1:36:00
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Spark reduceByKey Or groupByKey
12:06
Data Engineering
Рет қаралды 16 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН