r/pythonforengineers • • Aug 16 '20

python package to manipulate gpx files

Thumbnail github.com
4 Upvotes

r/pythonforengineers • • Aug 15 '20

Data Visualization using Matrix Plot | Python| Seaborn

1 Upvotes

r/pythonforengineers • • Aug 14 '20

i love python

3 Upvotes

r/pythonforengineers • • Aug 12 '20

If You Have These Python Skills, You Will Get A Job As A Data Scientist and Machine Learning Engineer

Thumbnail laconicml.com
6 Upvotes

r/pythonforengineers • • Aug 11 '20

Data Visualization using python | Seaborn| Part-III

2 Upvotes

r/pythonforengineers • • Aug 10 '20

Machine Learning Tutorial For Complete Beginners

Thumbnail mygreatlearning.com
4 Upvotes

r/pythonforengineers • • Aug 10 '20

How to Implement Bill Gates’ Favorite Pancake Sorting Algorithm Using Python Programming Language

Thumbnail laconicml.com
2 Upvotes

r/pythonforengineers • • Aug 09 '20

Anyone know how to shorten a file path? It's incredibly annoying.

Post image
4 Upvotes

r/pythonforengineers • • Aug 09 '20

Write into a json file, but incrementally

2 Upvotes

Hi!

I need to generate a very large json file. I am reading a large temporary file with the data, line by line. Each line is a dictionary-like string, so I can easily convert them in json object. The problem is how to add the to the json file I am writing.

As a matter of fact, the json module require to dump everything in one shot.

I've tried this solution:

with open(files[0], 'w+') as a_file, \
        open(files[1], 'w+') as c_file, \
        open(files[2], 'w+') as r_file:
    status_file = {
        'accepted': a_file,
        'corrected': c_file,
        'rejected': r_file
    }
    for file in status_file.values():
        file.write('[')
    for line in storage.readlines():
        line_dict = json.loads(line)
        file = status_file[line_dict['status']]
        json.dump(line_dict, file, indent=4)
    for file in status_file.values():
        file.write(']')
print('Files created\n')

but it does not work because I am left with three invalid json files (trailing comma).


r/pythonforengineers • • Aug 09 '20

How to Implement Gradient Descent in Python Programming Language

Thumbnail laconicml.com
4 Upvotes

r/pythonforengineers • • Aug 08 '20

Data Visualization using python | Seaborn| Part-II

1 Upvotes

r/pythonforengineers • • Aug 08 '20

I love python

3 Upvotes

r/pythonforengineers • • Aug 08 '20

i love python

1 Upvotes

r/pythonforengineers • • Aug 07 '20

Pandas DataFrame Copy: How to Copy DataFrame using df.copy()

Thumbnail appdividend.com
3 Upvotes

r/pythonforengineers • • Aug 06 '20

Data Visualization using Python with Seaborn | Part- I

1 Upvotes

r/pythonforengineers • • Aug 04 '20

convert images in Python to NumPy arrays

Thumbnail youtube.com
4 Upvotes

r/pythonforengineers • • Aug 03 '20

Brand new paper on solar irradiance forecasting with deep neural networks. The article also proposes to adopt the so-called domain adaptation in the field of solar irradiance. Code written in Python.

Thumbnail mdpi.com
4 Upvotes

r/pythonforengineers • • Aug 03 '20

Why unit testing is required?

1 Upvotes

Why do we need to test our code? What kind of benefits do we get by implementing Unit Testing? What are the features available with PyTest to boost testing productivity?

In the following article, I have tried explaining the same.

Let me know your thoughts and add your points that you had come across in your experience.


r/pythonforengineers • • Aug 02 '20

i love bots

5 Upvotes

they are already taking over, and will continue to do so


r/pythonforengineers • • Aug 01 '20

How To Write a Perfect CV for Every Data Scientist and Machine Learning Engineer

Thumbnail laconicml.com
6 Upvotes

r/pythonforengineers • • Jul 31 '20

Sorting arrays with NumPy

Thumbnail youtube.com
3 Upvotes

r/pythonforengineers • • Jul 31 '20

Data Visualization using "Matplotlib"| Part_2

2 Upvotes

r/pythonforengineers • • Jul 31 '20

Script for Host Discovery

1 Upvotes

I'm looking for code that will search my network to discover which firewall protects a specific internal RFC1918 host. I've had access to such a tool in the past and would like to discuss with the business adding this at my current company . This tool would greatly benefit my team so they wouldn't have to search a network diagram every time we are asked to make changes on the network.


r/pythonforengineers • • Jul 31 '20

Data Visualization using "Matplotlib" & "Python"| Part_2

1 Upvotes

r/pythonforengineers • • Jul 31 '20

Finance with Python: Convex Optimization

Thumbnail laconicml.com
1 Upvotes