alteryx / alteryx/featuretools

Currency Normalization Primitive

オープン
#1,849 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
new feature
主要言語
Python
スター
7.7k
フォーク
915
PR マージ指標
30日以内にマージされた PR はありません

説明

As a user, I wish I could use Featuretools to normalize currency both spatially and temporally. It is common to convert currency to USD when comparing values from different currencies. It is also common to account for inflation when comparing currency values across time.

## Inflation

To account for inflation, there is already a [python library](https://github.com/palewire/cpi) that does this using the Consumer Price Index.

## Exhange Rates

There is also a [python library](https://github.com/MicroPyramid/forex-python) that contains historical foreign exchange info from 1999 onward.

#### Code Example

I'm unsure at this point, what the code would look like, but imagine if your dataframe had 3 columns `CurrencyType`, `Date`, and `Value`. The TransformPrimitive operation would by default convert the value from its currency at that datetime to its USD value today.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。