How can I get a single column from a dataframe with a code like this? I want to get “Installs” like the question says as the single column /u/Flash-Beam Python Education

Question 1.6: Create a DataFrame called install_stats which has a single column, ‘Installs’, that contains the mean number of ‘Installs’ for each type of ‘Content Rating’. It’s okay if the answers display in scientific notation.

install_stats = apps.groupby(‘Content Rating’).mean()

I try to use .get but it never works every time

submitted by /u/Flash-Beam
[link] [comments]

​r/learnpython Question 1.6: Create a DataFrame called install_stats which has a single column, ‘Installs’, that contains the mean number of ‘Installs’ for each type of ‘Content Rating’. It’s okay if the answers display in scientific notation. install_stats = apps.groupby(‘Content Rating’).mean() I try to use .get but it never works every time submitted by /u/Flash-Beam [link] [comments] 

Question 1.6: Create a DataFrame called install_stats which has a single column, ‘Installs’, that contains the mean number of ‘Installs’ for each type of ‘Content Rating’. It’s okay if the answers display in scientific notation.

install_stats = apps.groupby(‘Content Rating’).mean()

I try to use .get but it never works every time

submitted by /u/Flash-Beam
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *