Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Oct 30, 2024
1 parent d37cfc8 commit 90e4d48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benfordslaw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = 'Erdogan Tasksen'
__email__ = 'erdogant@gmail.com'
__version__ = '2.0.0'
__version__ = '2.0.1'

# module level doc-string
__doc__ = """
Expand All @@ -17,17 +17,17 @@
-------
>>> # Import library
>>> from benfordslaw import benfordslaw
>>> #
>>> #
>>> # Initialize
>>> bl = benfordslaw()
>>> #
>>> #
>>> df = bl.import_example()
>>> # Get data for one candidate
>>> X = df['votes'].loc[df['candidate']=='Donald Trump'].values
>>> #
>>> #
>>> # Fit
>>> results = bl.fit(X)
>>> #
>>> #
>>> # Figure
>>> fig, ax = bl.plot()
Expand Down

0 comments on commit 90e4d48

Please sign in to comment.