Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

run_notebook.py 439 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  1. from omegaconf import DictConfig
  2. import papermill as pm
  3. from omegaconf import DictConfig
  4. import hydra
  5. @hydra.main(
  6. config_path="../config",
  7. config_name="main",
  8. )
  9. def run_notebook(config: DictConfig):
  10. pm.execute_notebook(
  11. "notebook/analyze_data.ipynb",
  12. "notebook/analyze_data_out.ipynb",
  13. parameters=dict(columns=list(config.process.keep_columns)),
  14. )
  15. if __name__ == "__main__":
  16. run_notebook()
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...