08. Databricks | Pyspark: Add, Rename and Drop Columns

  Рет қаралды 30,474

Raja's Data Engineering

Raja's Data Engineering

Күн бұрын

Пікірлер: 26
@sowjanyagvs7780
@sowjanyagvs7780 3 ай бұрын
What is Lit() : whenever we want to add a constant literal value to entire data frame, then we go with LIT(). we can also add these values only to certain records using when and otherwise. Eg: EMPDF = df.withcolname("Bonus",when(df.sal>50k, lit(sal*10)).otherwise(lit(sal*20))....Thanks for the amazing session Raj sir
@anthony281190
@anthony281190 2 жыл бұрын
Excelent, From Dominican REpublic
@rajasdataengineering7585
@rajasdataengineering7585 2 жыл бұрын
Thank you
@Jaipreksha
@Jaipreksha Жыл бұрын
Thank you Raja. Very nice video
@rajasdataengineering7585
@rajasdataengineering7585 Жыл бұрын
Thanks and welcome, Siva!
@gulsahtanay2341
@gulsahtanay2341 9 ай бұрын
Great content
@rajasdataengineering7585
@rajasdataengineering7585 9 ай бұрын
Thanks!
@kartikeshsaurkar4353
@kartikeshsaurkar4353 2 жыл бұрын
Thank you Raja. Keep it up. Please zoom a little bit or increase the font size in lab sessions to reduce the eye strain
@rajasdataengineering7585
@rajasdataengineering7585 2 жыл бұрын
Sure, I will increase the font size
@bonasiuday
@bonasiuday 2 жыл бұрын
Very nice explanation 👏
@sravankumar1767
@sravankumar1767 3 жыл бұрын
superb bro.........
@tusharagarwal3553
@tusharagarwal3553 14 күн бұрын
Where can we get these notebook..please share link for all the notebook.. so that we can revise
@HPan-y2v
@HPan-y2v 11 ай бұрын
Two things to add over here : 1. If we have a column name that doesn't exist in the spark dataframe, then drop will just ignore it and not throw any error: df.drop("XYZ"). printSchema() won't throw any error in spark 3.0 2. If you want to drop multiple columns , columns should be passed ONLY as strings : df.drop('firstname', 'lastname'). printSchema() If we will pass them as column then there would be an error. The below code would run into an error: df.drop(col('firstname'), col('lastname')). printSchema()
@supriyakoura7755
@supriyakoura7755 4 ай бұрын
not for me emp_DF.drop(col('gender'),col('salary')).show()
@Ravishekar-qd4fc
@Ravishekar-qd4fc 6 ай бұрын
I have to modify the column values of existing record like location is India that alter to AUS. How to handle
@unbeatableinsaan4926
@unbeatableinsaan4926 2 жыл бұрын
Please make whole basics playlist by topic wise
@rajasdataengineering7585
@rajasdataengineering7585 2 жыл бұрын
Sure, will do
@lakshminarayana3168
@lakshminarayana3168 Жыл бұрын
hi Raja can you share the list of content uploaded to this playlist
@mohammadumair7521
@mohammadumair7521 Жыл бұрын
will you upload all the notebook in you google drive and provide us the link of the notebook it will be the greater help of all I guess.
@agamgupta-ed9ye
@agamgupta-ed9ye Жыл бұрын
Hi Raja, can you kindly share data sets with us so that we can practice also
@srinivasarao416
@srinivasarao416 2 жыл бұрын
Hi Sir, I am kindly requesting could you please share notebooks
@pavanrocks9960
@pavanrocks9960 Жыл бұрын
Hi raja can you kindly share data sets and codes for better practice
@GurudasKundukar
@GurudasKundukar 2 жыл бұрын
how to add identity coumn
@rajasdataengineering7585
@rajasdataengineering7585 2 жыл бұрын
Hi Guru, will post a video soon on identify column
@patnaik476
@patnaik476 Жыл бұрын
Very nice playlist. I have only one suggestion. Please don't use the ear deafening music in the start. Its very very loud and annoys everyone around.
@rajasdataengineering7585
@rajasdataengineering7585 Жыл бұрын
Agreed. I have already changed this music in later videos. Thanks for your suggestion
09. Databricks  | PySpark Join Types
14:28
Raja's Data Engineering
Рет қаралды 38 М.
07. Databricks | Pyspark:  Filter Condition
14:28
Raja's Data Engineering
Рет қаралды 37 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 64 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 16 МЛН
65. Databricks | Pyspark | Delta Lake: Vacuum Command
15:32
Raja's Data Engineering
Рет қаралды 18 М.
11. Databricks | Pyspark: Explode Function
15:24
Raja's Data Engineering
Рет қаралды 32 М.
10. Databricks | Pyspark:  Utility Commands - DBUtils
28:43
Raja's Data Engineering
Рет қаралды 30 М.
75. Databricks | Pyspark | Performance Optimization - Bucketing
22:03
Raja's Data Engineering
Рет қаралды 20 М.
Autoloader in databricks
25:48
CloudFitness
Рет қаралды 19 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 64 МЛН