cryptocurrencyeda.daily_growth_rate
Module Contents
Functions
|
Function to calculate daily growth rate |
- cryptocurrencyeda.daily_growth_rate.daily_growth_rate(df, col_name)
Function to calculate daily growth rate :param df: Data frame with date and price data. :type df: pandas DataFrame :param col_name: Name of the column holding daily ending price data. :type col_name: str
- Returns
A dataframe with a new column of daily growth rate
- Return type
df
Examples
>>> daily_growth_rate(price_df, closing_price)