Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pandas and numpy
#2
Do you know that you try to run from virtual environment?
envs\ is where Anaconda place virtual environment.
..Anaconda3\python.exe is the main python.exe that is linked to over 1000 module/packages installed.
C:\Users                         
λ cd..                           
                                 
C:\                              
λ cd Anaconda3\                  
                                 
C:\Anaconda3                     
λ python -V                      
Python 3.6.5 :: Anaconda, Inc.   
                                 
C:\Anaconda3                     
λ ls python.exe                  
python.exe*                      
So if i want run your code it will be from root Anaconda3.
Then of course numpy,pandas..ect is installed.
C:\Anaconda3
λ python movie.py
           Seven  1995
0  The Godfather  1972
1           Jaws  1975
Virtual environment as you try to run has no module/packages installed bye default.
Take a look at Anaconda and other ways to run Python.
Reply


Messages In This Thread
Pandas and numpy - by gehrenfeld - Dec-17-2018, 10:49 PM
RE: Pandas and numpy - by snippsat - Dec-17-2018, 11:34 PM
RE: Pandas and numpy - by gehrenfeld - Dec-17-2018, 11:47 PM
RE: Pandas and numpy - by snippsat - Dec-18-2018, 01:02 AM
RE: Pandas and numpy - by gehrenfeld - Dec-18-2018, 01:12 AM
RE: Pandas and numpy - by snippsat - Dec-18-2018, 02:18 AM
RE: Pandas and numpy - by gehrenfeld - Dec-18-2018, 01:24 PM
RE: Pandas and numpy - by ayaz786amd - Dec-26-2018, 07:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Numpy] How to store different data type in one numpy array? water 7 920 Mar-26-2024, 02:18 PM
Last Post: snippsat
  Pandas dataframes and numpy arrays bytecrunch 1 1,415 Oct-11-2022, 08:08 PM
Last Post: Larz60+
  Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'" kalle 2 2,799 Jul-19-2022, 06:31 AM
Last Post: paul18fr
  How to compare two json and write to third json differences with pandas and numpy onenessboy 0 4,849 Jul-24-2020, 01:56 PM
Last Post: onenessboy
  What is the mechanism of numpy function returning pandas object? Ibaraki 2 2,609 Apr-04-2020, 10:57 PM
Last Post: Ibaraki
  "erlarge" a numpy-matrix to numpy-array PhysChem 2 3,102 Apr-09-2019, 04:54 PM
Last Post: PhysChem
  Convert indexing For Loop from MATLAB (uses numpy and pandas) bentaz 3 4,273 Mar-20-2018, 08:29 PM
Last Post: bentaz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020