What is the minimum chromium concentration required to make a stainless steel corrosion resistant?
Blog
Which of the following factors restrict(s) the use of ferrou…
Which of the following factors restrict(s) the use of ferrous alloys?
Three hypothetical tensile engineering stress-strain curves…
Three hypothetical tensile engineering stress-strain curves through failure are depicted below.Which response is considered to be the most brittle?
Illinois recently legalized recreational marijuana (the purc…
Illinois recently legalized recreational marijuana (the purchase of marijuana even without a medical prescription) for individuals age 21 and older. Concerned that recently legalized recreational marijuana for adults may increase the rate of (still illegal) use among teens, however, the state of Illinois enacts a law banning recreational marijuana businesses from advertising within two miles of a school. The ban includes billboard ads as well as moving ads such as city buses, rented advertising trucks, etc. Hoppin Good Times Store, which sells marijuana in six Illinois cities, sues the state of Illinois, alleging the new law violates the U.S. Constitution. Total word count (not including name or other headings) must be between 300 – 500 words, and all answers must be in complete sentences, and in paragraph form (no lists or bullet points).1. (RULES): What test will the court apply to determine if this statute is constitutional? Identify and explain each part of the test.2. (APPLICATION and CONCLUSION): You are the judge. Apply each part of the test you identified in question 1 and arrive at a conclusion (supported by case law) as to whether this law is constitutional or unconstitutional. In your answer, you must include case law support. Remember from our work early in the semester that legal decisions must be supported by precedent. Thus, you must identify a relevant case (by full name) from Chapter 4 that we discussed in class that would be binding on this court in this case. Once you have identified the case, your answer must show how the facts and holding (not the outcome, but the rule of law the court created) supports your conclusion/holding as to whether this law is constitutional. Note: the outcome of the other case may be different from the outcome you reach in this case. If so, explain why.
Which of the following statements best applies to Austria-Hu…
Which of the following statements best applies to Austria-Hungary before 1914?
Use this area to upload your .ipynb file with your code in i…
Use this area to upload your .ipynb file with your code in it.
Question 2: Assume that there exists a file named “aFile.txt…
Question 2: Assume that there exists a file named “aFile.txt” in the local disk. Write a program that prompts the user for a positive integer n as an input. The program should write the first n characters of each line in “aFile.txt” to a new file, named “newFile.txt”. The program should write the entire line, if n is greater than that line’s length. Below is a sample input and output for n = 10. Input – aFile.txt: First line of the file Second line of the file Third Output – newFile.txt: First line Second lin Third
Question 4: Download the following file to your local machin…
Question 4: Download the following file to your local machine: NHL_data.csv The data set contains statistics for some of the National Hockey League teams across the years. Question: Perform the tasks listed below using the Pandas Library. Notice that these tasks are divided into 3 cells. Please only use the designated cell area in the Jupyter file to write down your corresponding code. After importing the file at the beginning, you can continue working on the same data (i.e., you don’t need to re-import the data for each individual cell). Cell #1: Import the downloaded data into the Python environment as a Pandas DataFrame. Drop the column titled “GamesPlayed” from the DataFrame. Select the first 10 observations and the first 5 columns from the data and display the values. Do NOT assign the selection to anything — simply display the values on the screen. Cell #2: Display all observations that had more than 40 “Shots”. Show all the columns for these observations. Select and display all observations in Year 2011 that had more “Wins” than the average number of “Wins” for that particular year (2011). Cell #3: Notice that the “SeasonWinner” column indicates the season winner for a given year (The value of that column is “Y” if winner of the “Year”). Find out which team won the season the most across the years. Do the necessary operation in Pandas and print out a single output (can be a table or a string) that states the team’s name and the number of season wins.
Which of the following is one reason to use a NumPy array in…
Which of the following is one reason to use a NumPy array instead of built-in data structures such Python lists?
Which of the following is one of the limitations of Numpy ar…
Which of the following is one of the limitations of Numpy arrays?