Pandas!

MORGAN KATZ
1 min readJun 3, 2020

What the heck is Pandas? A cute high-fiving bear?

In this case, Pandas is a two-dimensional data-frame used in the Jupyter Environment

From the Anaconda Prompt explore and activate Conda:

conda env list

conda activate c:\users\Thund\desktop\sample_project_1\env

Jupyter notebook

Making a data frame from scratch:

(note: axis = 0 refers to rows, axis = 1, 2, 3… refers to the column number)

Importing and Exporting Dataframes:

(note: another great feature of pandas is being able to import .csv files directly from a URL. Ex: heart_disease = pd.read_csv(“https://raw.githubusercontent.com/mrdbourke/zero-to-mastery-ml/master/data/heart-disease.csv")

At this point we have successfully created a data series in Pandas Dataframes, imported data, and exported data.

--

--

MORGAN KATZ
0 Followers

Business Analyst with an MBA in Business Intelligence. Machine learning student. Exploring data through analysis and solving problems using ML tools.