Skip to content

Instantly share code, notes, and snippets.

@Vsanku01
Last active May 30, 2020 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vsanku01/f6255a78f9642e7bec6fc3c62ba51d58 to your computer and use it in GitHub Desktop.
Save Vsanku01/f6255a78f9642e7bec6fc3c62ba51d58 to your computer and use it in GitHub Desktop.
x = np.linspace(0,50,501)
y = np.sin(x)
plt.plot(x,y)
# Define a dataframe using x and y values.
df = pd.DataFrame(data=y,index=x,columns=['Sine'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment