dataenforce icon indicating copy to clipboard operation
dataenforce copied to clipboard

Shape information

Open jsasson11 opened this issue 4 years ago • 1 comments

Is it possible to add shape information?

e.g.

Dataset[(10, 3), ("a": int, "b": int, "c": int)]

Wil type a dataframe with 10 rows and 3 columns

jsasson11 avatar Nov 03 '21 22:11 jsasson11

What is the use case you have in mind?

My thoughts are that it's quite easy to make a assert df.shape == (X,Y) at the beginning of a function, so having a library doing it for you doesn't add so much convenience. But maybe I'm overseeing another use?

/C

CedricFR avatar Jan 03 '22 15:01 CedricFR