Python in Excel! Part 1 - Introduction

Veröffentlicht am: 22 August 2023
auf dem Kanal: flexyourdata
39,458
706

Python is coming to Excel! 🐍 🥳

Here's an introduction in 5 minutes.

Main takeaways:

1. Python is executed in a "Python cell". No local Python instance is required. The code is executed in the cloud.

2. These imports are run at service startup so you don't need to import them explicitly and can write code using them without further action:

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import statsmodels as sm
import seaborn as sns
import excel

2. A python cell is created by typing =PY( in a worksheet cell.

3. Objects created in one cell can reference objects created in other cells provided they respect "row-major order". Left to Right, Top to Bottom. See the video.

4. A Python cell can either display the Object type of the last statement executed in that cell, or it can convert the value of that statement into an Excel value.

5. You can switch Python Output Type using the drop-down to the left of the Formula Bar, or by using Ctrl+Alt+Shift+M.

What are your initial thoughts / questions about this feature? I'll try to answer them. 💬

#data #analytics #python #excel #dataanalytics


Auf dieser Seite können Sie das Online-Video Python in Excel! Part 1 - Introduction mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer flexyourdata 22 August 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 39,458 Mal angesehen und es wurde von 706 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!