Giter VIP home page Giter VIP logo

Comments (3)

flashblaze avatar flashblaze commented on June 26, 2024

Hi @dhruv-anand-aintech did you get a chance to look at it?

from vector-io.

dhruv-anand-aintech avatar dhruv-anand-aintech commented on June 26, 2024

try vdf==0.1.85 I have just uploaded it to pypi

from vector-io.

flashblaze avatar flashblaze commented on June 26, 2024

Thanks. I tested it, and I ran into this error

Loading data from parquet files:   0%|                                                        | 0/1 [00:00<?, ?it/s]Importing namespaces:   0%|                                                                  | 0/38 [00:00<?, ?it/s]Importing indexes:   0%|                                                                      | 0/1 [00:01<?, ?it/s]Error: None
Traceback (most recent call last):
  File "/home/neeraj/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3791, in get_loc
    return self._engine.get_loc(casted_key)
  File "index.pyx", line 152, in pandas._libs.index.IndexEngine.get_loc
  File "index.pyx", line 181, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 7080, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: None

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/neeraj/.local/lib/python3.10/site-packages/vdf_io/import_vdf_cli.py", line 53, in main
    run_import(span)
  File "/home/neeraj/.local/lib/python3.10/site-packages/vdf_io/import_vdf_cli.py", line 131, in run_import
    import_obj = slug_to_import_func[args["vector_database"]](args)
  File "/home/neeraj/.local/lib/python3.10/site-packages/vdf_io/import_vdf/pinecone_import.py", line 80, in import_vdb
    pinecone_import.upsert_data()
  File "/home/neeraj/.local/lib/python3.10/site-packages/vdf_io/import_vdf/pinecone_import.py", line 223, in upsert_data
    {
  File "/home/neeraj/.local/lib/python3.10/site-packages/vdf_io/import_vdf/pinecone_import.py", line 224, in <dictcomp>
    row[self.id_column]: row[vector_column_name].tolist()
  File "/home/neeraj/.local/lib/python3.10/site-packages/pandas/core/series.py", line 1040, in __getitem__
    return self._get_value(key)
  File "/home/neeraj/.local/lib/python3.10/site-packages/pandas/core/series.py", line 1156, in _get_value
    loc = self.index.get_loc(label)
  File "/home/neeraj/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc
    raise KeyError(key) from err
KeyError: None

from vector-io.

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.