question

sb007 avatar image
0 Votes"
sb007 asked HimanshuSinha-MSFT commented

regex in Azure databrick notebook

Hello Everyone,
In Databricks using Python can you please let me know how to read a file and grep on a pattern and write the result to another file. Please assist if there is any sample code.

I appreciate your time and help.

azure-databricks
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @sb007,
Thanks for the ask and using the Microsoft Q&A platform .

Can you eloborate the ask ? Can you share what kind of file is this csv,avro etc ? And also what kind of pattern . If you can share test data that will be great .

Thanks
Himanshu

0 Votes 0 ·

Hello @sb007 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·

Hello @sb007 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·

0 Answers