(string_list, main_string)
| 19 | import gzip |
| 20 | |
| 21 | def find_substrings_in_string(string_list, main_string): |
| 22 | return [s for s in string_list if s in main_string] |
| 23 | |
| 24 | def calculate_log_returns(series, step=50): |
| 25 | return np.log(series / series.shift(step)).dropna().reset_index(drop=True) |
nothing calls this directly
no outgoing calls
no test coverage detected