Software Development Notes
Home
Swift
Python
About
Software Development Notes
  • Extract data from JSON in Pandas Dataframe

    Jul 24, 2022 · 8 min read · pandas dataframe json python  ·
    Share on:
    Extract data from JSON in Pandas Dataframe

    Data stored in a csv file can often contain JSON objects in one of the fields. The csv data can easily be loaded into a Pandas Dataframe for analysis. Fields of interest in the JSON object can also be extracted into their own column easily using Dataframe.Apply.

    Read More
  • Countries with highest deaths from covid

    Dec 18, 2021 · 14 min read · python plotly covid-19  ·
    Share on:
    Countries with highest deaths from covid

    A lot of time was spent in 2020 looking at daily covid numbers, which was getting overwhelming. Having taken a break for a while, this article combines covid data and vaccination data with population data to present a view of the countries with the highest deaths from Covid-19 and the vaccination status in the country.

    Read More
  • How to filter a Pandas DataFrame

    Nov 7, 2021 · 10 min read · pandas dataframe filter python  ·
    Share on:
    How to filter a Pandas DataFrame

    There is a filter method on Pandas DataFrame, but it is limited to only filtering on the labels on the index columns. There are multiple ways to filter a DataFrame to focus on the information required. This article demonstrates a number of ways to filter data in a DataFrame.

    Read More
  • Create interactive chart with matplotlib and ipywidgets

    Apr 18, 2021 · 7 min read · ipywidgets python matplotlib  ·
    Share on:
    Create interactive chart with matplotlib and ipywidgets

    ipywidgets are interactive HTML elements that can be used in Jupyter Notebooks to interact with outputs such as tables and charts. This article briefly introduces ipywidgets and uses them to change the rolling day period in a chart for the rolling average of deaths from covid-19.

    Read More
  • Three Dimensional Shapes and Shading

    Jan 24, 2021 · 12 min read · python vector 3D shading cross product mathplotlib  ·
    Share on:
    Three Dimensional Shapes and Shading

    Three dimensional objects are not easy to represent on a 2D surface such as a page or screen. In this article, inspired by chapter 3 of Math for Programmers book, we look at the cross product of two 3D-vectors and representing the surface of any 3D object as a collection of triangles. The cross product can be used to …

    Read More
  • Speed up image file transfer by zipping

    Jan 17, 2021 · 9 min read · python speed  ·
    Share on:
    Speed up image file transfer by zipping

    Compressing multiple files into one archive file allows for faster files transfer. Image files in the form of jpg are already compressed and compressing them into zip files does not significantly reduce the file size further. However, it does reduce the number files to one archive file and this makes file transfer …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Eric Callanan

Lifelong learner, Software Engineering Manager, Passionate, Curious
Read More

Recent Posts

  • Can ChatGPT create an iOS app in SwiftUI - part 1
  • How to cancel a background task in Swift
  • Use async let to run background tasks in parallel in Swift
  • ArraySlice with range operator and Prefix in Swift
  • Add horizontal scroll to charts with SwiftUI Charts in iOS 16
  • NavigationSplitView with Employee and Department models
  • Define colors with Hue, Saturation and Brightness rather than Red, Green and Blue properties
  • Display top section of Bar Charts with Swift Charts

Tags

SWIFTUI 69 PYTHON 28 SWIFT 13 PANDAS 12 PATH 12 BAR-CHART 10 MVVM 8 MATPLOTLIB 7 PLOTLY 7 ANIMATION 6 CANVAS 6 CHART 6 COVID-19 5 SHAPE 5
All Tags
2D2 3D2 ACTIVITY-RING1 ADDCURVE1 AI1 ALGORITHM1 ANGULARGRADIENT1 ANIMATABLEDATA4 ANIMATION6 AREA-CHART1 ARRAY1 ARRAYSLICE1 ASYNC3 ASYNC-LET1 AWAIT3 AXIS2 BAR-CHART10 BUTTON1 BUTTONSTYLE1 CANCEL1 CANVAS6 CARD1 CHART6 CHATGPT1 CIRCLE1 COLOR1 COMPACTMAP1 CONCAT1 COVID2 COVID-195 CROSS-PRODUCT1 DATAFRAME3 DEPENDENCY-INJECTION1 DI1 DICTIONARY1 DIVISION1 DOT-PRODUCT1 ENUMERATE1 FIBONACCI1 FILE1 FILTER1 FLATMAP1 FLIP1 FLOOR1 FOREACH1 FORM1 GEOMETRYREADER1 GEOPANDAS1 GEOPLOT1 HSTACK1 ILOC1 IMAGE2 INDEX1 IPYWIDGETS1 ITERATE1 JSON2 JSONDECODER1 LINE-CHART4 LIST1 LOC1 LOOP1 MACOS1 MAP1 MAPVALUES1 MATHPLOTLIB4 MATPLOTLIB7 MATTHEW1 MINIMAX3 MODAL1 MONTY-HALL3 MVVM8 NAVIGATION2 NAVIGATIONSPLITVIEW1 NSSAVEPANEL1 PALETTE1 PANDAS12 PATH12 PERFORMANCE2 PHOTO1 PIE-CHART1 PLOTLY7 POLYGON1 PREFIX1 PROBABILITY3 PROGRESS1 PROGRESSVIEW1 PUZZLE1 PYTHON28 QR-CODE1 RECURSION1 REDUCE1 ROMAN-NUMERALS1 SCROLL1 SHADING1 SHAPE5 SLIDER2 SPEED1 STAR3 STYLE1 SWIFT13 SWIFTLINT1 SWIFTUI69 TABULAR-DATA1 TABVIEW1 TASK3 TDD4 TEXT2 TIC-TAC-TOE5 TIMELINEVIEW4 TIMING1 UI-TESTING1 UNIT-TEST1 UNIT-TESTING1 USERDEFAULTS1 VECTOR4 VECTORARITHMETIC4 VSTACK1 WHEEL1 WHERE1 ZIP1 ZSTACK1
[A~Z][0~9]