Git Product home page Git Product logo

Comments (6)

arunjose696 avatar arunjose696 commented on May 24, 2024

The issue is because you have named your file "/home/abushwang/pytorch/modin/modin/modin.py" modin.py, python thinks you are trying to import modin.pandas from this python file and it complains this is not a package(As this is just a python file). The problem should go away if you rename your file to something else other than modin.py

Also this command python -c "import modin.pandas as pd" errors because there is still modin.py in the python path as the current directory has higher precedence compared to installed modules

from modin.

wswsmao avatar wswsmao commented on May 24, 2024

The issue is because you have named your file "/home/abushwang/pytorch/modin/modin/modin.py" modin.py, python thinks you are trying to import modin.pandas from this python file and it complains this is not a package(As this is just a python file). The problem should go away if you rename your file to something else other than modin.py

Also this command python -c "import modin.pandas as pd" errors because there is still modin.py in the python path as the current directory has higher precedence compared to installed modules

@arunjose696 it works, thank you

Time to read with pandas: 4.154 seconds
Time to read with Modin: 3.247 seconds
Modin is 1.28x faster than pandas at `read_csv`

from modin.

wswsmao avatar wswsmao commented on May 24, 2024

Hi,@arunjose696 , I run Pandas_Taxi.ipynb in my env
https://github.com/modin-project/modin/blob/master/examples/jupyter/Pandas_Taxi.ipynb

and get this error

KeyError: "['pickup_longitude'] not index"

image

Do the test need to update?

from modin.

YarShev avatar YarShev commented on May 24, 2024

@wswsmao, let's track your question in #6982.

from modin.

wswsmao avatar wswsmao commented on May 24, 2024

@wswsmao, let's track your question in #6982.

ok, thanks

from modin.

YarShev avatar YarShev commented on May 24, 2024

@wswsmao, keeping you updated, the notebooks on master should work now.

from modin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.