← All sections

Pandas

0 / 160 solved · Easy 55 · Medium 85 · Hard 20

#TitleDifficulty
1○Import pandasEasy
2○pandas VersionEasy
3○Create a DataFrameEasy
4○Summary of a DataFrameEasy
5○First 3 RowsEasy
6○Select Two ColumnsEasy
7○Select Rows and ColumnsEasy
8○Rows with Visits > 3Easy
9○Rows with Missing AgeEasy
10○Cats Younger Than 3Easy
11○Age Between 2 and 4Easy
12○Change a Single ValueEasy
13○Total VisitsEasy
14○Mean Age per AnimalEasy
15○Append then Delete a RowEasy
16○Count Each AnimalEasy
17○Sort by Two ColumnsEasy
18○Map yes/no to BooleanEasy
19○Replace a ValueEasy
20○Pivot Table of Mean AgeMedium
21○Drop Consecutive DuplicatesMedium
22○Subtract the Row MeanMedium
23○Column with Smallest SumMedium
24○Count Fully-Unique RowsMedium
25○Column of the Third NaNHard
26○Sum of Three Greatest per GroupHard
27○Premium problem, upgrade to unlockSum over Integer BinsHard
28○Premium problem, upgrade to unlockDistance to Previous ZeroHard
29○Premium problem, upgrade to unlockLocations of 3 Largest ValuesHard
30○Premium problem, upgrade to unlockPatch Negatives with Group MeanHard
31○Premium problem, upgrade to unlockGrouped Rolling Mean (ignore NaN)Hard
32○Premium problem, upgrade to unlockBusiness-Day Series of 2015Easy
33○Premium problem, upgrade to unlockSum on WednesdaysMedium
34○Premium problem, upgrade to unlockMean per Calendar MonthMedium
35○Premium problem, upgrade to unlockPeak Date per 4 MonthsHard
36○Premium problem, upgrade to unlockThird ThursdaysMedium
37○Premium problem, upgrade to unlockFill Missing Flight NumbersMedium
38○Premium problem, upgrade to unlockSplit From_To ColumnMedium
39○Premium problem, upgrade to unlockStandardise City CapitalisationMedium
40○Premium problem, upgrade to unlockReplace Column with Split ColumnsMedium
41○Premium problem, upgrade to unlockExtract Airline NameMedium
42○Premium problem, upgrade to unlockExpand List ColumnMedium
43○Premium problem, upgrade to unlockBuild a MultiIndex SeriesMedium
44○Premium problem, upgrade to unlockIs the Index Sorted?Medium
45○Premium problem, upgrade to unlockSelect from Second LevelMedium
46○Premium problem, upgrade to unlockSlice a MultiIndexMedium
47○Premium problem, upgrade to unlockSum per First LevelMedium
48○Premium problem, upgrade to unlockSum per Second Level via unstackMedium
49○Premium problem, upgrade to unlockSwap and Sort Index LevelsMedium
50○Premium problem, upgrade to unlockMinesweeper: Grid CoordinatesMedium
51○Premium problem, upgrade to unlockMinesweeper: Place MinesMedium
52○Premium problem, upgrade to unlockMinesweeper: Adjacent CountsHard
53○Premium problem, upgrade to unlockMinesweeper: NaN on MinesMedium
54○Premium problem, upgrade to unlockMinesweeper: Reshape to GridHard
55○Premium problem, upgrade to unlockHourly OHLC AggregationMedium
56○Premium problem, upgrade to unlockFilter Rows by MembershipEasy
57○Premium problem, upgrade to unlockReindex Rows and ColumnsMedium
58○Premium problem, upgrade to unlockFlag Duplicate Rows by SubsetMedium
59○Premium problem, upgrade to unlockCross-Section from a MultiIndexMedium
60○Premium problem, upgrade to unlockTuple-Index a MultiIndex with .locMedium
61○Premium problem, upgrade to unlockExtract One GroupEasy
62○Premium problem, upgrade to unlockNamed Aggregations per GroupMedium
63○Premium problem, upgrade to unlockFilter Groups by an Aggregate ConditionMedium
64○Premium problem, upgrade to unlockWithin-Group Z-ScoreHard
65○Premium problem, upgrade to unlockRoll to the Nearest Business DayMedium
66○Premium problem, upgrade to unlockMean Value in Leap-Year FebruariesMedium
67○Premium problem, upgrade to unlockResample to a New Frequency with Forward FillMedium
68○Premium problem, upgrade to unlockFind the Longest StringEasy
69○Premium problem, upgrade to unlockConcatenate Two String ColumnsEasy
70○Premium problem, upgrade to unlockExtract the Last Two CharactersEasy
71○Premium problem, upgrade to unlockFilter Rows Matching a RegexMedium
72○Premium problem, upgrade to unlockOne-Hot Encode a Multi-Value ColumnMedium
73○Premium problem, upgrade to unlockSafe Lookup with a DefaultEasy
74○Premium problem, upgrade to unlockAdd a Prefix to Index LabelsEasy
75○Premium problem, upgrade to unlockInterquartile RangeEasy
76○Premium problem, upgrade to unlockCount Unique Values, Counting NaNEasy
77○Premium problem, upgrade to unlockAdd Two Series with a Fill ValueMedium
78○Premium problem, upgrade to unlockCast Specific ColumnsEasy
79○Premium problem, upgrade to unlockRename Columns and Index TogetherEasy
80○Premium problem, upgrade to unlockDrop Sparse Rows with a ThresholdMedium
81○Premium problem, upgrade to unlockStack Two DataFramesEasy
82○Premium problem, upgrade to unlockConcatenate with Hierarchical KeysMedium
83○Premium problem, upgrade to unlockConcatenate Column-Wise with an Outer JoinMedium
84○Premium problem, upgrade to unlockInner Merge on a Shared KeyEasy
85○Premium problem, upgrade to unlockLeft Merge with Differently-Named KeysMedium
86○Premium problem, upgrade to unlockDistinct NeighbourhoodsEasy
87○Premium problem, upgrade to unlockTracks in the Top TenEasy
88○Premium problem, upgrade to unlockCheapest Listing in Each CityEasy
89○Premium problem, upgrade to unlockSalary Against the Department AverageMedium
90○Premium problem, upgrade to unlockCity Offering the Most AmenitiesMedium
91○Premium problem, upgrade to unlockAverage Order Value by Weekday and HourMedium
92○Premium problem, upgrade to unlockMonth-Over-Month User Growth per AccountHard
93○Premium problem, upgrade to unlockScore Spread Among Grade-A InspectionsEasy
94○Premium problem, upgrade to unlockCorrelation Between Emails and SessionsHard
95○Premium problem, upgrade to unlockLongest Winning StreakHard
96○Premium problem, upgrade to unlockJob Titles on the Top SalaryEasy
97○Premium problem, upgrade to unlockRank Senders by VolumeMedium
98○Premium problem, upgrade to unlockCompleted Tasks for One CompanyMedium
99○Premium problem, upgrade to unlockDistinct Streets per Postal CodeMedium
100○Premium problem, upgrade to unlockActive Three Days RunningHard
101○Premium problem, upgrade to unlockDense-Rank Hosts by Total BedsMedium
102○Premium problem, upgrade to unlockBudget per Assigned EmployeeMedium
103○Premium problem, upgrade to unlockThree-Month Rolling RevenueHard
104○Premium problem, upgrade to unlockMonth-Over-Month Revenue ChangeMedium
105○Premium problem, upgrade to unlockOne Current Row per EmployeeEasy
106○Premium problem, upgrade to unlockHousing Units Completed per YearEasy
107○Premium problem, upgrade to unlockRank Guests Oldest FirstEasy
108○Premium problem, upgrade to unlockCustomers Who Never OrderedMedium
109○Premium problem, upgrade to unlockTotal Order Cost per CustomerEasy
110○Premium problem, upgrade to unlockUsers in the Top Distance RanksMedium
111○Premium problem, upgrade to unlockShare of Viewed Posts That Are SpamMedium
112○Premium problem, upgrade to unlockCities Above the National AverageMedium
113○Premium problem, upgrade to unlockBest Rating per SearchMedium
114○Premium problem, upgrade to unlockPeak Headcount During Each TenureHard
115○Premium problem, upgrade to unlockMissing Email or Under EighteenEasy
116○Premium problem, upgrade to unlockFive Highest Salaries, Ties IncludedEasy
117○Premium problem, upgrade to unlockTop Three Products in Each CategoryMedium
118○Premium problem, upgrade to unlockSecond-Highest Distinct Salary per DepartmentMedium
119○Premium problem, upgrade to unlockSort by a Custom Priority OrderMedium
120○Premium problem, upgrade to unlockBucket Salaries into BandsEasy
121○Premium problem, upgrade to unlockOutliers by the 1.5 IQR RuleMedium
122○Premium problem, upgrade to unlockRows Where a Product's Price ChangedMedium
123○Premium problem, upgrade to unlockDistinct Customers per MonthMedium
124○Premium problem, upgrade to unlockEach Product's Share of Its CategoryMedium
125○Premium problem, upgrade to unlockQuantity-Weighted Average PriceMedium
126○Premium problem, upgrade to unlockOrder Counts Including Customers With NoneEasy
127○Premium problem, upgrade to unlockMost Frequently Ordered ProductMedium
128○Premium problem, upgrade to unlockBest-Selling Product in Each CategoryMedium
129○Premium problem, upgrade to unlockRunning Total per StoreMedium
130○Premium problem, upgrade to unlockNumber Each Customer's OrdersMedium
131○Premium problem, upgrade to unlockFirst Purchase, Last Purchase, Days BetweenMedium
132○Premium problem, upgrade to unlockCustomers With at Least One OrderMedium
133○Premium problem, upgrade to unlockReconcile Two SystemsMedium
134○Premium problem, upgrade to unlockJoin Three TablesMedium
135○Premium problem, upgrade to unlockExpand a Many-to-Many RelationshipMedium
136○Premium problem, upgrade to unlockConvert Sales Using a Dated Rate TableMedium
137○Premium problem, upgrade to unlockAttach the Last Known Price to Each TradeHard
138○Premium problem, upgrade to unlockIds Appearing More Than OnceMedium
139○Premium problem, upgrade to unlockCombine Two Months of TransactionsEasy
140○Premium problem, upgrade to unlockStack Frames With Different ColumnsMedium
141○Premium problem, upgrade to unlockMissing-Value ReportEasy
142○Premium problem, upgrade to unlockFill Missing Salary With the Department MedianMedium
143○Premium problem, upgrade to unlockCarry Balances Forward Within a CustomerMedium
144○Premium problem, upgrade to unlockFirst Available Phone NumberEasy
145○Premium problem, upgrade to unlockFind Duplicate TransactionsMedium
146○Premium problem, upgrade to unlockWide to LongEasy
147○Premium problem, upgrade to unlockLong to WideMedium
148○Premium problem, upgrade to unlockCross-Tabulate Two ColumnsEasy
149○Premium problem, upgrade to unlockCross-Tabulation as Row PercentagesMedium
150○Premium problem, upgrade to unlockFive Most Common TagsEasy
151○Premium problem, upgrade to unlockCount Email DomainsEasy
152○Premium problem, upgrade to unlockTidy Up NamesEasy
153○Premium problem, upgrade to unlockHashtag FrequenciesMedium
154○Premium problem, upgrade to unlockMost Common WordsMedium
155○Premium problem, upgrade to unlockStrip Phone Numbers to DigitsMedium
156○Premium problem, upgrade to unlockSplit a Timestamp into FeaturesEasy
157○Premium problem, upgrade to unlockSeven-Day Trailing Average per StoreMedium
158○Premium problem, upgrade to unlockChange From the Previous OrderMedium
159○Premium problem, upgrade to unlockSplit Events into SessionsHard
160○Premium problem, upgrade to unlockMonthly Cohort RetentionHard