← All sections

Pandas

0 / 85 solved · Easy 33 · Medium 41 · Hard 11

#TitleDifficulty
1Import pandasEasy
2pandas VersionEasy
3Create a DataFrameEasy
4Summary of a DataFrameEasy
5First 3 RowsEasy
6Select Two ColumnsEasy
7Select Rows and ColumnsEasy
8Rows with Visits > 3Easy
9Rows with Missing AgeEasy
10Cats Younger Than 3Easy
11Age Between 2 and 4Easy
12Change a Single ValueEasy
13Total VisitsEasy
14Mean Age per AnimalEasy
15Append then Delete a RowEasy
16Count Each AnimalEasy
17Sort by Two ColumnsEasy
18Map yes/no to BooleanEasy
19Replace a ValueEasy
20Pivot Table of Mean AgeMedium
21Drop Consecutive DuplicatesMedium
22Subtract the Row MeanMedium
23Column with Smallest SumMedium
24Count Fully-Unique RowsMedium
25Column of the Third NaNHard
26Sum of Three Greatest per GroupHard
27Sum over Integer BinsHard
28Distance to Previous ZeroHard
29Locations of 3 Largest ValuesHard
30Patch Negatives with Group MeanHard
31Grouped Rolling Mean (ignore NaN)Hard
32Business-Day Series of 2015Easy
33Sum on WednesdaysMedium
34Mean per Calendar MonthMedium
35Peak Date per 4 MonthsHard
36Third ThursdaysMedium
37Fill Missing Flight NumbersMedium
38Split From_To ColumnMedium
39Standardise City CapitalisationMedium
40Replace Column with Split ColumnsMedium
41Extract Airline NameMedium
42Expand List ColumnMedium
43Build a MultiIndex SeriesMedium
44Is the Index Sorted?Medium
45Select from Second LevelMedium
46Slice a MultiIndexMedium
47Sum per First LevelMedium
48Sum per Second Level via unstackMedium
49Swap and Sort Index LevelsMedium
50Minesweeper: Grid CoordinatesMedium
51Minesweeper: Place MinesMedium
52Minesweeper: Adjacent CountsHard
53Minesweeper: NaN on MinesMedium
54Minesweeper: Reshape to GridHard
55Hourly OHLC AggregationMedium
56Filter Rows by MembershipEasy
57Reindex Rows and ColumnsMedium
58Flag Duplicate Rows by SubsetMedium
59Cross-Section from a MultiIndexMedium
60Tuple-Index a MultiIndex with .locMedium
61Extract One GroupEasy
62Named Aggregations per GroupMedium
63Filter Groups by an Aggregate ConditionMedium
64Within-Group Z-ScoreHard
65Roll to the Nearest Business DayMedium
66Mean Value in Leap-Year FebruariesMedium
67Resample to a New Frequency with Forward FillMedium
68Find the Longest StringEasy
69Concatenate Two String ColumnsEasy
70Extract the Last Two CharactersEasy
71Filter Rows Matching a RegexMedium
72One-Hot Encode a Multi-Value ColumnMedium
73Safe Lookup with a DefaultEasy
74Add a Prefix to Index LabelsEasy
75Interquartile RangeEasy
76Count Unique Values, Counting NaNEasy
77Add Two Series with a Fill ValueMedium
78Cast Specific ColumnsEasy
79Rename Columns and Index TogetherEasy
80Drop Sparse Rows with a ThresholdMedium
81Stack Two DataFramesEasy
82Concatenate with Hierarchical KeysMedium
83Concatenate Column-Wise with an Outer JoinMedium
84Inner Merge on a Shared KeyEasy
85Left Merge with Differently-Named KeysMedium