Reputation: 107
I am beginning to learn python. My background in programming languages is with MatLab and Mathematica; I'm a math person with zero knowledge in computer science.
However, my currently most difficult hurdle is trying to figure the "big picture" as to the interface of jupyter notebook.
I have an anaconda navigator installed which includes packages like Rstudio, jupyterlab and glueviz. I run either one of these packages via the anaconda navigator.
In attempting some tutorials, I am asked to run a csv file via import pandas as pd
.
Upon googling, panda appears to be a package.
1) I am unsure if it has already been installed. How do I check if it has been installed.
2) If it hasn't been installed, how do I install it? I have tried pasting the command line conda install -c conda-forge pandas
on the mac terminal but nothing happens.
Help would be appreciated. Feel free to explain as though I'm an idiot.
Upvotes: 0
Views: 108
Reputation: 286
import pandas as pd
data = pd.read_csv('yourData.csv')
print(data)
put your csv file where you made this jupyter ipython file to avoid confusion.
Upvotes: 1