https://kedro.org/ logo
#questions
Title
# questions
e

Emilio Gagliardi

08/04/2023, 5:12 PM
Hi everyone, I have a basic question about how to save a dataset in a kedro notebook. I understand how to load a dataset, but I'm not clear how to save a dataset. I have a custom dataset. I'm not sure if I need to pass in the catalog properties/credentials manually or how to pass the data. The custom dataset connects to a mongo db so I need to pass in credentials. Thanks kindly,
d

datajoely

08/04/2023, 5:21 PM
catalog.save("catalog_name", data)
in jupyter you can also do
catalog.save?
and it will show the help
e

Emilio Gagliardi

08/04/2023, 5:30 PM
oh! ok thanks very much!!
K 1
d

datajoely

08/04/2023, 5:45 PM
also we’d love for you to contribute your mongo dataset back to
kedro-datasets
🚀
e

Emilio Gagliardi

08/04/2023, 9:42 PM
Oh man, I wish I was a good enough programmer at this point to contribute anything 😄. I can barely tie my shoelaces in python. I didn't do anything fancy, just imported the library and created a connection. I didn't create a context manager or do any object-oriented stuff.
c

Chris Schopp

08/07/2023, 1:47 PM
@Emilio Gagliardi I'm also new to Kedro but a few weeks ago I made my first open-source contribution by fixing a typo in the Kedro docs. If you notice anything amiss, you can always contribute that way, too! Happy pipelining!
👍🏽 1
e

Emilio Gagliardi

08/07/2023, 4:13 PM
Hehe, well I'll keep in mind. Perhaps after I've built a few kedro projects and have been through the trenches a bit more. 🙂
🚀 1