← All topics

Python: Pandas DataFrames

50 exercises3 free
  1. 011. Create DataFrame from dict
    Free
  2. 022. Print first 5 rows
    Free
  3. 033. Summary statistics
    Free
  4. 044. Select a specific column
    Locked
  5. 055. Filter rows by condition
    Locked
  6. 066. Add a new column
    Locked
  7. 077. Group by a column and compute mean
    Locked
  8. 088. Sort by a specific column
    Locked
  9. 099. Drop rows with missing values
    Locked
  10. 1010. Merge two DataFrames
    Locked
  11. 1111. Rename a column
    Locked
  12. 1212. Drop a column
    Locked
  13. 1313. Fill missing values
    Locked
  14. 1414. Replace values
    Locked
  15. 1515. Drop duplicates
    Locked
  16. 1616. Map values
    Locked
  17. 1717. Apply function to a column
    Locked
  18. 1818. Concatenate two DataFrames
    Locked
  19. 1919. Melt (unpivot) a DataFrame
    Locked
  20. 2020. Create a pivot table
    Locked
  21. 2121. Set a MultiIndex
    Locked
  22. 2222. Unstack a MultiIndex
    Locked
  23. 2323. Insert a row by loc
    Locked
  24. 2424. Mask and replace values in a column
    Locked
  25. 2525. Value counts of a column
    Locked
  26. 2626. Read from CSV (StringIO)
    Locked
  27. 2727. Write to CSV (StringIO)
    Locked
  28. 2828. Reindex a DataFrame
    Locked
  29. 2929. Set and reset index
    Locked
  30. 3030. Sort by multiple columns
    Locked
  31. 3131. Merge with a left join
    Locked
  32. 3232. Outer join merge
    Locked
  33. 3333. Aggregate multiple columns
    Locked
  34. 3434. Map with a dictionary
    Locked
  35. 3535. Count unique values in a column
    Locked
  36. 3636. Assign a new column with .assign()
    Locked
  37. 3737. Detect and count duplicates
    Locked
  38. 3838. Query usage
    Locked
  39. 3939. Pivot from long to wide
    Locked
  40. 4040. Pivot from wide to long
    Locked
  41. 4141. Slice rows with loc
    Locked
  42. 4242. Slice by position with iloc
    Locked
  43. 4343. Group by multiple columns
    Locked
  44. 4444. Merge on multiple keys
    Locked
  45. 4545. Sort groupby results
    Locked
  46. 4646. Rolling mean
    Locked
  47. 4747. Shift column
    Locked
  48. 4848. Insert column at a specific position
    Locked
  49. 4949. Create DataFrame from list of dicts
    Locked
  50. 5050. Combine multiple aggregations with groupby
    Locked