최대 1 분 소요

Startup files setting

  • Jupyter notebook 실행 시 미리 실행되는 코드

  • 설정 방법

    • Profile file 생성

      • $ ipython profile create
        
    • Startup file 수정

      • cd ~/.ipython/profile_default/startup
        
      • vi 00-first.py
        
  • # basic
    import time
    import random
      
    # data analytics
    import numpy as np
    import pandas as pd
      
    # web crawling
    import requests
    from bs4 import BeautifulSoup
      
    # visulazation
    import matplotlib as mpl
    import matplotlib.pyplot as plt
    import seaborn as sns
      
    sns.set()
      
    

댓글남기기