Skip to main content
The 2024 Developer Survey results are live! See the results
unutbu's user avatar
unutbu's user avatar
unutbu's user avatar
unutbu
  • Member for 14 years, 9 months
  • Last seen more than 1 year ago
6516 votes
Accepted

How do I select rows from a DataFrame based on column values?

3930 votes
Accepted

What is the difference between @staticmethod and @classmethod in Python?

1980 votes
Accepted

How do I iterate through two lists in parallel?

1637 votes
Accepted

Why dict.get(key) instead of dict[key]?

1052 votes
Accepted

How do I create a new column where the values are selected based on an existing column?

945 votes
Accepted

Set value for particular cell in pandas DataFrame using index

922 votes
Accepted

Changing the tick frequency on the x or y axis

876 votes
Accepted

How to make a datetime object aware (not naive)

844 votes
Accepted

Converting Python dict to kwargs?

831 votes
Accepted

Pandas: Get first row value of a given column

799 votes
Accepted

Python Pandas: Get index of rows where column matches certain value

774 votes
Accepted

Pretty-print a NumPy array without scientific notation and with given precision

753 votes
Accepted

How do I get cURL to not show the progress bar?

736 votes
Accepted

Find nearest value in numpy array

715 votes
Accepted

Select DataFrame rows between two dates

648 votes

How to count the frequency of the elements in an unordered list?

604 votes
Accepted

Is there a list of Pytz Timezones?

572 votes
Accepted

Safe method to get value of nested dictionary

560 votes
Accepted

multiprocessing.Pool: When to use apply, apply_async or map?

530 votes
Accepted

Python argparse ignore unrecognised arguments

507 votes
Accepted

Display image as grayscale

496 votes
Accepted

How to find all the subclasses of a class given its name?

481 votes

What are the differences between numpy arrays and matrices? Which one should I use?

474 votes
Accepted

How can I convert an RGB image into grayscale in Python?

474 votes
Accepted

How to set a single, main title above all the subplots

469 votes
Accepted

How to find the installed pandas version

459 votes

How do I read a large csv file with pandas?

458 votes
Accepted

How to display pandas DataFrame of floats using a format string for columns?

447 votes
Accepted

Python argparse: default value or specified value

433 votes
Accepted

Python multiprocessing PicklingError: Can't pickle <type 'function'>

1
2 3 4 5
251