Which Pandas function is used to read a CSV file into a DataFrame?, df.read_csv(), pd.load_csv(), pd.read_csv(), pd.open_csv(), Which statement about df.head() is correct?, It returns the first few rows of a DataFrame., It removes the first few rows., It returns only the column names., It calculates summary statistics., Which method is used to identify the number of missing values in each column?, df.dropna(), df.isnull().sum(), df.fillna(), df.describe(), Identify the INCORRECT statement., df.shape returns the number of rows and columns., df.info() provides information about data types and non-null counts., df.describe() provides summary statistics for numeric columns., df.columns() is a method used to calculate column statistics., Which method is most appropriate for finding the frequency of each category in a column such as Pclass?, df['Pclass'].mean(), df['Pclass'].describe(), df['Pclass'].value_counts(), df['Pclass'].shape, True or False: df.loc[2:8] and df.iloc[2:8] necessarily return exactly the same rows., True, False, Which method is used to replace missing values with a specified value such as the mean or mode?, fillna(), dropna(), drop_duplicates(), value_counts(), Which visualization is most suitable for identifying the distribution, skewness, and spread of a numeric variable such as Age?, sns.countplot(), sns.scatterplot(), sns.histplot(), sns.heatmap(), Consider the following code: df.query('Pclass > 2 and Fare > 10 and Fare < 50')[['Ticket', 'Name', 'Fare']] What is the primary purpose of this statement?, It calculates the average Fare for all passengers., It selects passengers satisfying multiple conditions and returns selected columns., It removes passengers whose Fare is outside the given range., It creates a correlation matrix between Pclass and Fare., A dataset contains missing Age values. The analyst wants to replace them with the mean age. Which sequence is most appropriate?, mean_age = df['Age'].mode(); df['Age'].dropna(mean_age), mean_age = df['Age'].mean(); df['Age'].fillna(mean_age, inplace=True), mean_age = df['Age'].value_counts(); df['Age'].ffill(mean_age), mean_age = df['Age'].describe(); df['Age'].drop_duplicates(mean_age), A dataset contains numeric features Age and Fare with very different scales. Which pairing correctly describes the scaling methods?, MinMaxScaler → zero mean and unit variance; StandardScaler → [0,1] range, MinMaxScaler → removes missing values; StandardScaler → removes duplicates, MinMaxScaler → [0,1] range; StandardScaler → zero mean and unit variance, MinMaxScaler → categorical encoding; StandardScaler → correlation analysis, A student wants to study the relationship between Age and Fare, while using Survived to distinguish groups visually. Which approach is most appropriate?, sns.countplot(x='Age', hue='Fare', data=df), sns.histplot(df['Survived']), sns.boxplot(x='Age', y='Fare', data=df), sns.scatterplot(x='Age', y='Fare', hue='Survived', data=df)
0%
EXPLORATORY DATA ANALYSIS
共用
共用
由
Baburajen17
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
AI 強化版:此活動包含 AI 生成的內容。
了解更多。
切換範本
顯示所有
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?