Goal : To get the data from two columns which have transitive relationship between them
A -> B
B -> C
then
A -> C
| Input | |
| Col1 | Col2 |
| a | b |
| b | c |
| s | u |
| u | p |
| 1 | 2 |
| 2 | 3 |
| Output | |
| Col1 | Col2 |
| a | c |
| s | p |
| 1 | 3 |
Like the below page to get update
My scrapbook about anything which I learned or want to remember, Sometime about tech tips, thoughts and rambling. If you find anything useful don't forget to give thumbs-up :)
| Input | |
| Col1 | Col2 |
| a | b |
| b | c |
| s | u |
| u | p |
| 1 | 2 |
| 2 | 3 |
| Output | |
| Col1 | Col2 |
| a | c |
| s | p |
| 1 | 3 |
About Atul Singh
I am a Data Consultant at a Canadian financial firm. My keen interests varies from Data Analytics, ML, Kubernetes, NLP to ETL.
I love to blog and travel in my spare time. If you’d like to get in touch, feel free to say hello through any of the social links.
No comments:
Post a Comment