- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 05:16 AM
Hi,
Can we use config file to change pyspark dataframe attribute names (root, nested of both struct and array type) .
Actually in input we are getting attributes in lowercase we need to convert them into camel case(please note we don't have any separators in attribute name to use or build camel functions or libraries.
We are trying to implement it in pyspark.
Please add your suggestions over here
Thank you
- Labels:
-
Dataframe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 09:53 AM
Hi @Sailaja B
Hope you are well.
Just wanted to see if you were able to find an answer to your question and would you be happy to share it with us? It would be really helpful for the other members too.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2022 05:04 AM
We have created config file in csv format and converted that into dict key value pairs to chanage the dataframe attribute names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2022 07:56 AM
Hi @Sailaja B
This is awesome!
Thanks for coming in and posting the solution. We really appreciate it.
Cheers!