醴什么意思| 殊途同归是什么意思| 蕌头是什么| 高铁上什么东西不能带| 万宝龙皮带算什么档次| 大象的耳朵有什么作用| 火象是什么意思| 胎先露是什么意思| 1987年出生属什么| 剑兰什么时候开花| 三文鱼又叫什么鱼| 垂体是什么意思| 凌晨3点多是什么时辰| 七月上旬是什么时候| 生长激素由什么分泌| 深静脉血栓有什么症状| 南瓜子吃多了有什么副作用| PT医学上是什么意思| 梦到蛇是什么意思| 散光轴位是什么| 手容易出汗是什么原因| 白术适合什么地方种植| 雪花飘飘北风萧萧是什么歌| 温州人为什么会做生意| 板鞋配什么裤子好看| 什么是oa| 精神病人最怕什么刺激| 人鱼小姐大结局是什么| 高锰酸钾加什么会爆炸| 吃什么药可以推迟月经| lycra是什么面料| 脾虚是什么症状| 大三阳是什么意思| 中筋面粉适合做什么| 6月19日是什么日子| sansay是什么牌子| 中将相当于什么级别| 馒头配什么菜好吃| 冰点脱毛的原理是什么| 乙型肝炎表面抗体阳性是什么意思| t11椎体在什么位置| blanc什么意思| 海带排骨汤海带什么时候放| 甲状腺低回声结节是什么意思| 小孩晚上睡觉磨牙是什么原因| 梦见蔬菜是什么预兆| 静谧是什么意思| 梦到吵架是什么意思| 可乐鸡翅用什么可乐| 爱华仕是什么档次| 5d电影是什么| 机能鞋是什么意思| 肺结节吃什么食物好| 脸上不停的长痘痘是什么原因| 什么运动瘦肚子最快| 想要什么样的爱| 什么是肿瘤标志物| 燃气灶什么品牌好| 村姑是什么意思| 圣诞节送孩子什么礼物好| 右手中指发麻是什么原因| 白细胞低是什么原因造成的| 什么果不能吃| 胃老是恶心想吐是什么原因| 什么东西越热越爱出来| 属猴女和什么属相最配| 一天当中什么时候最热| 青色是什么颜色的图片| 痛风不能吃什么食物| 酉是什么意思| 血小板减少有什么危害| 兹禧属什么生肖| 肾积水是什么原因造成的| 掰弯了是什么意思| 君无戏言什么意思| 羊肉补什么| 孩子贫血吃什么补血最快| 可乐是什么做的| 吃什么食物补气血| 一什么一什么| 鲁米那又叫什么| 还珠格格什么时候上映的| 夏至是什么节日| 滴虫性阴道炎是什么原因引起的| 桂圆和龙眼有什么区别| 梦见打官司预示着什么| 阿斯伯格综合征是什么| 2月11日是什么星座| hpv长什么样| 包头古代叫什么| 男人有卧蚕代表什么| 脑部磁共振检查什么| 放任是什么意思| 糖尿病人可以吃什么零食| 基础代谢是什么| c2驾驶证能开什么车| 什么是重金属| 句号是什么意思| 随波逐流什么意思| 美好的近义词是什么| 梦见经血是什么预兆| 什么原因导致胎停| 12月21日是什么星座| PSV是什么意思| 尿毒症小便有什么症状| 梦见金项链是什么意思| 2009是什么年| 安享晚年是什么意思| 喝什么茶清肺效果最好| 丘疹性荨麻疹吃什么药| 梦见蛇缠身是什么预兆| 张飞的武器叫什么| 2t是什么意思| 梦见火灾预示什么| ce是什么元素| 既往史是什么意思| 茹是什么意思| 病毒性扁桃体炎吃什么药| 日龙包是什么意思| 老炮儿是什么意思啊| 兔子五行属什么| 血管没有弹性是什么原因| 双子座是什么象| 麒麟到了北极会变成什么| pv是什么材质| 脑硬化是什么病严重吗| 缠绵是什么意思| 戒奶涨奶痛有什么缓解方法| 女同是什么| 8朵玫瑰花代表什么意思| 隐血弱阳性是什么意思| 杏色配什么颜色最洋气| slay什么意思| 南瓜子不能和什么一起吃| 女性感染hpv有什么症状| 什么运动降血糖最快| 什么是极差| 孩子不好好吃饭是什么原因| 梦见建房子是什么预兆| 人间炼狱是什么意思| 一什么珍珠| 黑色记号笔用什么能擦掉| 果酸是什么| 质量是什么| 什么是走读生| 梦见监狱是什么意思| 尿频是什么原因导致的| 大脑镰钙化灶是什么意思| 唇釉是什么| 副总经理是什么级别| 人类免疫缺陷病毒抗体是什么意思| 为什么会有蟑螂| 什么油适合高温油炸| 下雨了是什么意思| 干眼症用什么眼药水| 瘟神是什么意思| 20分贝相当于什么声音| 手上的线分别代表什么图解| 36是什么码| 头皮发麻是什么原因| 头皮毛囊炎用什么洗发水| 焚书坑儒什么意思| 哺乳期发烧吃什么药不影响哺乳| 来月经腰疼是什么原因| 奶奶的妹妹叫什么| npv是什么| 殁送是什么意思| 指甲上的月牙代表什么| 紫癜是一种什么病严重吗| 三毛为什么自杀| b型阳性血是什么意思| 婚检检查什么| 牙齿痒是什么原因| 头上两个旋代表什么| 农合是什么| 上颚疼痛吃什么药| 211和985什么意思| 师夷长技以制夷是什么意思| 五月初六是什么星座| 正连级相当于地方什么级别| 距骨在什么位置| 戊五行属什么| 西游记是什么时候写的| 麻风疫苗什么时候打| 钛合金是什么材料| 色彩斑斓是什么意思| 飞机什么时候停止登机| spv是什么| 为什么手指会脱皮| 三点水翟读什么| 情难自禁是什么意思| 2月8号什么星座| 慢性胰腺炎有什么症状| 大暑是什么意思啊| 原字五行属什么| 喝什么补气血| 夏枯草治什么病| 2月份是什么星座| 胰岛素高有什么危害| 孩子生化了是什么意思| 颧骨长斑是什么原因| 宫腔内囊性结构是什么意思| 什么样的脸型有福| 姜还是老的辣是什么意思| 什么辣椒香而不辣| 贲门松弛吃什么药| asd是什么意思| 三条杠是什么牌子| 屑是什么意思| 蹶是什么意思| 油炸食品用什么油最好| 无可奈何什么意思| 下嘴唇发紫是什么原因| 1995年的猪五行属什么| 中秋是什么时候| 什么是双减| 精液的主要成分是什么| 大姨妈发黑是什么原因| 儿童乐园有什么好玩的| 羊肚菌为什么那么贵| apm是什么牌子| 硬水是什么| n什么意思| 肝硬化早期有什么症状| 预防脑梗用什么药效果好| nk是什么意思| 无名指和食指一样长代表什么| 湿气太重吃什么好| 心绞痛是什么病| 爽约是什么意思| 军长是什么军衔| 黑吃黑是什么意思| 世界上有什么| 补血吃什么药最快最好| 喉咙痛吃什么水果好得最快| 思维敏捷是什么意思| 吃什么东西涨奶最快| 晚上睡觉手麻是什么原因| 带状疱疹后遗神经痛挂什么科| 次抛是什么意思| 婴儿头发竖起来是什么原因| 什么像什么似的造句| 便秘什么原因引起的| 猫吃什么| edd什么意思| 产后腰疼是什么原因| 1.13是什么星座| 水绿色是什么颜色| 糖化血红蛋白是查什么的| 梦见土豆是什么意思| 五什么六什么的成语| 肝郁脾虚是什么意思| 梭形是什么形状| 排卵期是什么| 脚心痒是什么原因| 上面一个处下面一个日是什么字| 什么扑鼻成语| 中国姓什么的人最多| 语重心长是什么意思| 岔气了吃什么药| 6.7是什么星座| 微米是什么单位| 减肥期间能吃什么水果| 睡觉老是做梦是什么原因| 百度

Try to extend agent mode in VS Code!

一汽丰田举办2018春季新品发布会

百度   习近平同志在党的十九大报告中指出:“全党同志特别是高级干部要加强党性锻炼,不断提高政治觉悟和政治能力,把对党忠诚、为党分忧、为党尽职、为民造福作为根本政治担当,永葆共产党人政治本色。

Visual Studio Code supports working with Jupyter notebooks natively, and through Python code files. The AI features in VS Code can help you in creating and editing notebooks, as well as analyzing and visualizing data. In this article, you learn how to use the AI features in VS Code to work with Jupyter notebooks.

Scaffold a new notebook

To accelerate getting started with a new notebook, you can use the AI features in VS Code to scaffold a new notebook. You can provide details about what functionality you want to add and which libraries you want to use.

To create a new notebook with AI, choose the chat mode and enter a prompt in the Chat view.

With ask mode in chat, use the /newNotebook command in the chat input field to indicate that you want to scaffold a new notebook.

Agent mode provides a more autonomous experience, where it can make changes to the notebook, run the cells, and monitor and resolve potential run-time issues.

Example prompts:

  • Create a Jupyter notebook to read data from #housing.csv
  • Create a Jupyter notebook to read data from #housing.csv, add a step to clean the data
  • Create a notebook to read data from #housing.csv and plot the distribution of prices
  • /newNotebook using pandas and seaborn to read and visualize the titanic dataset. Show key information from the dataset. (ask mode)
  • Create a Jupyter notebook to read data from #housing.csv. Run all cells. (agent mode)

The following screenshot shows how the output from agent mode to the prompt Create a Jupyter notebook to read data from #housing.csv (you can get this dataset from Kaggle):

Screenshot that shows a new notebook created by agent mode that reads the 'housing.csv' file in the workspace.

Notice that a new .ipynb file is created in the workspace, which contains Markdown and code cells for reading the CSV file and displaying the first few rows of the data.

You can now further edit the notebook manually, or use AI to make inline edits or send follow-up chat requests to modify the notebook.

Make inline edits in notebooks

If you already have a notebook and want to make some inline changes in a cell, you can use inline chat, like you would in a code file.

To make inline edits in a cell, press ?I (Windows, Linux Ctrl+I) or right-click in the cell and select Copilot > Editor Inline Chat. This opens the inline chat view, where you can enter your prompt.

Tip

You can reference kernel variables in your chat prompt. Type # followed by the variable name to reference it. For example, if you have a variable named df, you can type #df in your chat prompt to reference it.

Screenshot that shows the inline chat view in a notebook cell.

When the response is generated, notice that the code is updated in the notebook cell. You can Accept the changes and decide to Accept and Run the cell changes.

To generate a new cell with AI, select the Generate button in the notebook view, or don't focus on a cell and press ?I (Windows, Linux Ctrl+I) to open the inline chat view for a new cell.

Make edits across multiple cells

To make larger edits, across multiple cells, you can use the chat interface in edit mode or agent mode.

Example prompts:

  • Plot a graph of the price distribution
  • Make sure the data is cleaned before visualizing and processing it
  • Show the correlation between different features in the dataset
  • Use matplotlib instead of seaborn to plot the data
  • Remove the display of dataset information

Screenshot that shows the response from edit mode to the prompt 'Plot a graph of the price distribution'.

Notice that you can use the overlay controls to navigate between the different edit suggestions, and to keep or undo the changes.

Ask questions about notebook content

You can use the chat interface to ask questions about the content of your notebook. This is useful for getting explanations of code, data, or visualizations. You can add extra context to your chat request, such as the cell output, graphs, or errors.

The following example shows how to ask questions about a visualization in a notebook.

  1. Change to ask mode in chat.

  2. Select ... next to the graph, and select Add Cell Output to Chat to add the chart as context to your chat request.

    Screenshot that shows the context menu for a graph in a notebook cell.

  3. Enter the prompt Explain this chart in the chat input field.

    Notice that you get a detailed explanation of the chart.

    Screenshot that shows the response from chat to the prompt 'Explain this chart'.

Perform data analysis and visualization

You can do a full data analysis and visualization notebook of a dataset by using agent mode in chat. Agent mode analyzes the dataset, and then scaffolds a new notebook, implements the code for performing the data analysis, and runs the cells to process and visualize the data. As needed, agent mode invokes relevant tools and terminal commands to complete its tasks.

For example, to perform a data analysis of the housing dataset:

  1. Open agent mode in chat.

  2. Enter the following prompt in the chat input field: Perform data analysis of the data in #housing.csv.

    Notice that agent mode iterates through the different tasks. When needed, approve the tool and command invocations.

  3. The result is a new notebook with a complete data analysis of the dataset, including data cleaning, data visualization, and statistical analysis.

    Screenshot that shows the response from agent mode to the prompt 'Perform data analysis of the data in housing.csv'.

You can now further edit the notebook manually, or use AI to make inline edits or send follow-up chat requests to modify the notebook.

Next steps

怎么知道自己是什么血型 陆代表什么数字 1999年发生了什么 美团和美团外卖有什么区别 月经颜色发黑是什么原因
死后是什么感觉 小暑是什么时候 什么榴莲品种最好吃 英红九号是什么茶 腺苷钴胺片治什么病
流连忘返是什么生肖 腹泻吃什么食物好得快 儿童发育迟缓挂什么科 珊瑚粉是什么颜色 头里面有肿瘤有什么症状
艳羡是什么意思 一什么天空 梦到妈妈怀孕什么预兆 正印代表什么意思 愚昧什么意思
咳嗽有黄痰是什么原因mmeoe.com 反应性细胞改变炎症是什么意思qingzhougame.com 勤劳的小蜜蜂什么意思hcv9jop4ns4r.cn 高位破水是什么意思hcv8jop2ns6r.cn 不孕不育应检查什么hcv9jop0ns1r.cn
老年人嗜睡是什么原因hcv9jop6ns4r.cn 真菌感染吃什么药hcv8jop5ns7r.cn 酒精和碘伏有什么区别hcv7jop4ns5r.cn 肝胃不和吃什么中成药hcv8jop0ns7r.cn 经期同房会有什么后果hcv9jop5ns8r.cn
葳蕤是什么中药zhiyanzhang.com 庚子是什么时辰hcv9jop4ns3r.cn 唏嘘什么意思hcv9jop0ns1r.cn 双皮奶为什么叫双皮奶hcv9jop4ns7r.cn 二杠四星是什么军衔ff14chat.com
草字头加西读什么hcv9jop5ns6r.cn 不什么下什么的成语hcv8jop3ns1r.cn 仔仔是什么意思hcv8jop6ns7r.cn 十月7号是什么星座hcv8jop3ns0r.cn 牛皮癣是什么样的hcv8jop1ns5r.cn
百度