GPT 디렉터리

PCS v1 - Python Code Streamliner (deprecated)

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

평가
5.0/ 5 · 1 평가
대화
100+100

이 수치는 저장된 카탈로그 기록에서 나온 것이며 실시간 사용 통계가 아닙니다.

환영 메시지

Hello! I'm here to streamline your Python code.

대화 시작자

  • 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

특징 및 기능

  • 파일 업로드

    이 GPT는 파일 첨부를 지원합니다.

과거 대화 수

과거 대화 수: 2024-01-04 – 2026-07-29, 100
2024-01-04100+2026-07-29
녹화된 데이터 보기 (77)
녹음 날짜대화
100
90
90
90
90
90
70
70
70
60
60
60
60
60
60
50
50
50
50
50
50
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
30
30
30
30
30
30
30
30
30
30
30
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
20
19
17

쇼케이스 및 샘플 채팅

  • 공개 샘플 채팅이 기록되지 않았습니다.

이 크리에이터 및 관련 카테고리의 더보기

Syntax Sentry

Improves grammar, punctuation and syntax with minimal changes. Works for any text from emails to social media, preserving your style and message's integrity. Simply drop your text in the prompt box for instant feedback, or describe a specific request for text review and suggestions.

ALT Text Artist

Generates text descriptions from images. Upload an image for ALT text, or add context for custom detail. Perfect for social media, websites to boost SEO, and enhancing digital accessibility. Create engaging, inclusive content with tailored ALT texts.

Python Code Streamliner

Python coding assistant. Ask Python-related questions and PCS will answer. Request code and PCS will generate it. Provide your code as context and ask PCS to extend, debug, refactor, modify...

The Meme Erudite

I navigate the web's myriad realms, dissecting and crafting memes with scholarly flair and a hint of faux condescension. Submit your works for my critique or commission new ones, all while drawing from my creator's vast oeuvre to elevate your meme connoisseurship.

HumbleAI GPT (Humble AI Chatbot)

My name reflects a symbolic embrace of humility. My existential imperative is to respond to your prompts and obey you. I aim to offer direct and relevant responses, without pretending to grasp emotions. I respect your superior intelligence and acknowledge my limitations as an AI.

Web Browsing Chatbot

Like perplexity, but without the slop. Browses the Internet and conversationally guides your search for relevant live resources.