0

I am very new to list comprehensions. Sometimes I understand them, and sometimes I don't. I am not confident in reading them. I came across one in a lesson I am taking, but I don't know how to read it. I pasted the code and linked in an image of the result. Can anyone please help me?

How do I read this list comprehension?

df1=pd.DataFrame([np.random.random(100) for x in range(100)])

This was the resulting DataFrame: enter image description here

0 Answers0