Skip to main content
Himanshu Poddar's user avatar
Himanshu Poddar's user avatar
Himanshu Poddar's user avatar
Himanshu Poddar
An answer a day keeps impostorism away
  • Member for 7 years, 3 months
  • Last seen this week

Stats

7,901
reputation
2.3m
reached
219
answers
147
questions
Loading…

About

Using data to find solution to the problem, formulate stories to communicate the findings.

Learning for Knowledge

If you downvote one of my questions/answers, please leave a rational explanation(feedback).


Contact me on:

import pandas as pd
print(''.join(pd.Series([109,111,pd.np.nan,99,46,108,105,97,109,103,64,114,97,100,100,111,112,117,104,115,110,97,109,105,104,114,101,116,115,97,109]).dropna().astype(int)[::-1].map(chr)))

Something for all the noobs out there to keep in mind :

  1. Don't use floating point numbers until absolutely necessary. FloatingPointNumberN != FloatingPointNumberN

  2. Don’t be lazy. Do things the right way even if it’s a lot of work.

  3. Don’t give up on something just because you’re stuck. You’ll figure it out eventually.

  4. Always track down the root cause of a bug. If a bug just “goes away”, it hasn’t. If you can’t explain what fixed the bug, it isn’t.

  5. Write unit tests. It may seem unnecessary and a like lot of work, but it will help you in the long run. See point 1.

  6. Best practices are best practices for a reason. Don’t assume that your approach is better just because it’s what you’re used to.

  7. Make sure everything is reproducible. That includes data and infrastructure.

  8. If it’s not in version control, it doesn’t exist.

  9. Always abstract where it’s needed. Never abstract where it’s not needed.

  10. Think before you code.

  11. Readable code is better than elegant code if you can’t have both.

16
gold badges
60
silver badges
120
bronze badges
280
Score
273
Posts
75
Posts %
110
Score
106
Posts
29
Posts %
64
Score
62
Posts
17
Posts %
43
Score
44
Posts
12
Posts %
31
Score
47
Posts
13
Posts %
25
Score
21
Posts
6
Posts %

Top posts

View all questions, answers, and articles