Task 2 1. Create a Series with 100 values using panads and numpy random () function. Stores the series in a variable named s. 2. Print the length of the series. 3. Print only the indices of the series. 4. Print only the values of the series. 5. Print the 50th element in the series. 6. Print the mean of the series. 7. Show the summary statistics of the series. 8. Print the cummulative sum of the series, stores in cum_s. 9. Plot cum_s using the plot () function of pandas.
Q: se Exercises Amy walked into h blond man had taken well over - the district attorney would als- ich ...
A: Amy walked into her office cubicle and sat down. The entire episode with the blond man had taken wel...
Q: How can a security risk assessment assist the organization?
A: How can a security risk assessment assist the organization?
Q: What is the definition of NOSQL? What is the relationship between NOSQL and NOSQL database managemen...
A: NoSQL: NoSQL is non sequel query language which is based on the document structure instead of rows, ...
Q: Question 15 The LEA instruction is used to write into a register. O data an instruction O the PC an ...
A: Here, we are going to discuss LEA instruction.
Q: vhat is the ouput for *q and z[2][1] Analyze and determine the outputs of the following program stat...
A: Please find the answer, source code and output for the same in the below steps.
Q: What is the procedure for changing the RFI routing?
A: Introduction: Formal requests for information (RFIs) are used to acquire knowledge from prospective ...
Q: uted databases have a distinct advantage over centralized ones?
A: given Do parallel/distributed databases have a distinct advantage over centralized ones?
Q: Create a program that can ACCEPT your name, hobbies and birthday USE JAVA PROGRAMMING
A: Your question is about create program that accept your name , hobbies and birthday.
Q: fs(n) = 1 + fs([n/2]) when n > 1, f;(1) = 1 %3D
A: Here, we have to find out the time complexity in terms of Big-O Notation. We will use Substitution m...
Q: What are the advantages of using interfaces? Why not explicitly instantiate objects of a class?
A: Introduction: Interfaces are used to define the behavior that all classes must follow. Protocols and...
Q: How can Big Data/Text information Extraction technologies be applied to multilingual datasets?
A: Answer: It is the goal of the multilingual toolkit to carry out a wide range of information extract...
Q: When precisely did John von Neumann die?
A: John von Neumann original name is János Neumann.
Q: Q-1: Write a program In Assembly language using MIPS Instruction set that reads an integer number N ...
A: Assembly language: Assembly language is a low level programming language. It is used to tell directl...
Q: 3. Create a program that can accept 5 numbers get their sum, difference, product and quotient. USE ...
A: Find Your Code Below
Q: Char a[50] starts at address 100, int b[50] starts at address 200, and short c[50] starts at address...
A:
Q: Add a method called save to your Person class. This method will write the object out to a binary fil...
A: Answer: I have done your code which have given nothing else
Q: Is it possible to get further information about the proposed specifications of the 5G network (for e...
A: In telecommunications, 5G is a fifth-generation standard for broadband mobile network technology, wh...
Q: public class ArrayMerge { static void arrayMerge(int a[], int b[]){ int c[] = new i...
A: Please find the solution below
Q: Convert the regular expression (0+1)*1(0+1) into NFA using Thompson’s construction, following which ...
A: The given expression is :(0+1)*1(0+1) This needs to be converted to NFA using Thomson's construction...
Q: omment on the current status of IPV4 and identify the major ney are addressed in IPV6
A: Packet flow identification is not available in IPv4.* IPv4 supports packet size of 576 bytes and fra...
Q: Convert the regular expression (0+1)*1(0+1) into NFA using Thompson’s construction, following which ...
A: The given expression in :(0+1)*1(0+1). This needs to be converted to NFA using Thompson’s constructi...
Q: If you have a training set with millions of features, which Linear Regression training procedure sho...
A: Answer:
Q: Comment on the current status of IPV4 and identify the major emerging problems for IPV4 and discuss ...
A: current status of IPV4 and its limitations and IPV6
Q: The internet protocol (IP) used in TCP/IP performs packetizing functions is currently in use with ...
A: Transport layer performs packetizing functions Transport layer performs error control function Ip us...
Q: What's the difference between Stored Procedures and Scripts? What is the purpose of each? How does e...
A: According to the information given:- We have to define the difference between stored procedure and s...
Q: Write a program to generate the numbers following: a) (-1, 3, -5, 7, -9, 13, -15, 17, -19, 23) on Te...
A: #include <stdio.h> int main() { int i, j, rows; printf("Enter the number of rows: "); ...
Q: Write a Python program to show the use of the isinstance() function to check whether the value 0.5 i...
A: Introduction: Write a Python program to show the use of the isinstance() function to check whether t...
Q: How many total basic operations are used during the execution of the algorithm described in the pseu...
A: Basic operations i n each line isLine 1: 1 timeLine 2: 1 timeLine 3: n timesLine 4: n*(2n-i) timesLi...
Q: aaaaa525252 to the console. You must not add or delete any other operators and/or
A: The answer is
Q: Assume you're the owner of a business that's about to begin promoting and selling bicycles via the I...
A: Online Promotion of Bicycles:- Cycling groups can sometimes struggle to bring in new and exciting pr...
Q: Question:: Do parallel/distributed databases have a distinct advantage over centralized ones?
A: Ans : True that parallel/distributed databases have a distinct advantages over centralized ones tha...
Q: Explain the benefits and drawbacks of a two-tiered design.
A: Introduction: A well-established computer programme application design that divides applications int...
Q: PROVIDE JS SOURCE CODE Design a web page with a text box (username) where the user can enter a name ...
A: The java script validation code for the given specifications are as follows.
Q: 2. Create a program that will accept 10 scores and will display the MAXIMUM SCORE. USE JAVA PROGRAM...
A: A program that accepts 10 numbers, will accept it in an array. It will only print the maximum score ...
Q: QUESTION 11 Which of the following statements regarding R functions is true? O a user-defined functi...
A: Answer: I have given answered in the brief explanation
Q: ment on the currentst are addressed in IPV6
A: IPv4 supports packet size of 576 bytes and fragmentation is optional. On November 25th in 2019, RIPE...
Q: Given the following memory chip configurations find the requested information: An EPROM chip has a c...
A: a) Organisation - 16K *8 8 - Data Pins and 14- address Pins b) Organisation - 16*4 4 - Data Pi...
Q: Most business users will have access to self-service Bl tools in the next years, but Gartner expects...
A: Introduction: As a courtesy to those who have raised queries, we'll start with the most basic. If y...
Q: Can anyone help me write a code for python for the Following steps. I have written a fair bit just w...
A: Summary: - Hence, we have discussed all the points.
Q: Task: Given a BST, write an algorithm to find and output the diameter of the tree. Context: The diam...
A:
Q: Explain the benefits and drawbacks of a two-tiered design.
A: Two-tiered architecture: The two tiered architecture is the concept in the computer architecture whi...
Q: A database system uses an Apache web server, WebLogic Application server and an Oracle database. Dra...
A: 3-tier architecture:
Q: What's the difference between Stored Procedures and Scripts? What is the purpose of each? How does e...
A: - We need to talk about the difference between stored procedure and scripts their use and stored pro...
Q: Draw the truth table of the boolean expression X = A.B.C + A'.C' + A'.B'. Do, not simplify the expre...
A: Draw the truth table of the boolean expression X = A.B.C + A'.C' + A'.B'. Do, not simplify the expre...
Q: Analyze the conditions that can lead to satellite path diversity.
A: ans. the conditions that causes or lead to satellite path diversity are: uneven distruption of t...
Q: 34. In JAVA language, write a program to input the distance in kilometers and then convert the dista...
A: Logic:- read distance in Kilometer and store it in km variable. Multiply stored km value by 0.6213...
Q: -Calculate the average power of the discrete-time wave shown in fig a? * Fga -1 6. - The step functi...
A: I'm providing both Answers. I hope this will help.
Q: By examining the features of each and when they would be employed as personal computer programs if a...
A: difference between microsoft access database and excel spreadsheet
Q: A major corporate strategy is to improve and optimize client retention and loyalty. Explain why, and...
A: The answer is
Q: What is a tar file, exactly?
A: Introducction: A TAR file is a Unix-based archive generated by tar, which bundles data together for ...
**using jupyter notebook (Python)**
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- 3. Create a table for student mark list and insert the values for name, id, m1,m2,m3,m4,m5, total and grade of each student. Calculate the grades using “if else / nested if” statement and display the total no. of student, total marks and grade of each student.Output:Total 5 Students Student:Kavita, Marks:98 Student:Pritam, Marks:97 Student:Ayan, Marks:78 Student:Rishav, Marks:87 Student:Aziz, Marks:92 Do it in oracle sqlSome rows of the STUGRADE table of a school are shown below: STU_CODE CLS_CODE GRADE YEAR 291 111 3.1 2010 938 101B 2.3 2011 931 M101 3.3 2040 291 M101 3.4 2018 190 111 2.0 2021 931 321 3.9 2003 Suppose that STU_CODE is the student code (foreign key) and CLS_CODE is the class code (foreign key). Which of the following computes the average for each year of the student with code 931? a. SELECT AVG(GRADE) FROM STUGRADE WHERE STU_CODE = 931 GROUP BY YEAR b. SELECT AVG(GRADE) FROM STUGRADE WHERE STU_CODE = 931. c. SELECT AVG(GRADE) FROM STUGRADE GROUP BY STU_CODE = 931 d. SELECT AVG(GRADE) FROM STUGRADE WHERE STU_CODE = 931 GROUP BY AVG(GRADE)a) Find names and surnames of professors who teach a course in the "Biology" program: π(first_name, last_name)(σ(course_name = "Biology")(Course ⨝ Professor)) b) Find the student IDs and names of students who have not taken any exam (from any course): π(student_id, first_name, last_name)(Student - π(student_id)(Exam)) c) Find student IDs of students who have passed every exam from the "Data Science" program: π(student_id)(Student ⨝ (σ(programme = "Data Science")(Course) ⨝ (Student.student_id = Exam.student_id) ⨝ (Exam.grade >= 5))) d) Find the course IDs and names of courses that have been passed by at least two different students: π(course_id, course_name)(Course ⨝ Exam) ÷ ρ(count(students_passed), count(students_passed)(Course ⨝ Exam)) do these solutions fulfil these requirements 2. Use RELATIONAL ALGEBRA to write the following queries:a) Find names and surnames of professors, who teach a course in "Biology" programmeb) Find the student IDs and names of students who have not…
- Let the document be “good bad student good bad instructor” and the query be “good student”. Fill out the empty columns in the following table and then compute the cosine similarity between the document vector and the query vector. In the table, df denotes document frequency, idf denotes inverse document frequency (i.e., idft = log10N/dft), tf denotes term frequency, log tf denotes the tf weight based on log-frequency weighting as shown in slides (i.e., 1+log10tft,d for tft,d> 0 and 0 otherwise), d is the document vector, d’ is the length-normalized d, q is the query vector, and q’ is the length-normalized q. Assume N (number of documents in the corpus) = 10,000,000.Question no 01: Mr. Patrick is fond of reading books he is looking for a computerized way to keep record of hisbook collection, you have been given the responsibility to meet up his following requirements.(Use appropriate data structure to accomplish your task), develop following methods:1. Add(): adds a new book to the list ( A book contains name of the book, author name)NOTE: every new book will have access to its neighboring books (previous and next)2. Remove():in case any book is removed from the pile update your list 3. countBooks(): displays the total number of books 4. search(): returns true if the given book is present in the list else returns false 5. display(): shows the book collectionQuestion 5 What should be the best name to replace question in the following function? bag::size_type bag::question(const value_type& target) { size_type index = 0; size_type many_removed = 0; while (index < used) { if (data[index] == target) { --used; data[index] = data[used]; ++many_removed; } else ++index; } return many_removed; } Group of answer choices remove_all erase delete ahead move
- # Create Custom Transformer Create a custom transformer, just as we did in the lecture video entitled "Custom Transformers", that performs two computations: 1. Adds an attribute to the end of the numerical data (i.e. new last column) that is equal to $\frac{x_1^3}{x_5}$ for each observation. In other words, for each instance, you will cube the $x_1$ column and then divide by the $x_5$ column. 2. Drops the entire $x_4$ feature column if the passed function argument `drop_x4` is `True` and doesn't drop the column if `drop_x4` is `False`. (See further instructions below.) You must name your custom transformer class `Assignment4Transformer`. Your class should include an input parameter called `drop_x4` with a default value of `True` that deletes the $x_4$ feature column when its value is `True`, but preserves the $x_4$ feature column when you pass a value of `False`. This transformer will be used in a pipeline. In that pipeline, an imputer will be run *before* this transformer. Keep…Task 12: List the item ID, description, and category for each pair of items that are in the same category. (For example, one such pair would be item FS42 and item PF19, because the category for both items is FSH.) Order the output by category. -- Task # 12SELECT CATEGORY, ITEM_ID, DESCRIPTIONFROM ITEMWHERE EXISTS (SELECT COUNT(*) FROM ITEM I WHERE I._____________ = ITEM._______________ GROUP BY CATEGORYHAVING ___________________)ORDER BY ________________;Write an order to generate binomial data with the number of observations (n) being 50, the number of trials (size) being 5 and the probability of success being 0.5, then storing the results in the binomial data matrix, with the number of columns being 5.
- The accompanying Homeownership spreadsheet contains a partially completed spreadsheet model for computing the monthly costs of home ownership. Complete the spreadsheet model by inserting the formulas for monthly mortgage payment, monthly property tax, monthly homeowner insurance premium, monthly maintenance costs , and total in the appropriate cells. Variables: House value: $ 450,000.00 Interest rate: 4.25% Down payment (% of house value): 20% Number of years: 30 Property tax rate: 1.25% Annual homeowner insurance premium: $ 1,400.00 Maintenance cost rate (% of house value): 1% Monthly Cost of Home Ownership Monthly mortgage payment: Monthly property tax: Monthly homeower insurance premium: Monthly maintenance costs: Total: 1. Is this a deterministic or stochastic model? 2. Which of the following is NOT an input of the spreadsheet model? A. Interest rate B. Monthly mortgage payment C. Number of years of…ONLY DO QUESTIONS 6-8 PLEASE Question 4 (COMPLETE: ''' 4. Let's find the "fireball" sighting(s) that lasted more than ten seconds in US. Print the the datetime and state of each. Put the data in "fball" and print the result. Note: Consider only the US sightings stored in "sightings_us". - Cast the duration in seconds to a float (decimal). - Check if duration is greater than 10. - Check if the shape is "fireball". ''' def is_valid_duration(duration_as_string): #eliminate duration values that don't have a valid duration # your code here try: duration = float(duration_as_string) except ValueError: return False else: return duration fball = [] # iterate through the sightings_us fball = [row for row in sightings_us if is_valid_duration(row["duration (seconds)"]) > 10 and row["shape"] == "fireball"] # output printing for row in fball: print(row['datetime'], row['state']) Question 5 (COMPLETE) ''' 5. Sort the above list by duration.…(b) Using IF function, write a formula in cell range D24 to display your recommendation. Hint: IF the Weighted Score of VDI is more than DaaS, then VDI should be recommended, else DaaS should be recommended. (g) Using INDEX Function, write a formula in cell range D68 to display the vendor. Hint: INDEX the value of cell D67 in the array D55:F55. Screenshots attached thnaks