EGR 103/Fall 2019/Minilab 3

From PrattWiki
Revision as of 01:34, 3 December 2019 by DukeEgr93 (talk | contribs) (Created page with "* Problem 2.5.1 ** To load data froman Excel file with headers: ::<syntaxhighlight lang=python> import pandas # %% Load data edata = pandas.read_excel('file.xlsx') col_1_stu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Problem 2.5.1
    • To load data froman Excel file with headers:
import pandas
 
# %% Load data
edata = pandas.read_excel('file.xlsx')
col_1_stuff = edata.values[:,0].copy()
col_2_stuff = edata.values[:,1].copy()