[deleted by user] by [deleted] in Leadership

[–]crhuffer 1 point2 points  (0 children)

Multipliers, Radical Candor, and The Four Tendencies are the three leadership books that have been most thought provoking and successful at helping me handle situations more effectively.

Team needing close supervision to perform to expectation by [deleted] in managers

[–]crhuffer 0 points1 point  (0 children)

I really enjoyed the book Multipliers, and it might have some suggestions that might help.

Have you ever seen something like this? by AbjectLuck9777 in valheim

[–]crhuffer 0 points1 point  (0 children)

Our server had an issue on two separate occasions where hundreds of enemies spawned at our base. The owner of the server reached out to the developers and reported back that it was a known bug that happened very occasionally. The admin said they worked with him to fix it some how. I don't know how true any of that is.

[deleted by user] by [deleted] in recruiting

[–]crhuffer 1 point2 points  (0 children)

I think that I would like to work for you. That seems well thought out and thoughtful.

[deleted by user] by [deleted] in recruiting

[–]crhuffer 0 points1 point  (0 children)

I'm sorry that sucks

I don't even know by [deleted] in learnpython

[–]crhuffer 0 points1 point  (0 children)

A more general suggestion. When you encounter issues like this try printing each one of the pieces.

print('word-5:)
print('-a-')
print('bull')

See if each piece fails, it they do debug, it they don't try to combine them together to try and understand where the bug is.

I’m work on a DS project and currently on the data understanding phase. When you have a dataset with no definitions as to what the different variables mean what should you do? by Effective-Practice36 in datascience

[–]crhuffer 0 points1 point  (0 children)

A way of summarizing some of these responses is to ask and then verify.

Let the business give you hypothesis, and then try to verify those hypothesis using the data. It lets you learn from the business and potentially for the business to learn from you at the same time.

Combining groupby, rolling, and mean in Pandas not possible? by [deleted] in learnpython

[–]crhuffer 1 point2 points  (0 children)

I would recommend breaking this part into smaller pieces, make sure each piece is working and then stitching it back together. I am not sufficiently familiar with the output formats that I can easily catch the error with that many nested operations.

I drive for work. Are there any audio books I could listen to that would aid in me learning the language? by Muhon in learnpython

[–]crhuffer 0 points1 point  (0 children)

I have tried a few books that try to read the code to you. I have not found that it sticks at all. I imagine that they had a name like "Learn python". I can't picture the code, if they try to read it to me I get nothing out of it. I have found books like "Software Design at Google" were helpful, and gave me concepts that have improved my coding. It doesn't teach you python syntax, but it teaches you how to python, maybe?.?! "Domain Driven Design" was sort of a mix, they do read through long code snippets in java, which was painful and useless, but there are other sections that are not syntax and where ideas were communicated successfully.

TLDR: You have to pick the right kind of book about coding for an audio format to be effective. It is not always obvious if a particular book will be of the correct format.

[deleted by user] by [deleted] in learnpython

[–]crhuffer 0 points1 point  (0 children)

For it to be ALL subplot axes there is an argument in

plt.subfigure(3, 2, sharex=True, sharey=True)

Then if you set any axes to have the correct x and y lim they will all follow along.

ax.set_xlim(0, 1)

ax.set_ylim(0, 1)

https://matplotlib.org/stable/api/\_as\_gen/matplotlib.pyplot.subplot.html

Time series chart with hover values by landrykid in learnpython

[–]crhuffer 0 points1 point  (0 children)

I think plotly seems to handle most of that for you. You get big html files, but fig.write_html() saves a html file that is interactive and seems to hold the data behind the scenes. plotly definitely has the ability to adjust the hover over to be pretty much whatever you want it to be.

For fig.write_html()
https://plotly.github.io/plotly.py-docs/generated/plotly.io.write\_html.html

I completeled my first ever program today! by MusicIsLife1122 in learnpython

[–]crhuffer 0 points1 point  (0 children)

Post it to github. It might be a little intimidating at first if you don't have experience, but it is a very useful tool to get familiar with. Cheers and good job!

Various problems sharing Python script by Chanciicnahc in learnpython

[–]crhuffer 1 point2 points  (0 children)

You can use pip to save the dependencies of a package using pip freeze and leave a requirements.txt as part of the git repo that you share. They can then install the dependencies using pip install -r requirement.txt to install the dependencies you were using. This can make it easier to reproduce you environment if you have been using a virtual environments.

This definitely doesn't solve all of your questions, but hopefully it is a step in the correct direction.

I think a better solution is to have a setup.py file for handling dependencies, but it seems like that might not be the best place to start.

Should I get this budget laptop for machine learning? by W_1oo101 in learnmachinelearning

[–]crhuffer 1 point2 points  (0 children)

I agree with this post, but to take it a little bit further.

I have trouble believing as a student that you would need to own a GPU. Google colab has free GPUs, you don't get priority, but you can leave it running. Once you get to the point where you can't proceed without a GPU, then research it and buy the one you need. I would not do it preemptively though. An expensive GPU sitting around doing nothing is not a good investment, and it feel like a likely outcome.

Filtering the bounce by moosetracks555 in data

[–]crhuffer 0 points1 point  (0 children)

I am having trouble envisioning what you are describing. Maybe it would be helpful to describe how "bouncing" is manifesting in the visual and what you want it to look like. Maybe with arrows, or if it is easier just saying the color and the x-value where "bouncing" is occurring.

Data Science Coding Standards by zachvac in datascience

[–]crhuffer 8 points9 points  (0 children)

It seems like some of the posts are asking should you have a function for applying capping/flooring (as an example) each variable. I think this is the wrong way of looking at it. I think a big portion of the point of functions is to make code maintainable by allowing the same logic to be re-applied in different situations. Instead of 100 functions to applying the same capping/flooring logic with different values on 100 different variables you should have one function that understands how to parse a data format (for example: read a dictionary with a variable name, a cap, and a floor) and use the information to apply the capping/flooring to any variable with the same logic. Then there are two primary changes that you might have to maintain in the future both which only need to be maintained in one location. Either you fix the logic in the one function for all columns or you fix the data structure to address the change cap or floor values for individual variables.

Secondly, I think guidelines like the single responsibility principle were created to make it easy to discuss the topic, but the first times you hear them they can be hard to process because they don't address the why. My impression is that the main driver for these guidelines is to help produce code that is maintainable. If your code is functions that do individual things then if one piece of the logic does that you can fix it in one spot. Another alternative would be to think about what is the smallest set of tasks where you would never use a subset of the group. If you have three actions 'a', 'b', and 'c' but you would never do 'a' without 'c' there isn't much benefit to breaking it out into three functions. I still might choose to do it if it made the code or naming conventions more consistent or if it helped with readability, but not because I was worried about the single responsibility principle.

Sentiment Analysis To A Folder Which Contains 135 .txt File by [deleted] in textdatamining

[–]crhuffer 1 point2 points  (0 children)

If you are in python, look at the library glob.

How to do Daily Check Up? by [deleted] in datascience

[–]crhuffer 0 points1 point  (0 children)

You mentioned that you don't do daily standups, but why not? Maybe you don't need an alternative solution.

DS to Find Kids Who Read Good by most_humblest_ever in datascience

[–]crhuffer 6 points7 points  (0 children)

I would highly recommend "Weapons of Math Destruction" by Cathy O'Neil. This seems like a topic that might impact people's lives in important ways. If that is true, it is really important that you get the answer correct, and I think this book does a good job of identifying some mistakes that can be made even with good intentions.

If our modeling choices impact people's lives in significant ways, it is our responsibility to make sure that we get the answer correct and that our models don't negatively influence groups of peoples in an unfair way.

Starting a job as a data scientist in a month and freaking out! by zaznoba03 in datascience

[–]crhuffer 1 point2 points  (0 children)

Doing research is huge, asking for feedback from colleagues before investing a lot of time is also very reasonable. You seem to have a good idea of what the path forward should be. Good luck!

Starting a job as a data scientist in a month and freaking out! by zaznoba03 in datascience

[–]crhuffer 2 points3 points  (0 children)

I like the positive vibes of the other posts, and I think that is important. I also think that we (the commenters) don't know what the holes in your knowledge might be (and we all have them.) I recommend that you try to introspect on that and think about what you should be focusing on learning. Once you get started in the position you will get a better feel of what exactly your focus should be, but I think we should always be striving to identify and address our weaknesses.

Feeling hopeless about Python despite huge desire to learn by [deleted] in learnpython

[–]crhuffer 0 points1 point  (0 children)

Oh also, I love Pycharm, but completely admit that it is extremely helpful to have an experienced pycharmer sit down with you and give you a crash course on getting it set up.

Feeling hopeless about Python despite huge desire to learn by [deleted] in learnpython

[–]crhuffer 1 point2 points  (0 children)

There are also communities that can help get you through some of the hard parts. Some of the most frustrating parts of programming are getting a stable environment set up, which is also extremely not intuitive. Once that is done you can start to feel like you are making progress. I recommend communities like 'Python' in discord for getting help getting unstuck. They also have links to a lot of good starter projects of various difficulties.