Skip to content

Commit 6504b1b

Browse files
restyled-commitsAvdhutPailwan
authored andcommitted
Restyled by whitespace
1 parent 4ff0dd7 commit 6504b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsa-solutions/lc-solutions/2800-2899/2883-Drop-Missing-Data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
7777
- **Space Complexity:** $O(n)$
7878
- **Iterating over the DataFrame:** The notnull() function on the 'name' column performs an O(n) operation, iterating through each row of the DataFrame, where n is the number of rows.
7979
- **Boolean indexing:** Usually an O(n) process, this involves building a new DataFrame from the boolean mask (the output of notnull()).
80-
- **New DataFrame:** To hold the filtered data, the function builds a new DataFrame. The number of rows with complete "name" values determines the size of this new DataFrame, and in the worst scenario, that number may reach n.
80+
- **New DataFrame:** To hold the filtered data, the function builds a new DataFrame. The number of rows with complete "name" values determines the size of this new DataFrame, and in the worst scenario, that number may reach n.
8181
As a result, O(n) is also the space complexity.
8282

8383
---

0 commit comments

Comments
 (0)