Manav Narula avatar Manav Narula avatar

About Manav Narula

LinkedIn

Manav is a IT Professional who has a lot of experience as a core developer in many live projects. He is an avid learner who enjoys learning new things and sharing his findings whenever possible.

Articles by Manav Narula

Python Pandas Howtos

  1. How to Convert JSON to a Pandas DataFrame
  2. How to Apply a Function to Multiple Columns in Pandas DataFrame
  3. How to Get Pandas Unique Values in Column and Sort Them
  4. How to Merge Pandas DataFrames on Index
  5. How to Create Pandas Dataframe From a List
  6. How to Select Multiple Columns in Pandas Dataframe
  7. How to Set Columns as Index in Pandas Dataframe
  8. Chunksize in Pandas
  9. Pandas read_sql_query in Python
  10. How to Read HDF5 Files Into Pandas DataFrame
  11. How to Convert Object to Float in Pandas
  12. How to Convert Pandas DataFrame to JSON
  13. How to Drop Columns by Index in Pandas DataFrame
  14. How to Iterate Through Columns of a Pandas DataFrame
  15. How to Subtract Two Columns of a Pandas DataFrame
  16. How to Convert Pandas to CSV Without Index
  17. How to Append Data to CSV using Pandas
  18. How to Convert Pandas Dataframe to Dictionary
  19. How to Show All Columns of a Pandas DataFrame
  20. How to Take Column-Slices of DataFrame in Pandas

Python How-To's

  1. Ellipsis Object in Python
  2. How to Find Prime Factors in Python
  3. How to Query String With Params for Requests in Python
  4. How to Sort List of Dictionaries in Python
  5. How to Unpack Operator ** in Python
  6. How to Wait 5 Seconds in Python
  7. The with Statement in Python
  8. WebDriverException: Message: Geckodriver Executable Needs to Be in PATH Error in Python
  9. How to Fix SyntaxError: Invalid Syntax When Using Command Line in Python
  10. How to Fix OverflowError: Math Range Error in Python
  11. How to Fix the SyntaxError: 'break' Outside Loop Error in Python
  12. How to Fix the TypeError: Can Only Join an Iterable in Python
  13. How to Fix Python OverflowError: Python Int Too Large to Convert to C Long
  14. How to Fix Python TypeError: Missing 1 Required Positional Argument
  15. How to Fix SyntaxError: Can't Assign to Literal Error in Python
  16. How to Fix Error - IDLE's Subprocess Didn't Make Connection Error in Python
  17. How to Fix the Can't Open File 'manage.py': [Errno 2] No Such File or Directory Error in Python
  18. How to Solve the ValueError: Zero Length Field Name in Format Error in Python
  19. How to Fix Error - IO.UnsupportedOperation: Not Writable Error in Python
  20. How to Fix TypeError: Unhashable Type: Slice in Python
  21. Error: Can't Find Python Executable Python, You Can Set the PYTHON Env Variable
  22. How to Fix ImportError: Cannot Import Name _Remove_dead_weakref in Python
  23. How to SIFT Using OpenCV in Python
  24. GUI Features of OpenCV in Python
  25. How to Create a QR Code Scanner Using OpenCV in Python
  26. How to Show an Image Using OpenCV in Python
  27. How to Image Moments Using OpenCV in Python
  28. Template Matching Using OpenCV in Python
  29. OpenCV sobel() Function
  30. Image Segmentation in OpenCV
  31. The HSV Color Space Using OpenCV in Python
  32. The imwrite() Function of OpenCV
  33. How to Object Tracking Using OpenCV
  34. How to Implement Kalman Filter Using OpenCV in Python
  35. How to Detect Image Color Using OpenCV in Python
  36. How to Use the OpenCV solvepnp() Function to Solve the PnP Problem
  37. How to Install OpenCV in Python
  38. How to Use the imshow() Function From OpenCV in Python
  39. OpenCV Canny in Python
  40. OpenCV Threshold
  41. OpenCV-contrib Module in Python
  42. How to Create a Keylogger in Python
  43. How to Print With Column Alignment in Python
  44. How to Capture Screenshot With Selenium in Python
  45. How to Click Button With Selenium in Python
  46. How to Find Elements With Selenium in Python
  47. How to Implicit Wait With Selenium in Python
  48. How to Select Options From Dropdown Menu With Selenium in Python
  49. How to Create an Auto Clicker in Python
  50. How to Downgrade Python Version
  51. How to Create Turtle Graphics in Python
  52. How to Find the Index of the Maximum Element in a List in Python
  53. Polymorphism in Python
  54. How to Create a Port Scanner in Python
  55. How to Implement Min Heap in Python
  56. How to Convert XLSX to CSV File in Python
  57. How to Implement Union-Find Algorithm in Python
  58. How to Download CSV From URL in Python
  59. How to Calculate the Sum of Digits in Python
  60. How to Check if a Set Is a Subset of Another Set in Python
  61. How to Find Index of Minimum Element in a List in Python
  62. How to Implement Lasso Regression in Python
  63. How to Implement the Snmpwalk Utility in Python
  64. How to Fix Inverse of Matrix in Python
  65. How to Implement a Touch File in Python
  66. How to Sample With Replacement in Python
  67. How to Solve the Issue - Python Program Closes Immediately
  68. Subprocess.check_output in Python
  69. How to Create an IRC Bot in Python 3
  70. How to Use SCP Protocol in Python
  71. K-Fold Cross-Validation in Python
  72. List vs. Dictionary in Python
  73. Property Decorator in Python
  74. The Pillow Package in Python
  75. Class Methods in Python
  76. Events in Python
  77. Graphs Data Structure in Python
  78. Buffer in Python
  79. Pointers in Python
  80. The Mixin Classes in Python
  81. kwargs in Python
  82. Sieve of Eratosthenes in Python
  83. Daemon Threads in Python
  84. The Walrus Operator := in Python
  85. Binomial Distribution in Python
  86. Order of Operations in Python
  87. How to Fix Float Object Is Not Callable in Python
  88. How to Fix Python Is Not Recognized as an Internal or External Command Error in Python
  89. How to Convert List to Comma-Separated String in Python
  90. How to Get Web Page in Python
  91. How to Change Python Version in PyCharm
  92. How to Fix Bytes-Like Object Is Required Not STR Error in Python
  93. How to Fix Object Has No Attribute Error in Python
  94. How to Fix STR Has No Attribute Decode Error in Python
  95. How to Fix Keywords Cannot Be Expression Error in Python
  96. How to Fix String Indices Must Be Integers Error in Python
  97. How to Fix TypeError: Not Enough Arguments for Format String Error in Python
  98. How to Fix Missing Parentheses in Print Error in Python
  99. How to Crop Image Using OpenCV in Python
  100. How to Join Threads in Python
  101. How to Use pydoc in Python
  102. The Singleton Design Pattern in Python
  103. How to Install SQLite in Python
  104. How to Unindent Code in Python
  105. Difference Between Multiprocessing and Threading in Python
  106. Command-Line Arguments in Python
  107. How to Get Permutations of a String in Python
  108. How to Save HTML as PDF in Python
  109. How to Solve Tower of Hanoi Probelem in Python
  110. How to Split String in Half in Python
  111. How to Convert Text to Speech in Python
  112. Nested Functions in Python
  113. The for...else Statement in Python
  114. How to Calculate Moving Average for NumPy Array in Python
  115. How to Resize Image in Python
  116. How to Change Python Path
  117. How to Check Python Module Version
  118. How to Check Variable Is String or Not in Python
  119. How to Generate Random Colors in Python
  120. How to Get Values of Dictionary in Python
  121. How to Print Blank Line in Python
  122. How to Read Matlab mat Files in Python
  123. Dictionary Comprehension in Python
  124. How to Catch All Exceptions in Python
  125. How to Convert Radians to Degrees and Vice-Versa in Python
  126. How to Find Character in a String in Python
  127. How to List of Numbers From 1 to N in Python
  128. How to Sort With Lambda in Python
  129. GREP in Python
  130. How to Print Matrix in Python
  131. How to Replace Character in a String in Python
  132. How to Run Python Script in Terminal
  133. Multiple Exceptions in Python
  134. SSH Using Python
  135. do...while Loop in Python
  136. How to Check if Input Is Integer in Python
  137. How to Check if Variable Is Integer Python
  138. How to Compare Lists in Python
  139. How to Convert NumPy Array to List in Python
  140. How to Generate Random Integers in Range in Python
  141. How to Implement Progress Bar in Python
  142. How to Print Data in Tabular Format in Python
  143. How to Read File to a String in Python
  144. Python Dictionary Index
  145. tostring() Equivalent in Python
  146. Where Is Python Installed
  147. How to Call External Program in Python
  148. Fibonacci Sequence in Python
  149. How to Apply a Function to a List in Python
  150. How to Convert String to Hex in Python
  151. How to Disable Path Length Limit in Python
  152. String Builder Equivalent in Python
  153. How to Compare Strings in Python
  154. How to Convert Dictionary to Tuples in Python
  155. How to Convert Hexadecimal to Decimal in Python
  156. How to Create List of Lists in Python
  157. How to Print List Without Square Brackets in Python
  158. How to Reload or Unimport Module in Python
  159. How to Calculate Square Root in Python
  160. How to Check for NaN Values in Python
  161. How to Create List of Zeros in Python
  162. How to Display an Image in Python
  163. How to Find Median of a List in Python
  164. How to Get the String Length and Size in Python
  165. How to Return Multiple Values From a Function in Python
  166. How to Split a String Into a Character Array in Python
  167. Inline if...else Statement in Python
  168. How to Check Element Not in a List in Python
  169. How to Check List Is Empty in Python
  170. if not Statement in Python
  171. How to Convert JSON to CSV in Python
  172. How to Get Path of the Current File in Python
  173. Scientific Notation in Python
  174. How to Find All the Indices of an Element in a List in Python
  175. How to Find String in List in Python
  176. How to Sort a List Alphabetically in Python
  177. How to Clear the Contents of a File in Python
  178. How to Convert Binary to Int in Python
  179. How to Count Number of Keys in Dictionary Python
  180. How to Convert DateTime to String With Milliseconds in Python
  181. How to Write Bytes to a File in Python
  182. How to Enumerate Dictionary in Python
  183. Nested Dictionary in Python
  184. How to Read Binary File in Python
  185. How to Read First Line of a File in Python
  186. How to Sum Dictionary Values in Python
  187. Nested Class in Python
  188. The maketrans Function in Python
  189. The Pdfminer Package in Python
  190. How to Round to Two Decimals in Python

Python Matplotlib Howto's

  1. How to Plot Vectors Using Python Matplotlib
  2. How to Display Greek Letters in Python Matplotlib
  3. How to Set Legend Title in Matplotlib
  4. How to Show Colorbar in Matplotlib
  5. Matplotlib Colorbar Range

Seaborn Howto's

  1. How to Control Transparency of Seaborn Plots
  2. How to Create Seaborn BoxPlot
  3. How to Create Seaborn Swarmplot
  4. How to Set Size of Seaborn Heatmap
  5. How to Create Correlation Heatmap in Seaborn
  6. How to Create FacetGrid in Seaborn
  7. How to Create Pairplot in Python Seaborn
  8. How to Create Violin Plot Using Seaborn
  9. How to Install Seaborn in Conda
  10. How to Install Seaborn With Pip in Python
  11. How to Remove Legend From Seaborn Plots in Python
  12. How to Reverse Log Scale in Seaborn Plots
  13. How to Set Axis Ticks in Seaborn Plots
  14. How to Set Marker Size in Seaborn Scatterplots
  15. How to Set the Background Color of Seaborn Plots
  16. How to Solve the Problem of Seaborn Plots Not Showing
  17. How to Use Catplot in Seaborn
  18. How to Change Location of Legend in Seaborn Plot
  19. How to Create Multiple Seaborn Plots
  20. How to Create Seaborn Subplots
  21. How to Plot the Graph Using the seaborn.lmplot() Function
  22. How to Plot Time Series Data in Seaborn
  23. Seaborn Set_xticklabels Function
  24. Seaborn tsplot() in Python
  25. How to Rotate Axis Tick Labels of Seaborn Plots
  26. How to Add and Customized Legend in Seaborn Plot
  27. How to Add Axis Labels to Seaborn Plot
  28. How to Add Title to Seaborn Plot
  29. How to Change Font Size in Seaborn Plot
  30. How to Change Seaborn Plot Size
  31. How to Create Seaborn Bar and Stacked Bar Plots
  32. How to Create Seaborn Line Plots
  33. How to Save Seaborn Figure in Python

Python NumPy Howtos

  1. Cosine of Degree Values in NumPy
  2. How to Check if NumPy Module Is Installed in Python
  3. How to Curve Curvature in Python
  4. How to Sum of Columns of a Matrix in NumPy
  5. Imaginary Numbers in NumPy Arrays
  6. Vector Addition in NumPy
  7. How to Add Row to Matrix in NumPy
  8. How to Convert Matrix to Array in NumPy
  9. How to Save NumPy Array as Image in Python
  10. One-Hot Encoding on NumPy Array in Python
  11. How to Calculate Euclidean Distance in Python
  12. How to Check NumPy Version in Python
  13. How to Find the First Index of Element in NumPy Array
  14. How to Read CSV to NumPy Array in Python
  15. How to Write NumPy Array to CSV in Python
  16. NumPy dot vs matmul in Python
  17. How to Normalize a Vector in Python
  18. How to Convert List to NumPy Array in Python
  19. NumPy mean() vs average()

Python Numpy Functions

  1. Python Numpy.pad Function

R Howtos

  1. How to Apply Function With Multiple Arguments in R
  2. How to Change Point Size in Graphs in R
  3. How to Remove Last Character From String in R
  4. Label BoxPlot in R
  5. How to Calculate Standard Error in R
  6. How to Count Number of Observations in R
  7. How to Find Index of an Element in a R Vector
  8. The replicate() Function in R
  9. Use the Tilde Symbol (~) in R
  10. How to Check the Version of R
  11. How to Use the diff Function in R
  12. ylim() and xlim() in R
  13. e in R
  14. How to Compute Natural Logarithm in R
  15. How to Count Number of Rows in R
  16. How to Create Empty Vector in R
  17. How to Create Stacked Histogram in R
  18. How to Set Thickness of Plots in R