mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-09-06 10:54:17 +00:00
Version 0.1
Added sidebar, Dashboard, Line Graph
This commit is contained in:
17
.venv/Lib/site-packages/openpyxl/compat/product.py
Normal file
17
.venv/Lib/site-packages/openpyxl/compat/product.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2010-2022 openpyxl
|
||||
|
||||
"""
|
||||
math.prod equivalent for < Python 3.8
|
||||
"""
|
||||
|
||||
import functools
|
||||
import operator
|
||||
|
||||
def product(sequence):
|
||||
return functools.reduce(operator.mul, sequence)
|
||||
|
||||
|
||||
try:
|
||||
from math import prod
|
||||
except ImportError:
|
||||
prod = product
|
Reference in New Issue
Block a user