From 55b7656f7253128bbfe4ddaf645bbfc9eb56e4f3 Mon Sep 17 00:00:00 2001 From: Hugo Ledoux Date: Mon, 16 Sep 2024 15:06:13 +0200 Subject: [PATCH] Fix name function in docs the name changed and forgot that one fixes #26 --- docs/attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/attributes.md b/docs/attributes.md index f021ee9..cdb9087 100644 --- a/docs/attributes.md +++ b/docs/attributes.md @@ -65,7 +65,7 @@ for f64, max-values for i64 and u64, "" for String, 0 for bool. ```python dt = startinpy.DT() -dt.add_attribute_map(np.dtype([("classification", np.uint32)])) +dt.set_attributes_schema(np.dtype([("classification", np.uint64)])) dt.insert_one_pt([85000.0, 444003.2, 2.2], classification=6) ... dt.attributes[1:]['classification']