Comments (4)
Change "A recent version of numpy changed some equality semantics, where == is now being broadcast in more cases, breaking DocArray's from_dataframe() feature if the dataframe contains a numpy array. This is now fixed."
To: "A recent update to numpy
has changed some of the version semantics, breaking DocArray's from_dataframe()
method in some cases where if the dataframe contains a numpy array. This has now been now fixed."
"
from docarray.
"Type handling in python 3.9" has no bug ticket?
from docarray.
Change "Starting from Python 3.9, Optional.__args__
is not always available, leading to breaking code paths in our code base. This fixes that by utilizing the typing.get_args
helper."
To: "Starting with Python 3.9, Optional.__args__
is not always available, leading to come compatibility problems. This has been fixed by using the typing.get_args
helper."
from docarray.
Release Note
This release contains 1 bug fix.
:ladybug: Bug Fixes
From_dataframe with numpy==1.26.1 (#1823)
A recent update to numpy has changed some of the versioning semantics, breaking DocArray's from_dataframe()
method in some cases where the dataframe contains a numpy array. This has now been now fixed.
class MyDoc(BaseDoc):
embedding: NdArray
text: str
da = DocVec[MyDoc](
[
MyDoc(
embedding=[1, 2, 3, 4],
text='hello',
),
MyDoc(
embedding=[5, 6, 7, 8],
text='world',
),
],
tensor_type=NdArray,
)
df_da = da.to_dataframe()
# This broke before and is now fixed
da2 = DocVec[MyDoc].from_dataframe(df_da, tensor_type=NdArray)
Type handling in python 3.9 (#1823)
Starting with Python 3.9, Optional.__args__
is not always available, leading to some compatibility problems. This has been fixed by using the typing.get_args
helper.
:i_love_you_hand_sign: Contributors
We would like to thank all contributors to this release:
- Johannes Messner (@JohannesMessner )
from docarray.
Related Issues (20)
- [pydantic v2] Push and pulling tests not passing with pydantic v2
- [pydantic v2] documentation test need to be trigger for pydantic v2
- Release Notes HOT 2
- Tensor not found in Tensorflow module HOT 4
- bug: deserializing from dataframe with numpy==1.26.1 HOT 15
- index.find() tries to reshape and fails HOT 10
- Integrate new Vector search library from Spotify HOT 3
- DocList raises exception for type object. HOT 3
- Error on subindice Embedding type for Torch Tensor moving from GPU to CPU. HOT 3
- TorchTensor deepcopy raises error when dtype is not float32 HOT 8
- Support Epsilla as a document store HOT 3
- Error type hints in Python3.12 (#1147) HOT 2
- Release Note
- [Docs Missing] docs.docarray.org -> There isn't a GitHub Pages site here. HOT 1
- Enhancement to the weaviate datatypes support (text[], object, object[]) with WeaviateDocumentIndex HOT 6
- HnswDocumentIndex treats document IDs as string, they can be str, int, ID HOT 4
- Class-typed fields are required when inserting a new document HOT 3
- HNSWLib Indexer cannot knn query in subindex HOT 8
- Loading audio tensors fails: ValueError: all input arrays must have the same shape HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docarray.