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:

Passing a list of argument to Data Frame:

Author: Jessica Ruvalcaba



Answer:

My_df3 =pd.DataFrame( [['NY1', 10, 3, 100], ['NY2', 8, 3, 189], ['NY3', 5, 5, 100]], index = ['a', 'b', 'c’],columns= ['Store', 'Age', 'Employees', ' Profit'])


0 / 5  (0 ratings)

1 answer(s) in total