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
The elevation of the end of the steel beam supported by a concrete floor is adjusted by means of the steel wedges E and F. The b
Wewaii [24]

Answer:

a) P ≥ 22.164 Kips

b) Q = 5.4 Kips

Explanation:

GIven

W = 18 Kips

μ₁ = 0.30

μ₂ = 0.60

a) P = ?

We get F₁  and F₂ as follows:

F₁ = μ₁*W = 0.30*18 Kips = 5.4 Kips

F₂ = μ₂*Nef = 0.6*Nef

Then, we apply

∑Fy = 0   (+↑)

Nef*Cos 12º -  F₂*Sin 12º = W

⇒   Nef*Cos 12º -  (0.6*Nef)*Sin 12º = 18

⇒   Nef = 21.09 Kips

Wedge moves if

P ≥ F₁ + F₂*Cos 12º + Nef*Sin 12º

⇒  P ≥ 5.4 Kips + 0.6*21.09 Kips*Cos 12º + 21.09 Kips*Sin 12º

⇒  P ≥ 22.164 Kips

b) For the static equilibrium of base plate

Q = F₁ = 5.4 Kips

We can see the pic shown in order to understand the question.

7 0
3 years ago
Read 2 more answers
python Write a program that asks a user to type in two strings and that prints •the characters that occur in both strings. •the
Yuliya22 [10]

Answer:

see explanation

Explanation:

#we first get the elements as inputs

x = input("enter string A :")

y = input("enter string B :")

#then we make independent sets with each

x = set(x)

y = set(y)

#then the intersection of the two sets

intersection = set.intersection(x,y)

#another set for the alphabet

#we use set.difference to get the elements present in x and not in y, and

#viceversa, finally we get the difference between the alphabet and the #intersection of the elements in our strings

z = set('abcdefghijklmnopqrstuvwxyz')

print('\nrepeated :\n',intersection)

print('differences :\n',' Items in A and not B\n',

set.difference(x,y),'\nItems in B and not A\n',

set.difference(y,x))

print('\nItems in neither :\n',set.difference(z,intersection))

8 0
3 years ago
You can change lanes during a turn long as there’s no traffic and you driving slowly
Vanyuwa [196]
Your allowed to switch lanes as long as the road is clear and you use signals.
5 0
2 years ago
How will you maintain the orderliness of your storage area 2pts?​
fiasKO [112]

Explanation:

Label and group products. One would think that a general cleanup would be the first step, but no, it's not. ...Clean up the area. ...Put up demarcation lines. ...Stack properly. ...Keep the aisles, paths and ramps clear. ...Have all the safety signs in place.

4 0
2 years ago
The 240-ft structure is used to provide various support services to launch vehicles prior to liftoff. In a test, a 12-ton weight
alina1380 [7]

Answer:

hello your question lacks the required question attached below is the missing diagram

Forces in GJ = -4.4444 i.e. 4.4444 tons

Forces in IG = 15.382 tons ( T )

Explanation:

Forces in GJ = -4.4444 i.e. 4.4444 tons

Forces in IG = 15.382 tons ( T )

attached below is the detailed solution

3 0
3 years ago
Other questions:
  • An array of electronic chips is mounted within a sealedrectangular enclosure, and colling is implemented by attaching analuminum
    5·1 answer
  • 4.2 A vapor compression refrigeration machine uses 30kW of electric power to produce 50 tons of cooling. What is
    14·1 answer
  • Air expands through an ideal turbine from 1 MPa, 900 K to 0.1 MPa, 500K. The inlet velocity is small compared to the exit veloci
    10·1 answer
  • A tank with a volume of 8 m3 containing 4 m3 of 20% (by volume) NaOH solution is to be purged by adding pure water at a rate of
    8·1 answer
  • Water flows at a rate of 10 gallons per minute in a new horizontal 0.75?in. diameter galvanized iron pipe. Determine the pressur
    8·1 answer
  • What is compression ratio of an Otto cycle? How does it affect the thermal efficiency of the cycle?
    14·1 answer
  • Can someone help plz?!?
    5·2 answers
  • Do you think the industrial revolution helped or hurt workers? Why?
    8·1 answer
  • TWO SENTENCES!!! What is something that you have used today that was designed by an engineer? What parts were designed by an eng
    11·2 answers
  • When nondeterminism results from multiple threads attempting to access a shared resource such as a shared variable or a shared f
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!