Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Goyo
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: Automatically install all packages needed You can use `pipreqs` - It will automate the generation of a requirements file. - This can spare you the annoying dance without necessarily mixing environment setup and script execution. (more) |
— | 11 months ago |
Answer | — |
A: How to plot table from pandas dataframe If you want a table for including in a latex document, then DataFrame.tolatex should be the best way. ``` import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(9, 4), columns=['a', 'b', 'c', 'd']) print(df.tolatex()) ``` Output: ```latex \begin{tabular}{lrrrr} \topru... (more) |
— | over 1 year ago |
Answer | — |
A: What are the cons of directly mocking Entity Framework DbSets instead of working with an in-memory database when unit testing the application? The problem is that you have to write code for the test doubles and its behavior. In the author's eyes that is just unnecessary complexity because the required behavior is already provided by the framework. If you checked Jason's talk (do it now if you didn't, really) you will find that in his sim... (more) |
— | over 3 years ago |