728x90
๋ฐ˜์‘ํ˜•

DB๋‚˜ CSV ๋“ฑ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์–‘์ด ๋งŽ์€ ์ƒํƒœ์—์„œ Jupyter์— ์ถœ๋ ฅ์„ ํ•˜๊ฒŒ๋œ๋‹ค๋ฉด

 

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

 

์ด๋Ÿฌํ•œ ์˜ค๋ฅ˜๋ฅผ ๋ฐœ์ƒํ•  ๊ฒƒ์ด๋‹ค. ์ด ์˜ค๋ฅ˜๋ฅผ ํ•ด๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ์•„๋ž˜์ฒ˜๋Ÿผ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

 

1.  Jupyter ๋‚ด๋ถ€ ํ„ฐ๋ฏธ๋„ ์‚ฌ์šฉ

 โ˜ž Jupyter ๋‚ด๋ถ€์— ์žˆ๋Š” ํ„ฐ๋ฏธ๋„์„ ์‚ฌ์šฉํ•˜์—ฌ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•จ.

jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10

 โ˜ž Jupyter ์ƒˆ๋กœ ์ผœ์ง€๊ฒŒ ๋˜๊ณ  ์‹คํ–‰ ์‹œํ‚ค๋ฉด ์˜ค๋ฅ˜๊ฐ€ ํ•ด๊ฒฐ๋˜๋Š” ๊ฒƒ์„ ๋ณผ ์ˆ˜ ์žˆ์Œ.

 

2.  ํ™˜๊ฒฝ์„ค์ • ๋ณ€๊ฒฝ

โ˜ž ๋ฆฌ๋ˆ…์Šค, cmd, ํŒŒ์›Œ์…€ ๋“ฑ ๋ช…๋ น์–ด ์ ๋Š” ๊ณณ์—๋‹ค ์•„๋ž˜ ๋ช…๋ น์–ด ์‚ฌ์šฉ

jupyter notebook --generate-config

โ˜ž Jupyter ํ™˜๊ฒฝ์„ค์ • ํŒŒ์ผ์ด ์žˆ๋Š” ๊ฒฝ๋กœ๊ฐ€ ๋‚˜์˜ด

โ˜ž ๊ทธ ๊ฒฝ๋กœ์— ๊ฐ€์„œ ๋ฉ”๋ชจ์žฅ์ด๋‚˜ vi, vim ๋“ฑ ํŽธ์ง‘์—๋””ํ„ฐ๋ฅผ ์ด์šฉํ•ด " jupyter_notebook_config.py " ํŒŒ์ผ์„ ์—ผ

โ˜ž ํ™˜๊ฒฝ์„ค์ •์— ๊ด€ํ•œ ๋‚ด์šฉ๋“ค์ด ์žˆ๋Š”๋ฐ ์—ฌ๊ธฐ์„œ " c.NotebookApp.iopub_data_rate_limit  " ๋ฌธ์žฅ์„ ์ฐพ์Œ

โ˜ž #c.NotebookApp.iopub_data_rate_limit = 1000000 #(์ฃผ์„)๊ณผ 1000000์„ ์ง€์šฐ๊ณ  1000000 ์ž๋ฆฌ์— 1.0e10 ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ์ €์žฅํ•จ

 โ˜ž Jupyter ์ƒˆ๋กœ ํ‚ค๋ฉด ์˜ค๋ฅ˜๊ฐ€ ํ•ด๊ฒฐ๋˜๋Š” ๊ฒƒ์„ ๋ณผ ์ˆ˜ ์žˆ์Œ.

728x90
๋ฐ˜์‘ํ˜•

'๊ฐœ๋ฐœ ยท๊ณต๋ถ€ > ETC' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[JAVA] ์ฝ”๋“œ ์ทจ์†Œ์„  (Deprecated)  (0) 2022.05.03
[Jupyter Notebook] ๋‹จ์ถ•ํ‚ค ๋ชจ์Œ  (0) 2021.10.18

+ Recent posts