Fariba Laiq

Python How-To's

  1. Reduce Fractions in Python
  2. Get Cookie Using Python Selenium
  3. Plot Decision Boundary Python
  4. Fit a Step Function in Python
  5. Open File Exception Handling in Python
  6. Execute Python Script via Crontab
  7. Escape Curly Braces in F-String in Python
  8. Escape Curly Braces Using format() in Python
  9. Vim Autocomplete for Python
  10. Python Bitwise NOT
  11. Solve AttributeError: 'Nonetype' Object Has No Attribute 'Group' in Python
  12. Valueerror: Expected 2d Array, Got 1d Array Instead
  13. Python NameError: Name Execfile Is Not Defined
  14. Error: Bash: Syntax Error Near Unexpected Token '(' in Python
  15. ModuleNotFoundError: No Module Named Openpyxl in Python
  16. Fix TypeError: 'map' Object Is Not Subscriptable in Python
  17. ModuleNotFoundError: No Module Named mpl_toolkits.basemap in Python
  18. Pyhont File Not Found Error
  19. ValueError: Unsupported Pickle Protocol: 3 in Python
  20. Fix TypeError: Non-Empty Format String Passed to Object.__format__ in Python
  21. Resolve KeyError 0 in Python
  22. Resolve OSError: [Errno 2] No Such File or Directory in Python
  23. Resolve TypeError: Module Object Is Not Callable in Python
  24. Encode UTF8 in Python
  25. Fix TabError in Python
  26. Inorder Traversal of a Tree in Python
  27. List All Files in Directory and Subdirectories in Python
  28. Profile a Python Code
  29. Remove HTML Tags From a String in Python
  30. Login to a Website Using Selenium Python
  31. Make a Grade Converter in Python
  32. Open and Close Tabs in a Browser Using Selenium Python
  33. Scroll Down a Website Using Python Selenium
  34. Web Element Methods in Selenium Python
  35. First Class Functions in Python
  36. Python Determinant
  37. Python Plot CSV
  38. Python Validate IP Address
  39. Check if a Word Exists in a String in Python
  40. Factory Pattern in Python
  41. Overload Operator in Python
  42. Schedule in Python
  43. Swap Elements of a List in Python
  44. Coverage in Python
  45. Folium Package in Python
  46. NetworkX Package in Python
  47. Install Python on Linux
  48. AES Encryption in Python
  49. Depth-First Search in Python
  50. Image Resize in Python
  51. Memory Profiler in Python
  52. Python Iterable
  53. Using Urlencode in Python
  54. Named Tuple in Python
  55. Python ->
  56. Using getitem in Python
  57. Using RMSE in Python
  58. Python Beep
  59. Python Multiple if Statements on One Line
  60. Python Title Case
  61. Remove List From List in Python
  62. Create a List of Range of Dates in Python
  63. Get Year From a Datetime Object in Python
  64. Normalize a List of Numbers in Python
  65. Print Contents of PYTHONPATH in Python

Python Pandas Howtos

  1. Pandas groupby() and diff()
  2. Pandas SQLAlchemy
  3. Pandas tz_localize
  4. Concatenate Two DataFrames in Pandas Python
  5. Rename Specific DataFrame Columns in Pandas
  6. Filter Rows After groupby() in Pandas Python
  7. Filter Rows That Contain a Specific String in Pandas
  8. Install Pandas in PyCharm
  9. OLS Regression in Pandas
  10. Pivot a DataFrame in Pandas
  11. Read Parquet File Into Pandas DataFrame
  12. Update Pandas in Anaconda
  13. Add Image to Pandas Dataframe
  14. Append List to DataFrame Pandas
  15. Move Column to Front in Pandas DataFrame
  16. Paramiko Python
  17. Python Contextlib
  18. GroupBy and Aggregate Multiple Columns in Pandas
  19. Plot a Line Graph With Data Points in Pandas
  20. Apply the If-Else Condition in a Pandas DataFrame
  21. Calculate the Mean of a Grouped Data in Pandas
  22. Get Substring in Pandas
  23. Plot Grouped Data in Pandas
  24. Read HTML Table in a Pandas DataFrame
  25. Calculate the Variance in a Pandas DataFrame
  26. Coalesce Values From Multiple Columns Into a Single Column in Pandas DataFrame
  27. Fill Missing Values in Pandas DataFrame
  28. Filter Data in a Pandas DataFrame
  29. Save Pandas DataFrame as HTML Using Python
  30. Execute SQL Query in Pandas
  31. Pandas Apply Transform With Groupby
  32. Pandas Vlookup
  33. Calculate Percentage Change in Pandas
  34. Read Excel Multiple Sheets in Pandas

Kotlin Howtos

  1. Extend a Class Having Multiple Constructors in Kotlin

Python PyGame Howtos

  1. Conda Install Pygame
  2. Install Pygame for Python 3.5
  3. Mousebuttondown Event in PyGame
Author: Fariba Laiq
Fariba Laiq avatar Fariba Laiq avatar

I am Fariba Laiq from Pakistan. An android app developer, technical content writer, and coding instructor. Writing has always been one of my passions. I love to learn, implement and convey my knowledge to others.