title: add external modules and libraries into my own module in python
body: <p>I always have to import certain libraries and modules on day to day basis when i am working with data analysis using jupyter notebook. Recently, I started developing my own module where I can define the most common functions that I use daily so that I only call this module in jupyter and then I have access to all the functions. </p>
  
  <p>I was wondering if I could also declare libraries such as pandas, numpy etc. in a function in my module and then load this function as a pre-step in jupyter so that the data processing environment is setup and i don't have to declare the required libraries repeatedly when working in different notebooks. </p>
  
  <p>I tried using the following options but jupyter does not seem to recognize the "pd" variable (as an example) from my module:</p>
  
  <pre><code>import pandas as pd
  global pd = import pandas
  global import pandas as __pd__
  </code></pre>
  
  <p>Can anyone suggest how to tackle this issue? </p>
  
  <p>NOTE: pandas is just an example, I will to add more libraries and settings such as utf-8 encoding in my module.     </p>