Last active
January 6, 2020 17:05
-
-
Save nicholasjhenry/84d8bad089501d2d9b41a8009c6304e7 to your computer and use it in GitHub Desktop.
Quick example of Pandas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# main.py | |
# exec(open("./main.py").read(), globals()) | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
my_numpy_array = np.random.rand(3) | |
my_series = pd.Series(my_numpy_array) | |
my_series.plot() | |
plt.show() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm -w /app -v $(pwd):/app -e DISPLAY=10.0.1.15:0 amancevice/pandas bash -l | |
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment