Untitled

 avatar
unknown
plain_text
5 months ago
1.1 kB
4
Indexable
{
  "errorMessage": "unsupported operand type(s) for *: 'dict' and 'float'",
  "errorType": "TypeError",
  "requestId": "40db5806-d17a-4463-9a19-5b2812a00db2",
  "stackTrace": [
    "  File \"/var/task/lambda_function.py\", line 1088, in lambda_handler\n    df_result = data_aggregation(reference_date, is_preview, refresh_data_only=refresh_data_only)\n",
    "  File \"/var/task/lambda_function.py\", line 329, in data_aggregation\n    final_df = fia_gi(final_df, ref_dt, dates_for_historic_trade_analysis, is_preview, True)\n",
    "  File \"/var/task/lambda_function.py\", line 1023, in fia_gi\n    final_df['estimated_yield'] = np.round(final_df['estimated_yield'], 4)\n",
    "  File \"/opt/python/numpy/core/fromnumeric.py\", line 3360, in round\n    return _wrapfunc(a, 'round', decimals=decimals, out=out)\n",
    "  File \"/opt/python/numpy/core/fromnumeric.py\", line 68, in _wrapfunc\n    return _wrapit(obj, method, *args, **kwds)\n",
    "  File \"/opt/python/numpy/core/fromnumeric.py\", line 45, in _wrapit\n    result = getattr(asarray(obj), method)(*args, **kwds)\n"
  ]
}
Editor is loading...
Leave a Comment