absfuyu.extra.da package
Absfuyu: Data Analysis
Data Analyst
Version: 5.1.0 Date updated: 10/03/2025 (dd/mm/yyyy)
- class absfuyu.extra.da.MatplotlibFormatString[source]
Bases:
BaseClass
Matplotlib format string
Available format: -
<marker><line><color>
-<color><marker><line>
- MARKER_DATA: ClassVar[dict[str, str]] = {'*': 'star marker', '+': 'plus marker', ',': 'pixel marker', '.': 'point marker', '1': 'tri_down marker', '2': 'tri_up marker', '3': 'tri_left marker', '4': 'tri_right marker', '8': 'octagon marker', '<': 'triangle_left marker', '>': 'triangle_right marker', 'D': 'diamond marker', 'H': 'hexagon2 marker', 'P': 'plus (filled) marker', 'X': 'x (filled) marker', '^': 'triangle_up marker', '_': 'hline marker', 'd': 'thin_diamond marker', 'h': 'hexagon1 marker', 'o': 'circle marker', 'p': 'pentagon marker', 's': 'square marker', 'v': 'triangle_down marker', 'x': 'x marker', '|': 'vline marker'}
- LINE_STYLE_DATA: ClassVar[dict[str, str]] = {'-': 'solid line style', '--': 'dashed line style', '-.': 'dash-dot line style', ':': 'dotted line style'}
- COLOR_DATA: ClassVar[dict[str, str]] = {'b': 'blue', 'c': 'cyan', 'g': 'green', 'k': 'black', 'm': 'magenta', 'r': 'red', 'w': 'white', 'y': 'yellow'}
- class absfuyu.extra.da.DADF(data=None, index: Axes | None = None, columns: Axes | None = None, dtype: Dtype | None = None, copy: bool | None = None)[source]
Bases:
ShowAllMethodsMixin
,DataAnalystDataFrameCityMixin
,DataAnalystDataFrameDateMixin
,DataAnalystDataFrameOtherMixin
,DataAnalystDataFrameNAMixin
,DataAnalystDataFrameInfoMixin
,DataAnalystDataFrameRowMethodMixin
,DataAnalystDataFrameColumnMethodMixin
Data Analyst
pd.DataFrame
For a list of extra methods: >>> print(DADF.DADF_METHODS)
- classmethod dadf_help() list[str] [source]
Show all available method of DataAnalystDataFrame
Added in version 3.2.0
Deprecated in version 5.1.0
- classmethod sample_df(size: int = 100) Self [source]
Create sample DataFrame
- Parameters:
size (int) – Number of observations, by default
100
- Returns:
DataFrame with these columns: [number, number_big, number_range, missing_value, text, date]
- Return type:
Self
Example:
>>> DataAnalystDataFrame.sample_df() number number_big number_range missing_value text date 0 -2.089770 785 700 NaN vwnlqoql 2013-11-20 1 -0.526689 182 100 24.0 prjjcvqc 2007-04-13 2 -1.596514 909 900 8.0 cbcpzlac 2023-05-24 3 2.982191 989 900 21.0 ivwqwuvd 2022-04-28 4 1.687803 878 800 NaN aajtncum 2005-10-05 .. ... ... ... ... ... ... 95 -1.295145 968 900 16.0 mgqunkhi 2016-04-12 96 1.296795 255 200 NaN lwvytego 2014-05-10 97 1.440746 297 200 5.0 lqsoykun 2010-04-03 98 0.327702 845 800 NaN leadkvsy 2005-08-05 99 0.556720 981 900 36.0 bozmxixy 2004-02-22 [100 rows x 6 columns]
Submodules
- absfuyu.extra.da.dadf module
- absfuyu.extra.da.dadf_base module
- absfuyu.extra.da.df_func module
- absfuyu.extra.da.mplt module