Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jungledude23
/
talk-to-data
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4a19d8a
talk-to-data
/
src
/
constants.py
RohitMidha23
init
6abee0e
12 months ago
raw
Copy download link
history
blame
Safe
207 Bytes
from
enum
import
Enum
# create an enum with all aggregation types
class
Aggregation
(
Enum
):
NONE =
0
SUM =
1
AVERAGE =
2
COUNT =
3
id2aggregation = {x.value: x.name
for
x
in
Aggregation}