Skip to content

Commit

Permalink
Revert tensor styling back
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakab committed Sep 9, 2024
1 parent 7ff9e21 commit 60cc936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/daft-schema/src/dtype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub enum DataType {
FixedShapeImage(ImageMode, u32, u32),

/// A logical type for tensors with variable shapes.
#[display("Tensor[{_0}]")]
#[display("Tensor({_0})")]
Tensor(Box<DataType>),

/// A logical type for tensors with the same shape.
Expand Down
2 changes: 1 addition & 1 deletion tests/series/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_tensor_repr():
== """╭───────────────────────╮
│ list_series │
│ --- │
│ Tensor[Int64]
│ Tensor(Int64)
╞═══════════════════════╡
│ <Tensor shape=(2, 2)> │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
Expand Down

0 comments on commit 60cc936

Please sign in to comment.