1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Stels [109]
2 years ago
8

You are using a Jupyter Notebook to explore data in a DataFrame named productDF. You want to write some inline SQL by using the

following code, and visualize the results as a scatter plot: %%sql SELECT cost, price FROM product What should you do before running a cell with the %%sql magic? a. Create a new DataFrame named product from productDF.select("cost", "price") b. Persist the productDF DataFrame using productDF.createOrReplaceTempView("product") c. Filter the productDF dataframe using productDF.filter("cost == price") d. Rename the columns in the productDF DataFrame using productDF.withColumnRenamed("cost", "price")
Engineering
1 answer:
defon2 years ago
7 0
You need to explain it more simple as everyone is clueless
You might be interested in
What’s is the proper fastener to use to join two wires.
xxMikexx [17]
The answer would be C !
7 0
3 years ago
Because of ____________ people must make choices, and when they choose, they incur a(n)______________.
lbvjy [14]
There must be a photo for me to answer!
3 0
2 years ago
Air enters a compressor operating at steady state at 1 bar, 290 K, with a mass flow rate of 0.1 kg/s and exits at 980 K, 10 bar.
stiv31 [10]

Answer:

7.615 kW

Explanation:

Solution in pen paper form in the attachment section

8 0
3 years ago
A rectangular steel bar, with 8" x 0.75" cross-sectional dimensions, has equal and opposite moments applied to its ends.
denpristay [2]

Answer:

Part a: The yield moment is 400 k.in.

Part b: The strain is 8.621 \times 10^{-4} in/in

Part c: The plastic moment is 600 ksi.

Explanation:

Part a:

As per bending equation

\frac{M}{I}=\frac{F}{y}

Here

  • M is the moment which is to be calculated
  • I is the moment of inertia given as

                         I=\frac{bd^3}{12}

Here

  • b is the breath given as 0.75"
  • d is the depth which is given as 8"

                     I=\frac{bd^3}{12}\\I=\frac{0.75\times 8^3}{12}\\I=32 in^4

  • y is given as

                     y=\frac{d}{2}\\y=\frac{8}{2}\\y=4"\\

  • Force is 50 ksi

\frac{M_y}{I}=\frac{F_y}{y}\\M_y=\frac{F_y}{y}{I}\\M_y=\frac{50}{4}{32}\\M_y=400 k. in

The yield moment is 400 k.in.

Part b:

The strain is given as

Strain=\frac{Stress}{Elastic Modulus}

The stress at the station 2" down from the top is estimated by ratio of triangles as

                        F_{2"}=\frac{F_y}{y}\times 2"\\F_{2"}=\frac{50 ksi}{4"}\times 2"\\F_{2"}=25 ksi

Now the steel has the elastic modulus of E=29000 ksi

Strain=\frac{Stress}{Elastic Modulus}\\Strain=\frac{F_{2"}}{E}\\Strain=\frac{25}{29000}\\Strain=8.621 \times 10^{-4} in/in

So the strain is 8.621 \times 10^{-4} in/in

Part c:

For a rectangular shape the shape factor is given as 1.5.

Now the plastic moment is given as

shape\, factor=\frac{Plastic\, Moment}{Yield\, Moment}\\{Plastic\, Moment}=shape\, factor\times {Yield\, Moment}\\{Plastic\, Moment}=1.5\times400 ksi\\{Plastic\, Moment}=600 ksi

The plastic moment is 600 ksi.

3 0
3 years ago
Explain the working and performance of a centrifugal clutch with a sketch​
FinnZ [79.3K]

Answer:

A centrifugal clutch works, as the name suggests, through centrifugal force.

One of the most common methods is by mounting the clutch onto the parallel or taper crank shaft of the engine.

When the crank shaft rotates the shaft of the clutch rotates at the same speed as the engine

5 0
2 years ago
Read 2 more answers
Other questions:
  • Describe the meaning of the different symbols and abbreviations found on the drawings/documents that they use (such as BS8888, s
    12·1 answer
  • A strip of AISI 304 stainless steel, 2mm thick by 3cm wide, at 550°C, continuously enters a cooling chamber that removes heat at
    12·1 answer
  • Assuming that the following three variables have already been declared, which variable will store a Boolean value after these st
    14·1 answer
  • Consider a drainage basin having 60% soil group A and 40% soil group B. Five years ago the land use pattern in the basin was ½ w
    12·1 answer
  • Explain why you chose the final design of your prototype and how it solved the identified need
    9·1 answer
  • The input and output signals of a system is related by the following equation: fraction numerator d squared y over denominator d
    11·1 answer
  • Please please help please with this this is the link for the story PLEASE PLEASE HELP PLEASE PLEASE help please
    7·1 answer
  • Assignment # 2
    5·1 answer
  • Can you solve this question​
    11·2 answers
  • Explain the concept of energy conversion as applied to the generation of electricity also known as electrical energy​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!