Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Keep inner Values of 2D array
Post: Keep inner Values of 2D array

Hi I have a tiff with lakes, which I converted into a 2D array. I would like to keep the outline of the lakes in a 2D array. import rasterio import numpy as np with rasterio.open('myfile.tif') as dt...
timste Data Science 0 897 Jul-26-2021, 09:04 AM
    Thread: 3D-Piechart
Post: RE: 3D-Piechart

(Jul-04-2021, 11:12 AM)snippsat Wrote: If i do a quick test Notebook Doc for pandas pandas.DataFrame.plot.pie. For more examples look at The Python Graph Gallery Data Viz Libraries Compared Pie Ch...
timste Data Science 3 1,669 Jul-04-2021, 02:30 PM
    Thread: 3D-Piechart
Post: 3D-Piechart

Hi I struggle finding good informations about 3D-piecharts online **dodgy** . So I wanted to ask you how I create three (one for each row) 3D-piecharts out of this dataframe. The depth/height of th...
timste Data Science 3 1,669 Jul-04-2021, 09:57 AM
    Thread: Add column based on others
Post: RE: Add column based on others

Hi there Thank you for your idea! I recently sorted the problem using a for-loop with a empty id column and if current_id == old_id then id = id + 1 and using iloc for the transformation. Your idea...
timste Data Science 8 2,595 Apr-01-2021, 09:49 AM
    Thread: Add column based on others
Post: RE: Add column based on others

Hi Eddie Thank you for your reply. Unfortunately my real dataframe contains 3600 rows. Here a brief look: ObjectID Vol_Min Vol_Max Vol_Range Vol_Mean Vol_Std \ 0 1 ...
timste Data Science 8 2,595 Mar-27-2021, 09:52 PM
    Thread: Add column based on others
Post: Add column based on others

Hi there, This is a dataframe with glacial lakes and their volume: data = {'Volume': ['50', '100', '100', '90', '60', '200', '150', '80', '70'], 'GlacierID': ['a', 'a', 'b', 'b', 'c', 'd', ...
timste Data Science 8 2,595 Mar-27-2021, 10:52 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020