mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 13:13:59 +00:00
Fix various typos (#7374)
* Fix typo: commnd -> command * Fix typo: ommissions -> omissions * Fix typo: survery -> survey * Fix typo: obersvation -> observation * Fix typo: obersvation -> observation * Fix typos: Normaliztion -> Normalization, add missing space * Fix typos: aicraft -> aircraft, exclud -> exclude * Fix typo: informations -> information * Fix typos: Miscellanous, excpet, accesories, similiar * Fix typo: ommissions -> omissions * Fix typo: aggreated -> aggregated * Fix typo: foward_pe -> forward_pe * Fix typo: contiunation -> continuation * Fix typo: deferrred -> deferred * Fix typo: daa -> date * Fix typo: Activites -> Activities * Fix typo: Activites -> Activities * Fix typo: Recieved -> Received * Fix typo: acquistion -> acquisition * Fix typos: developement -> development * Fix typo: obersvation -> observation * Fix typo: Governement -> Government * Fix typo: anaylsts -> analysts * Fix typo: signapore -> singapore * Fix typo: signapore -> singapore * Fix typo: decalaration -> declaration * Fix typo: Phramaceutical -> Pharmaceutical * Revert changes to ec_codes.json * Revert changes to ppi_codes.json * Fix exchange_date alias to use daa * fix linter error Signed-off-by: luojiyin <luojiyin@hotmail.com> --------- Signed-off-by: luojiyin <luojiyin@hotmail.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
This commit is contained in:
@@ -15,12 +15,12 @@ if TYPE_CHECKING:
|
||||
|
||||
|
||||
def absolute_maximum_scale(data: "Series") -> "Series":
|
||||
"""Absolute Maximum Scale Normaliztion Method."""
|
||||
"""Absolute Maximum Scale Normalization Method."""
|
||||
return data / data.abs().max()
|
||||
|
||||
|
||||
def min_max_scaling(data: "Series") -> "Series":
|
||||
"""Min/Max ScalingNormalization Method."""
|
||||
"""Min/Max Scaling Normalization Method."""
|
||||
return (data - data.min()) / (data.max() - data.min())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user