SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Data Science 1 exam

» Start this Course
(Practice similar questions for free)
Question:

Create Data Frame:

Author: Jessica Ruvalcaba



Answer:

My_df2 = pd.DataFrame({'Store':["NY1", "NY2",“NY3"], "Age":[10, 8, 5], "Employees":[3, 6, 5], "profit":[100, 189, 127]}) # optional columns= [list of column names], index = [list of indices] to order columns or specify indices


0 / 5  (0 ratings)

1 answer(s) in total