Sounds like you need to open the Python prompt first.
Try this:
$ python
>>> import pandas as pd
Where $
is the prompt in your bash shell, and the >>>
is the prompt in your Python prompt. Don’t type these in.
More Related Contents:
- Calculate average of every x rows in a table and create new table
- Conditionally fill column values based on another columns value in pandas
- No module named ‘pandas._libs.tslibs.timedeltas’ in PyInstaller
- append dataframe to excel with pandas
- what are all the dtypes that pandas recognizes?
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- Make python3 as my default python on Mac
- How can I see the formulas of an excel spreadsheet in pandas / python?
- How to remove or hide x-axis labels from a seaborn / matplotlib plot
- Unpack dictionary from Pandas Column
- Remove NaN ‘Cells’ without dropping the entire ROW (Pandas,Python3)
- python pandas read_csv delimiter in column data
- Showing all index values when using multiIndexing in Pandas
- Import module works in terminal but not in IDLE
- How to fix “no module named ‘app_one'”
- Reading a file using a relative path in a Python project
- Number rows within group in increasing order in a pandas dataframe
- How to change the plot order of the categorical x-axis
- UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x8b in position 1: invalid start byte, while reading csv file in pandas
- append dictionary to data frame
- Switch between python 2.7 and python 3.5 on Mac OS X
- Format a number with commas to separate thousands
- reading multiple files contained in a zip file with pandas
- How to compute jaccard similarity from a pandas dataframe
- Pandas rank by multiple columns
- How to convert string representation of dictionary in Pandas DataFrame to a new columns?
- Python Pandas – Lookup a variable column depending on another column’s value
- Why do I get a KeyError when using pandas apply?
- pandas scatter plotting datetime
- Pandas(Python) : Fill empty cells with with previous row value?