Create a data frame and load the excel or csv file

Assignment Help Computer Engineering
Reference no: EM133663807

Assignment

Using Pandas to access data with Excel or CSV files. Use your approved dataset for this assignment.

Requirements I

Import the pandas library
Import the numpy library
Import the openpyxl library

Create a data frame and load the Excel or CSV file

Add the optional settings
pd.set_option("display.max_columns",None)
pd.set_option("display.max_rows",None)
pd.set_option("max_colwidth",None)
pd.set_option('expand_frame_repr',False)

Requirements II

Print all the columns in the data frame
Print a statistic summary of the data frame
Print the first 4 records in the data frame
Print the last 7 records in the data frame

Requirements III

Print the index in the data frame
Print the data types in the data frame
Selecting Data with brackets []
Print any column in the data frame
Print the 3rd data element using an index for your selected column

Requirements IV

Create a new numeric column (default: zero)
Create a temp dataset with your main dataset
Using a for loop:
Using a function (insert parameter):
Perform arithmetic with one of your numeric fields
Store the result in your new numeric column
Print the first 5 records in the data frame
Save the data into a csv file (Make sure your name is in the file title)

Requirements V

Create a filter using two of your columns from your dataset
Create a temp dataset with your main dataset and filter
Print the first 5 records in the data frame
Save the data into a csv file (Make sure your name is in the file title)

Requirements VI

Create a new numeric column (default: zero)
Create another function (insert parameter) to perform arithmetic
Append a row to the main dataset; use the function to populate the numeric column created earlier
Save the data into a csv file (Make sure your name is in the file title)
Open the file and highlight the row you added

Requirements VII

Create a new numeric column (default: negative -1)
Create a temp dataset with your main dataset
Using a for loop:
Using if statements:
Populate categorical codes in the numeric column
Print the first 5 records in the data frame
Save the data into a csv file (Make sure your name is in the file title)

Reference no: EM133663807

Questions Cloud

Describe the role of the world wide web consortium : Describe the role of the World Wide Web Consortium (W3C) in defining web standards and Research the history of the World Wide Web
Briefly about evaluation plan : Develop a discussion that informs briefly about an evaluation plan and context of a program and ultimately how it would be used by either program clients
While employer reasonably accommodates : While an employer reasonably accommodates an employee's religious conflict, it is the duty of the employee to
Comprehensive review of the reference materials : Comprehensive review of the reference materials you have utilised - Individual Cover Page with the students Identification (Name and Student Number)
Create a data frame and load the excel or csv file : Create a data frame and load the Excel or CSV file. Create a temp dataset with your main dataset. Perform arithmetic with one of your numeric fields.
Identify potential sources of information that can be used : CT 421- Identify potential sources of information that can be used to develop and support ideas. Identify the problem to be solved.
What is the main function of the mitochondria : What is the main function of the mitochondria within the cells - what would be your hypothesis on how this can happen knowing the function of the mitochondria
What the attacker did stole and wanted : BIS 3004- What the attacker(s) did, stole and wanted? Did organisation pay anything because of the attack? What action did they adopt to avoid further damage?
Job description for entry-level store employee : Use the table below to draft a job description for an Entry-level Store Employee.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Which form of inter-module communication would you choose

If these two modules are distributed on two different machines, which form of inter-module communication would you choose to use? Why?

  Describe basic operating system tools

Your boss has tasked you with installing and maintaining an operating system for a new employee. You will be re-using a computer formerly used by someone.

  Write a brief report about the article

Select a topic covered in this module. Go to the SANS website (), locate the Reading Room, and find an article that relates to your selected topic.

  How you would address challenges from the opposition

Provide a concluding statement explaining how you would address challenges from the opposition.

  What are some of other important factors that need to be

What are some of other important factors that need to be seriously considered when the cloud computing and service company.

  Write your own code to perform the k-core

Write your own code to perform the k-core and onion decompositions of the network. Plot the number of nodes of in the layer l on the y-axis vs l on the x-axis.

  Provide a threenbspto five page proposal summarizing

using the case studynbsppresentednbspin this documentnbspto complete an executive proposal.provide a threenbspto five

  Provide function voidclearscreen that will clear the window

I have supplied a header file called assn.hto be utilized with this assignment: it provides the function voidclearScreen()that will clear the terminal window, to be invoked at specified spots within the algorithm.

  Discuss the trustworthiness of root certificates

In a trivial (not secure) key exchange. p = 53. Find an appropriate value for g. Discuss the trustworthiness of root certificates provided by browsers.

  Prepare a web page about your favorite recipe

Prepare a Web page about your favorite recipe. Use an unordered list for the ingredients and an ordered list to describe the steps needed to prepare the food.

  Define and discuss cultural diversity in cybersecurity

Define and discuss cultural diversity in cybersecurity. Each article might offer unique perspectives on how cultural factors influence cybersecurity practices.

  Define baseline security requirements to design applictaion

What are baseline security requirements that should be applied to the design and implementation of applications, databases, systems, network infrastructure.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd