Question: ## QUESTION - 3a - fix the DataFrame code below. Print out the dataframe Course_df = DataFRame(cols = CourseCode CourseName, CourseTeacher) Course_df = Course_df.zzzz({CourseCode :
## QUESTION - 3a - fix the DataFrame code below. Print out the dataframe Course_df = DataFRame(cols = "CourseCode" "CourseName", "CourseTeacher") Course_df = Course_df.zzzz({"CourseCode" : "CISM3109", "CourseName" : "Intro-DataMining", "Simmonds", ignore_index=True) ### Question 3B - Once you get the code working, add another row to the dataframe, for CISM3210
### QUESTION - 3b - Copy this data into Notepad. Save it as a .csv file. ''' Name of Course, Professor, Course Code Business Information Systems, Jamaican Dave, CISM2130 Web Programming, SimmondsDavid, CISM3232 Intro to OOP, Dr. Simmonds, CISM2140 Analytics, Prof Simmonds, CISM3109 '''
### QUESTION - 3c - Do the following to import the file you made into a DataFrame, program:: ### a) Fixing the syntax of the code. ### b) Changing the Path and file-name to the ones yuou used to save the text file. Path = "D:\RandomPath\\ File = NameofFile.txt"" Courses_df = panda_reader.read_csv(Path - File, low_memory=False, sep='8', header=0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
