Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You work at Superstore, an office supply retail company that operates in different US states. You were tasked with analysing the sales data from the
You work at Superstore, an office supply retail company that operates in different US states. You were tasked with analysing the sales data from the different states over the past years and check if you are on the path to growth. The data is stored in a file called superstoredata.csv Your work will include data exploration and analysis tasks that will allow you to understand the data and suggest on a new path to growth.
question:
Objective: load data
Create the function import datacsvfilename to Import the data from a csv to a pandas dataframe. The function receives as an input a string with the file path for a cvs file and returns a pandas dataframe. When reading the file: a use as a separator, and b the file has headers and no index.
Example of usage:
df importdatasuperstoredata.csv
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started