I'm trying to ingest data from local to hdfs ( hdfs and jupyter notebook are deployed into kubernetes)
:

I tired this command in jupyter but it doesn't work:
data.to_csv("hdfs:hdfs-namenode-0.hdfs-namenode.default.svc.cluster.data/NameOfFile")
i don't have an idea if i have to access into hdfs from jupyter notebook or not, i'm open to listen to your suggestion guys and thank you
