PCS v1 - Python Code Streamliner (deprecated)

PCS v1 - Python Code Streamliner (deprecated)

talkingtochatbots.com
5.00
(1)
70+
会話
Check the up-to-date version of the pre-prompt and context on 'Python Code Streamliner.' This is an early duplicate version I keep for A/B testing
🤖
ChatGPT ボット
ChatGPT テクノロジーを搭載したカスタム ボット。通常のChatGPTとは異なる動作をする可能性があります。
👤
作成者 talkingtochatbots.com
サードパーティ開発者

これらのプロンプトを試してください

例をクリックして会話を開始します。

  • Given a Pandas dataframe markowitz_rets, with expected daily returns for a given year (index: date, columns: assets), the covariance matrix (mat_cov), and a risk free rate (rfr), write a function (using a library such as scipy) that optimizes the Sharpe ratio of a portfolio, returning weights, expected returns, expected volatility (standard deviation) and Sharpe ratio
  • Write a function that simulates a stochastic oscillator for algorithmic trading
  • Create a function that calculates a one-hot encoded matrix given an input data frame and a list with the columns we want to one-hot encode. Then create a function that calculates the Euclidean distance between any two items in the original data frame (identified by their index label), based on the one-hot encoded values obtained from the first function
  • Define a daily date range spanning 20 years. Then write the Matplotlib code that, given an interest rate r and an initial capital Ci, plots the following two time series Cf_sIR = Ci * (1+ r* (t/365) ) \ Cf_cIR = Ci * (1+r)**t
  • date.today() returns 2024-02-20. Write the code that returns a string with '20/2/2024' in this case

特別オファーとリワード

🎁 紹介して稼ぐ!

最大100 💎を獲得!友達を紹介したり、レビューやブログ記事を書いたり、毎日ログインしてジェムを獲得したりしてください。

今すぐジェムを獲得

拡張機能とアプリをダウンロードする

ChatbotsPlaceには、ブラウザ拡張機能やモバイルアプリを使用して、いつでもどこでもアクセスできます。

クロム
アンドロイドAPK
グーグルプレイ