Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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
Edit Post #288552 Initial revision over 1 year ago
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)
over 1 year ago
Comment Post #287884 How would that simpler way look like?
(more)
almost 2 years ago
Edit Post #286822 Post edited:
Fix formatting.
over 2 years ago
Edit Post #286822 Initial revision over 2 years 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 2 years ago
Comment Post #286789 What do you mean? I just want to understand what you want. Your question is ostensibly about matplotlib tables but there are hints in it that you might prefer a latex table. Do you really want a matplotlib table?
(more)
over 2 years ago
Comment Post #286789 Do you really want a matplotlib table? Generating a latex table shouldn't require much manual formatting.
(more)
over 2 years ago
Comment Post #279744 "The tests are covering both functionality and the persistence." Be careful. You are testing the functionality. Persistence or mocks can be involved as well as language constructs. But you are testing neither the persistency, the mocks nor the language, you just trust them.
(more)
about 4 years ago
Comment Post #279744 Sorry, I don't know why I got the wrong impression that you were writing mock classes. But anyway you have to code the mocks' behavior. More code, that is the point. I am not really qualified to compare the complexity of the setup for each approach but I don't expect it to make much of a difference. ...
(more)
about 4 years ago
Edit Post #279744 Post edited:
Address some OP's concerns, general improvements and additions.
about 4 years ago
Edit Post #279744 Post edited:
about 4 years ago
Edit Post #279744 Initial revision about 4 years 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)
about 4 years ago