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
@dugginenivenkatasubbaiah75472 жыл бұрын
Thanks for uploading videos regularly.
@WafaStudies2 жыл бұрын
Welcome
@sachinvs12302 жыл бұрын
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..
@polakigowtam1832 жыл бұрын
Thanks Maheer . Good Vedio
@WafaStudies2 жыл бұрын
Welcome
@caiyu538 Жыл бұрын
Great lectures.
@meghasridhar4286 Жыл бұрын
Sir, Please explain how to use HELP function to know synatx about the function getItems() . Basically any thing nested
@timidjex96752 жыл бұрын
Sir aap videos mei git add krskte ho kya
@ratnakarm-tr9lg5 ай бұрын
Hi Maheer, Can you please share the entire notes for Pyspark tutorial. You session are very helpful and detailed.
@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 Жыл бұрын
we will provide the data type of the Key and Value respectively. eg : {name:'xyz', age:21} MapType(StringType(), IntegerType() )
@vinodhvijay71802 жыл бұрын
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 Жыл бұрын
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-hb5jc8 ай бұрын
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
@nagulmeerashaik53362 жыл бұрын
Thank you...
@WafaStudies2 жыл бұрын
Welcome 🤗
@dolla_shrey Жыл бұрын
i understood sir well xplained but what if our maptype col has mixed datatypes value like {name:xyz, age:21}
@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 Жыл бұрын
@@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?