Created 08-16-2023 12:13 AM
Suppose I have below code:
```python
import pandas as pd
df = pd.read_csv(SOME_PATH)
df.to_csv(OUTPATH,index=False)
```
How do I configure OUTPATH to be HDFS?
Created 08-17-2023 12:51 AM
Hi @Ben1996, As this is very specific use case, I don't see any Cloudera doc which could cover this. The basic requirements would be to import the hdfs module and provide the HDFS configs.
Created 08-16-2023 10:21 PM
@Ben1996, Welcome to our community! To help you get the best possible answer, I have tagged in our HDFS experts @willx @ChethanYM @Chella who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Created 08-17-2023 12:51 AM
Hi @Ben1996, As this is very specific use case, I don't see any Cloudera doc which could cover this. The basic requirements would be to import the hdfs module and provide the HDFS configs.
Created 08-21-2023 02:52 AM
@Ben1996, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,