Skip to main content
Himanshuman's user avatar
Himanshuman's user avatar
Himanshuman's user avatar
Himanshuman
  • Member for 4 years, 11 months
  • Last seen more than a month ago
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.

Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
8
bronze badges
0
Score
3
Posts
60
Posts %
0
Score
2
Posts
40
Posts %
0
Score
2
Posts
40
Posts %
0
Score
2
Posts
40
Posts %
0
Score
2
Posts
40
Posts %
0
Score
2
Posts
40
Posts %
Top posts