Commit 809870fe authored by Parish, Chad's avatar Parish, Chad
Browse files

Replace vendor_handler.ipynb

parent 516db68b
......@@ -15,19 +15,33 @@
import matplotlib.pyplot as plt
import pandas as pd
import os
os.chdir('./vendor')
# this is not a standard Anoconda Python package, but it's very useful.
try:
from matplotlib_scalebar.scalebar import ScaleBar
scalebar_imported = True
except:
print('Please install matplotlib-scalebar')
scalebar_imported = False
```
%% Cell type:code id: tags:
``` python
import matplotlib
if matplotlib.__version__.split('.')[0] < '3':
raise ImportError('Requires matplotlib 3.0.0 or higher')
```
%%%% Output: execute_result
True
%% Cell type:markdown id: tags:
### In this case, the vendor also exports the data as an Excel file
The Python `pandas` library allows easy import of Excel. The variable `df` is a Pandas dataframe.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment